I am trying to write a simple Powershell script which I can run to query the environment and look for the presence of a directory
Here is what I am looking for as as example:
$env:COMPUTERNAME ; Test-Path c:\users ;get-date
I would like all results display on the powershell console and append to a file the with each workstation result listed on one line each