PS C:\Users\josef> cd \
PS C:\> cd tmp
PS C:\tmp> $now = get-date ; Get-ChildItem c:\PC_SAVE -Recurse -File `| select directory,name,fullname,length,@{name=“Age“;Expression={[int]($now – $_.LastWriteTime).totaldays}}` | export-csv -NoTypeInformation -Encoding unicode .\dir.csv
PS C:\tmp>
This entry was posted on Freitag, Dezember 27th, 2024 at 20:38 and is filed under Administration, Power BI. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.