Skip to content

Commit 1c8dd89

Browse files
committed
Update Set-RemotePSRemoting.ps1
1 parent 4568a0d commit 1c8dd89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Backdoors/Set-RemotePSRemoting.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ PS C:\> Set-RemotePSRemoting -UserName labuser –Verbose
3333
Use the above command to add permissions on the local machine for labuser to access PowerShell remoting.
3434
3535
.EXAMPLE
36-
PS C:\> Set-RemoteWMI -UserName labuser -ComputerName targetserver -Credential admin
36+
PS C:\> Set-RemotePSRemoting -UserName labuser -ComputerName targetserver -Credential admin
3737
Use the above command to add permissions on the remote machine for labuser to access PowerShell remoting.
3838
3939
.EXAMPLE
40-
PS C:\> Set-RemoteWMI -UserName labuser -ComputerName targetserver -Credential admin -Remove
40+
PS C:\> Set-RemotePSRemoting -UserName labuser -ComputerName targetserver -Credential admin -Remove
4141
Remove the permissions added for labuser from the remote machine.
4242
4343

0 commit comments

Comments
 (0)