I want to fill the notes of Active Directory Groups. I looked Microsoft Docs and I wrote the this code;
Set-ADGroup -Identity "CN=XXX,OU=XXX,DC=XXX,DC=local" -Info "HELLO"
But,there is an error and the Microsoft Docs tell us that Notes is equals to Info Attributes in AD. Please help me :)
Try this:
Set-ADGroup -Identity "CN=XXX,OU=XXX,DC=XXX,DC=local" -Replace @{info="HELLO"}
-Info does not work here because it matches to common parameters.