質問者
can anyone help me in powershell script for renaming bulk amount of Distribution group & sync that in cloud using AD Connect tool.

質問
-
I have to write a script in power shell for renaming a bulk amount of distribution group in active directory & using AD Connect tool to sync that on cloud. i am new to power shell ...Also i am working in active Directory not in Exchange server....So, Please Can anyone please help me in this..
すべての返信
-
Please carefully review the following links to set your expectation for posting in technical forums.
This Forum is for Scripting Questions Rather than script requests
Microsoft Virtual Academy - Getting Started with Microsoft PowerShell
\_(ツ)_/
-
Here is a first step. Learn hw AD and its CmdLets work.
Start here for AD: https://docs.microsoft.com/en-us/powershell/module/addsadministration/?view=win10-ps
To learn how to use Azure then post in the Azure scripting forum.
You can also look in the Gallery for scripts that manage AD and Azure.
\_(ツ)_/
-
So sorry, but my intention was to asking for guidelines, or steps how i can do this...like i have exported the distribution group from active directory in excel sheet .......but now i am not getting how i can rename those and update to exchange online......so, any one please give so idea on this..
-
You would use "Rename-AdObject".
Please take the time to learn PowerShell. Giving you personal instructions are beyond the scope of this forum.
Since you are someone=ne who is not a trained computer professional I can recommend contacting a consultant to help you with this.
You can also read the links posted above to get an idea of ho to ask a technical question. The links also are for a forum for script requests.
\_(ツ)_/
- 回答の候補に設定 LeeSeenLiMicrosoft contingent staff, Moderator 2019年5月24日 7:22
-
Hi,
Thanks for your question.
This topic has been discussed in the previous post.
If you want to bulk rename ad distribution group, you can try to save the groups samaccountname/DN in the CSV file and then import the csv file and foreach loop to bulk rename the groups.
Try to refer the help file of "import-csv" and "foreach-object" cmdlets:
I think you can find many powershell example on the Internet.
Best regards,
Lee
Just do it.