Skip to content

Commit 229e1d1

Browse files
authored
Fixed layout issue
1 parent eeb5ba6 commit 229e1d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ When using NoPowerShell from cmd.exe or PowerShell, you need to escape the pipe
5353
| List processes on remote host | `Get-Process -ComputerName dc01.corp.local -Username Administrator -Password P4ssw0rd!` | |
5454
| Gracefully stop processes | `Stop-Process -Id 4512,7241` | |
5555
| Kill process | `Stop-Process -Force -Id 4512` | |
56-
| Kill all cmd.exe processes | `Get-Process cmd | Stop-Process -Force` | |
56+
| Kill all cmd.exe processes | `Get-Process cmd \| Stop-Process -Force` | |
5757
| Obtain data of Win32_Process class from a remote system and apply a filter on the output | `gwmi "Select ProcessId,Name,CommandLine From Win32_Process" -ComputerName dc01.corp.local \| ? Name -Like *PowerShell* \| select ProcessId,CommandLine` | Explicit credentials can be specified using the `-Username` and `-Password` parameters |
5858
| View details about a certain service | `Get-WmiObject -Class Win32_Service -Filter "Name = 'WinRM'"` | |
5959
| Launch process using WMI | `Invoke-WmiMethod -Class Win32_Process -Name Create "cmd /c calc.exe"` | This can also be done on a remote system |

0 commit comments

Comments
 (0)