Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Appending the computer description in AD

$
0
0

Hi all,

I'm new here, and not really a scripting person, I use PS scripts that usually have been created for me or I can find online. This one really has me baffled, I'm trying to append the computer description with the following script, but it just keeps over writing it.

Get-ADComputer Joet -Properties Description | Set-ADComputer -Description {$_.Description + "help"}

 

It over writes the description with everything inside of the brackets.....any help would be appreciated.

Thanks!


Viewing all articles
Browse latest Browse all 6937

Trending Articles