Manage AD computer account properties with PowerShell

Spread the words

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 *

Capture1

  • Add computer description

Use the Set-ADComputer Cmdlet to add a description to computer properties.

Set-ADComputer –Identity computer name –Description “description”

Capture2

Capture2bis

  • 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

Capture3

Capture3bis

  • Add location information

Use the Set-ADComputer Cmdlet to add location name to computer properties.

Set-ADComputer –Identity computer name –Location “location

Capture4

Capture4bis

Enjoy

Leave a comment

Your email address will not be published.


*