assistance to script to check windows services and local C drive diskspace. RRS feed

  • Question

  • Hello, 

    I need to include a PS startup script in my GPO to check if 2 windows servies are up and running.  Start the services if they are not running. 

    I also need to check if the C drive of the workstation is running low.  Pipe the diskspace result to a network drive \\server1\shared\diskspace-result.txt.

    Please advice how to do that in Powershell. 

    Many thanks. 

    Thursday, November 21, 2019 1:30 PM

All replies