commands detail - s
start-sleep -milliseconds 250
…will sleep for 3 seconds
get-process | sort-object VirtualMemorySize
Note: this only works as far I can see if you sort it first
This isn’t really a Powershell equivalent of a unix command, but in case it’s useful, to call Sqlserver’s implementation of the sql command line from Powershell you can use invoke-sqlcmd