Find files on all workstations with powershell

 

You can find files on all workstations with powershell with a short code.

First make a list off computernames and put them into a variable

Next use Invoke-Command to send the Get-ChildItem to those computers.

Notice that I create a new table entry for the computername in this line. It uses the computername environment variable:

Leave a Reply

Your email address will not be published. Required fields are marked *