From 4a60841c96752354d4de56feecfd037b3cca11ee Mon Sep 17 00:00:00 2001 From: capntack Date: Fri, 7 Apr 2023 23:44:28 -0500 Subject: [PATCH] Clarified command titles --- ps-commands.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ps-commands.md b/ps-commands.md index dea2247..fd8061b 100644 --- a/ps-commands.md +++ b/ps-commands.md @@ -2,7 +2,7 @@ Note: unless otherwise stated, replace any variable such as `$ComputerName` with the appropriate data. -### Fetch (some) Installed Programs +### Remotely Fetch a (Partial) Installed Program List for $ComputerName ```powershell Get-WmiObject win32_product -ComputerName $ComputerName | select Name, version @@ -18,7 +18,7 @@ Get-ADGroup -Filter 'name -like "*$SearchTerm*"' | Sort-Object | select Name
-### Fetch Boot Time +### Remotely Fetch $ComputerName's Boot Time ```powershell Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName $ComputerName | slect csname, lastbootuptime @@ -26,7 +26,7 @@ Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName $ComputerName | s
-### Fetch Computer Group Membership +### Fetch $ComputerName's Group Membership ```powershell Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object name @@ -34,7 +34,7 @@ Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object na
-### Fetch User Group Membership +### Fetch $Username's Group Membership ```powershell Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name