advertisingtama.blogg.se

Powershell export to txt
Powershell export to txt










powershell export to txt powershell export to txt

I have tried piping | Out-File C:\temp\folderinfo.txt but dont know where to put it really as I've not been able to get it to populate with the same output that's on the screen The issue I now have is I need to get the info that is displayed on screen into a txt file. $colItems = Get-ChildItem $startFolder | Where-Object " -f ($subFolderItems.sum / 1MB) + " MB" I really don't know what I am doing and just messed around cutting and pasting from various forms. I have cobbled together the following commands that have given me the info I need. I have been asked to gather info on certain files for work (only so many layers deep an with sizes, dates).












Powershell export to txt