Absolution84
Technical User
Hi everyone,
I am new on this forum and also to powershell.
I have a question which I cannot seem to find an answer for elsewhere on the web.
If I have a csv file which looks like.....
objectClass sAMAccountName DN
group Customer Services CN=Customer Services,OU=User Groups,dc=example,dc=co,dc=uk
group Finance CN=Finance,OU=User Groups,dc=example,dc=co,dc=uk
group Finance Managers CN=Finance Managers,OU=User Groups,dc=example,dc=co,dc=uk
group Sales CN=Sales,OU=User Groups,dc=example,dc=co,dc=uk
How do import groups using the revelant information i.e. sAMAccountName,DN?
I dont know many of the ins and outs of powershell import-csv so I'm a little stumped.
If someone could show me a a sample script or give some advice, I would really appreciate it.
Thank you in advance for any replies.
I am new on this forum and also to powershell.
I have a question which I cannot seem to find an answer for elsewhere on the web.
If I have a csv file which looks like.....
objectClass sAMAccountName DN
group Customer Services CN=Customer Services,OU=User Groups,dc=example,dc=co,dc=uk
group Finance CN=Finance,OU=User Groups,dc=example,dc=co,dc=uk
group Finance Managers CN=Finance Managers,OU=User Groups,dc=example,dc=co,dc=uk
group Sales CN=Sales,OU=User Groups,dc=example,dc=co,dc=uk
How do import groups using the revelant information i.e. sAMAccountName,DN?
I dont know many of the ins and outs of powershell import-csv so I'm a little stumped.
If someone could show me a a sample script or give some advice, I would really appreciate it.
Thank you in advance for any replies.