This project is read-only.

Set-ComputerDescription.ps1

Rating: No reviews yet
Downloads: 21
Released: Jun 4, 2016
Updated: Jun 4, 2016 by vremenar
Dev status: Stable Help Icon

Recommended Download

Source Code Set-ComputerDescription.ps1
source code, 5K, uploaded Jun 4, 2016 - 21 downloads

Release Notes

This cmdlet will set the description on computers objects in Active Directory containing Name and Office of the last logged on user on that computer. It does this in the following order:
  • get all computers for defied OU in Active Directory
  • try to get last logged on user from Win32_CoputerSystem WMI class
  • find a user in Active Directory
  • set computer description with user's name and physicalDeliveryOfficeName attributes

Reviews for this release

No reviews yet for this release.