Could you tell me please how to make hybrid shutdown state (S4) for a remote computer (Windows 8.1) using PowerShell?
There is the cmd command
shutdown.exe /s /hybrid /m \compname
but it puts the remote computer into S5 (off state) instead of expected S4 (hybrid shutdown state).
There is PowerState Enumeration (https://msdn.microsoft.com/ru-ru/library/system.windows.forms.powerstate(v=vs.110).aspx?cs-save-lang=1&cs-lang=csharp&f=255&MSPPError=-2147217396#code-snippet-1) but it refers to only two states: hibernate and suspend. But hibernation is not what I need. I need hybrid shutdown that combines hibernation and shutting down.