Monday, August 1, 2011

Udpate Comptuer Description–PowerShell Script

Purpose - To update the computer description (description attribute) in Active Directory. – PowerShell V2 Script. 

Input File – Input file (Computers.csv) contains Computer Name and Description. 




I have also uploaded this script to Microsoft TechNet Gallery -

More scripts -


Thank you very much Santhosh!

Just cant seem to sort my network Certificates & Permissions...Help pls

getting below error
--Set-ADComputer : Cannot validate argument on parameter 'Identity'. The
argument is null. Provide a valid value for the argument, and then try running
the command again.
At line:1 char:16
+ Set-ADComputer $Computer -Description $Desc
+ ~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Set-ADComputer], ParameterBind
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Activ

im getting the following error:

Set-ADComputer : Insufficient access rights to perform the operation
At D:\Tools\CheckComputerDescription\CompDesc3.ps1:5 char:1
+ Set-ADComputer $Computer -Description $Desc
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (USCHEZWIMO2071:ADComputer) [Set-ADComputer], ADException
+ FullyQualifiedErrorId : ActiveDirectoryServer:8344,Microsoft.ActiveDirectory.Management.Commands.SetADComputer

Thanks Sir,
Perfectly working

Insufficient access rights to perform the operation
do you know why I would see this error?
it worked the first time..

CN=Active Directory ARS
Set-ADComputer : Insufficient access rights to perform the operation
At C:\FTR\NewComputerFromCSV.ps1:14 char:1
+ Set-ADComputer $Computer -Description $Desc
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

did you figure out why you received this message?

I was very happy to find this site. I really enjoyed reading this article today and think it might be one of the best articles I have read so far. I wanted to thank you for this excellent reading !! I really enjoy every part and have bookmarked you to see the new things you post. Well done for this excellent article. Please keep this work of the same quality.
Data Science Course in Bangalore

Thank a lot. You have done excellent job. I enjoyed your blog . Nice efforts
Cyber Security Course in Bangalore

Nice Blog and i would like to thank for the efforts you have made in writing this post, hoping the same best work from you in the future as well. Thanks for sharing. Great websites!
Tableau Training in Bangalore

Such a very useful article and very interesting to read this article, i would like to thank you for the efforts you had made for writing this awesome article. Thank you!
Python Training in Bangalore

Post a Comment

Popular Posts


Twitter Delicious Facebook Digg Stumbleupon Favorites More