All PowerShell versions
Here is a simple system call that will hibernate a system (provided of course that hibernation is enabled):
function Start-Hibernation { rundll32.exe PowrProf.dll, SetSuspendState 0,1,0 }
Note that this call is case-sensitive!