Search for the users folder "My Documents" on the network file server.
Hi folks,
here is a file server on which the is user folders according the departments. Departments folder are at the root of drive C: for example c: \ Marketing, c: \ finance.I need a script checks for the folder "My Documents" for each user and displays a table of the results by departments. I tried to use the command Test-path but without success.