Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Powershell Script not producing expected results

$
0
0

I am running a script from the repository that is designed to add AD Subnets from a CSV file. The script can be found here. When I run the script, I have done the following:

1. Set execution-policy to Unrestricted

2. Launched powershell as Administrator

What's happening is that when I run the script, I am getting an error that reads, "Created but not verified Subnet: w.x.y.z/30" When I look in Active Directory Sites and Services, I don't see the new subnets.

The CSV file looks like this:

subnetnamesitenamesubnetlocationsubnetdescription  
10.1.1.12/30SiteA"Location One"
10.1.1.16/30SiteB"Location Two"
10.1.1.24/30SitceC

"Location Three

As you can see, I don't have any information for subnetlocations. Each of those headings is in a separate columns.

If anyone can provide any assistance it would be greatly appreciated.


Michael Bell, Forum Moderator, MCT, MCSA, MCSE


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>