PowerShell zgodne komande

1. Kako videti kada je sve server/radna stanica restartovan :
PS C:\Users\veldaebel> Get-EventLog System | Where-Object {$_.EventID -eq “1074” -or $_.EventID -eq “6008” -or $_.EventID -eq “1076”} | ft Machinename, TimeWritten, UserName, EventID, Message -AutoSize -Wrap
MachineName TimeWritten UserName EventID Message
———– ———– ——– ——- ——-
VELDA123 05.12.2018 12:44:00 PM 6008 The previous system shutdown at 12:13:42 PM on ‎12/‎5/‎2018 was unexpected.
…..
2.

Comments are closed.