Microsoft Virtualization Discussions

Get-nauser root

JGPSHNTAP
3,152 Views

I'm just curious as to why this isn't returning anything.  ..

I'm using 2.1

3 REPLIES 3

bsti
3,152 Views

My guess is it's a limitation of the API due to security.  This is in the description of the cmdlet:

If you run help get-nauser, you get this:

DESCRIPTION

    Lists information for all administrative users on the system with the exception of root and snmp.

bsti
3,152 Views

Also, a possible alternative:

Invoke-NaSsh "useradmin user list root"

JGPSHNTAP
3,152 Views

Yah .. i saw the man pages.. I was just curious...

Public