Share via

Add bulk missing subnets by powershell script

Md. Rubiat Haque 156 Reputation points
2021-08-04T04:36:51.853+00:00

Hi, I am Rubiat.

Recently, I have been faced an issue. Some missing subnet was found my AD sites and subnet. The amount of missing subnet is approximately more than 150. So, It is too much tough to add these subnets manually in my sites and subnets. Anyone have any idea to do this job by powershell script with a simple csv format. If you know about it then please let me know. It is urgent for me.

Thank you
Md. Rubiat Haque

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
0 comments No comments

Answer accepted by question author

Andreas Baumgarten 132.1K Reputation points MVP Volunteer Moderator
2021-08-04T05:55:41.007+00:00

Hi @Md. Rubiat Haque ,

it's possible to add the subnets in AD by PowerShell. Maybe this helps to get started: https://lazywinadmin.com/2013/11/powershell-add-ad-site-subnet.html

----------

(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.