Here are some of the actions you have to do it in Active Directory with a computer account properties.
- Get computer account properties.
Use the Get-ADComputer Cmdlet to get a complete list of a computer account’s properties.
Get-ADComputer “computer name” –Properties *
- Add computer description
Use the Set-ADComputer Cmdlet to add a description to computer properties.
Set-ADComputer –Identity computer name –Description “description”
- Get operating system information
Use Get-ADComputer cmdlet to get operating system information from the computer properties.
Get-ADComputer “computer name” –Properties * | Format-Table OperatingSystem,OperatingSystemVersion,OperatingSystemServicePack
- Add location information
Use the Set-ADComputer Cmdlet to add location name to computer properties.
Set-ADComputer –Identity computer name –Location “location”
Enjoy
Leave a comment