Hi Guyz,
I am getting these issues while having run that scripts is mention over there.
The Try statement is missing its Catch or Finally block.
At C:\Users\Administrator\Desktop\create_ad_users.ps1:31 char:7
+ {
+ ~
Missing closing '}' in statement block or type definition.
At C:\Users\Administrator\Desktop\create_ad_users.ps1:24 char:5
+ {
+ ~
Missing closing '}' in statement block or type definition.
At C:\Users\Administrator\Desktop\create_ad_users.ps1:22 char:40
+ Import-CSV $newpath | ForEach-Object {
+ ~
Missing closing '}' in statement block or type definition.
At C:\Users\Administrator\Desktop\create_ad_users.ps1:19 char:1
+ {
+ ~
Missing closing '}' in statement block or type definition.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : MissingCatchOrFinally
these issue am getting.Help me out of from this.
Thanxx