Clarified command titles
This commit is contained in:
parent
ed71a2e416
commit
4a60841c96
1 changed files with 4 additions and 4 deletions
|
@ -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
|
|||
|
||||
<br>
|
||||
|
||||
### 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
|
|||
|
||||
<br>
|
||||
|
||||
### 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
|
|||
|
||||
<br>
|
||||
|
||||
### Fetch User Group Membership
|
||||
### Fetch $Username's Group Membership
|
||||
|
||||
```powershell
|
||||
Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue