r/scripting • u/JimmyRecard51 • Jun 26 '18
Copying information between Active Directory tabs with Powershell
Hey guys. What I'm looking for may or may not be simple, but I can't seem to find exactly what I'm looking for with Google searches.
Basically I'm looking to copy every group from the 'Member of' tab and paste it into the Notes section of the Telephone tab. We do this when disabling our users in case we need to find the info again. Currently it's a manual process and it would save us a lot of time with a script.
Let me know if any more information is needed, as I'm a total rookie here and may have missed some details. Any help would be big time appreciated!
View all comments
Show parent comment
2
u/JimmyRecard51 Jun 27 '18
I removed the $ before memberof and got "memberof : The term 'memberof' is not recognized as the name of a cmdlet, function, script file, or operable program."
I may need this explained like I'm 5. Still unsure what I'm doing wrong.