Sometimes we need to know when was the last time that a server was rebooted, you can get this information with the follow cmdlet:
Get-CimInstance using the class win32_operatingsystem in this case I only want to know the server name and everything related to the boot.
please leave a comment