Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell script to detect when PC is turned on & Connected to domain

$
0
0

Hi

Wonder if anyone can advise.

I would like to run a powershell script (Say every 30 mins) that will check if a Windows PC (Notebook) is connected to the domain and email me an alert with the PC name stating that it is connected. I will take the PC names to monitor from a CSV file so I can easily update the list as required.  It should not email me if the PC is not connected.

The notebooks are typically used standalone by community workers so can go for several weeks without being connected.  I would like to use this to capture a connection so I can facilitate updates etc.

Any help on how to write the PS Script appreciated.

Will

 


Viewing all articles
Browse latest Browse all 21975

Trending Articles