That command definately gets me closer to my goal. But not all the way.
The local administrators group on my filer includes the local administrator account. But it also includes about 6 accounts from the 2008 R2 AD domain that the filer is assoicated with.
Running the command you suggest only displays the local administrator in the results. It does not display any information about the 6 domain accounts that are also in the local administrators group on my filer.
And before you ask the quesiton, I can confirm that my filer sees my domain just fine. cifs testdc and cifs lookup give solid results for the accounts that should be showing up in this query..
Re: How does one query for the membership of the builtin\administrators group using Powershell?