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.
|
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
|
```powershell
|
||||||
Get-WmiObject win32_product -ComputerName $ComputerName | select Name, version
|
Get-WmiObject win32_product -ComputerName $ComputerName | select Name, version
|
||||||
|
@ -18,7 +18,7 @@ Get-ADGroup -Filter 'name -like "*$SearchTerm*"' | Sort-Object | select Name
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### Fetch Boot Time
|
### Remotely Fetch $ComputerName's Boot Time
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName $ComputerName | slect csname, lastbootuptime
|
Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName $ComputerName | slect csname, lastbootuptime
|
||||||
|
@ -26,7 +26,7 @@ Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName $ComputerName | s
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### Fetch Computer Group Membership
|
### Fetch $ComputerName's Group Membership
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object name
|
Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object name
|
||||||
|
@ -34,7 +34,7 @@ Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object na
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### Fetch User Group Membership
|
### Fetch $Username's Group Membership
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name
|
Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue