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/Ta11ow Jun 28 '18
Yep. The way I put it originally has PS store it in a variable you can use later.
There're definitely some similarities between cmd and PS, but PS is a lot more flexible because it deals in objects and data types -- command prompt is all strings.