Garry Shape
asked on
Create list of distribution groups with incremental numbers
I'm looking to find a way to create distribution groups in Exchange Powershell and each group will end with a number up until 50.
The base group name will be "TestGroup" followed by 001, 002, 003 and so on until 050.
How could you do it in powershell to create the distribution group automatically with the numbering, without having to pre-type it out and import as a text/csv?
The base group name will be "TestGroup" followed by 001, 002, 003 and so on until 050.
How could you do it in powershell to create the distribution group automatically with the numbering, without having to pre-type it out and import as a text/csv?
New-DistributionGroup -Name "TestGroup001" -OrganizationalUnit "contoso.com/Users" -SamAccountName "TestGroup001" -Type "Distribution"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER