PowerTip: Run Remote Command in Disconnected Session

Summary: Use Windows PowerShell to run a remote command in a disconnected session.

Hey, Scripting Guy! Question How can I run a remote command in a disconnected session?

Hey, Scripting Guy! Answer Invoke-Command -ComputerName S1 -Scriptblock {<commands>} -InDisconnectedSession