Added make/model & serial # commands
This commit is contained in:
parent
d9afee123f
commit
fd0c66c0d5
1 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue