Hello everyone.
I have found, after some re-search, that you can’t send a message to a user, ex. why a computer is restarting or shutting down. After a bit more re-search, I found that Microsoft have stop Windows/services to be Interactive with a user (If i understand this currect–> http://msdn.microsoft.com/en-us/library/ms683502(VS.85).aspx), as in sent a message “Your computer is restarting in xxx sec”.
This you can do with
shutdown /c “restarting in xx”
in normal dos promp…
I like to know why I can’t get PowerShell to send a message like that.
I know there must be a reason for this, and i’m just looking to fint out what reason it. And if there is nother way…?
I know that you can give a user a popup, if you change something in the GPO, and you like the user to logout and in again… But can you do something like that with PS?
I hope that what I’m writing give meaning… If not, please ask what you don’t understand and I will try to be more clear about it.