cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AL13
Engaged Sweeper

I have a PowerShell script that shuts down all PCs within a specified time. The script consists of 2 scenarios;

1. A pop-up message to inform the user that the PC will be shut down in 10 minutes and allow a user to cancel the shutdown task if they click on the Cancel button. 

and 

2. The PC will auto-shutdown if no one is signed in.

Scenario 1 will work if I select "currently logged on" in the deployment. It doesn't work with other selections like "System account" or "Scanning credentials" as the pop-up did not appear. 

Scenario 2 will work if I select "System account" in the deployment.

I can't make the deployment work on both scenarios. Is there other way to achieve it? Thank you

 

0 REPLIES 0