From 1c8dd89fd45bd6471eb9dd8579bd712b33aaa30b Mon Sep 17 00:00:00 2001 From: "Nikhil \"SamratAshok\" Mittal" Date: Fri, 5 Apr 2019 15:23:02 +0530 Subject: [PATCH] Update Set-RemotePSRemoting.ps1 --- Backdoors/Set-RemotePSRemoting.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Backdoors/Set-RemotePSRemoting.ps1 b/Backdoors/Set-RemotePSRemoting.ps1 index e4969c9..b12ca72 100644 --- a/Backdoors/Set-RemotePSRemoting.ps1 +++ b/Backdoors/Set-RemotePSRemoting.ps1 @@ -33,11 +33,11 @@ PS C:\> Set-RemotePSRemoting -UserName labuser –Verbose Use the above command to add permissions on the local machine for labuser to access PowerShell remoting. .EXAMPLE -PS C:\> Set-RemoteWMI -UserName labuser -ComputerName targetserver -Credential admin +PS C:\> Set-RemotePSRemoting -UserName labuser -ComputerName targetserver -Credential admin Use the above command to add permissions on the remote machine for labuser to access PowerShell remoting. .EXAMPLE -PS C:\> Set-RemoteWMI -UserName labuser -ComputerName targetserver -Credential admin -Remove +PS C:\> Set-RemotePSRemoting -UserName labuser -ComputerName targetserver -Credential admin -Remove Remove the permissions added for labuser from the remote machine.