|
|
|
@ -50,4 +50,18 @@ Get-ADPrincipalGroupMembership (Get-ADComputer $ComputerName) | select-object na
|
|
|
|
|
Get-ADPrincipalGroupMembership (Get-ADUser $Username) | select-object name
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
### Fetch $ComputerName's Make & Model
|
|
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
|
Get-CimInstance -ComputerName $ComputerName -ClassName Win32_ComputerSystem | Select-Object -Property Manufacturer, Model
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
### Fetch $ComputerName's Serial Number
|
|
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
|
Get-CimInstance -ComputerName $ComputerName -ClassName Win32_bios | Select-Object -Property SerialNumber
|
|
|
|
|
```
|