Stop/Start Service:
PS> $svc = Get-Service -Name wuauserv -ComputerName Server1
PS> Stop-Service -InputObject $svc
PS> $svc = Get-Service -Name wuauserv -ComputerName Server1
PS> Stop-Service -InputObject $svc
Kill/End task Process:
- Trust Host
http://technico.qnownow.com/the-winrm-client-cannot-process-the-request-if-the-authentication-scheme-is-different/
- PS C:\> invoke-command -computer nsc-2k3-2 { get-process calc | stop-process -force}
Post a Comment
Post a Comment