To find all files and folders with ‘excel’ within their name :
Get-ChildItem -filter "*excel*" -Recurse | select name, fullname, lastwritetime,PSIsContainer | Out-GridView
To find all files and folders with ‘excel’ within their name :
Get-ChildItem -filter "*excel*" -Recurse | select name, fullname, lastwritetime,PSIsContainer | Out-GridView
Frenquently asked questions about everyday real problems in PowerShell
2 comments:
Out-GridView does not work in remote sessions.
When you say 'remote session', do you mean Remote Powershell (WInRM) ?
If yes, you should get the resulting object locally (from WinRM) then call out-gridview.
Post a Comment