October 7, 2013 at 12:37 am
Comments posted to this topic are about the item SQL Powershell Script to get the list of Server's Local Admins
October 21, 2013 at 12:28 pm
You have a typo. Should be > $null
October 21, 2013 at 1:05 pm
I get
...
Unexpected token '}' in expression or statement.
At C:\ListOfLocalAdmins.ps1:3 char:69
+ $admins = $admins |? {$_.groupcomponent â?"like '*"Administrators"'} <<<<
+ CategoryInfo : ParserError: (}:String) [], ParseException
+ FullyQualifiedErrorId : UnexpectedToken
October 21, 2013 at 1:14 pm
No Typo..
It runs fine with both options $nul or $null
October 21, 2013 at 1:18 pm
Hi, Please check your permissions on server.
March 3, 2015 at 6:53 am
What license goes with the script?
April 27, 2016 at 2:04 pm
Thanks for the script Raushan.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply