← Learn
Safe
Invoke-Command -ComputerName web01.example.com -ScriptBlock { Get-Service W3SVC } -Credential $cred

windows · powershell · Expert

Runs a read-only query on one named host over WinRM with explicit credentials. Remoting is not the risk; what the script block does on the…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Networking