Get-LocalUserFlags

Get-LocalUserFlags([string]$computername, [parameter(mandatory=$true)][string]$user)
This function gets the flags of the user with ADSI.

Parameters
Name Necessary Summary
computername No target computer. If it's not inputted, the target will be the local computer.
user Yes local user.


Returns
an object that has the properties of the flags.

ex)
Get-LocalUserFlags -user TestUser;

# for remote operation
Get-LocalUserFlags -computername $env:computername -user TestUser;

Last edited Mar 2, 2013 at 11:22 AM by Tom__S, version 3

Comments

No comments yet.