This project is read-only.

Get-Account

Get-Account([string]$sid, [string]$domain, [string]$username)
This function gets an account information.

Parameters
only SID, or domain and user name should be inputted.
Name Necessary Summary
sid No SID string.(SDDL)
domain No domain string.
username No username string.


Returns
an instance which is SID or NTAccount.

ex)
# parameter error
Get-Account;

# get with SID
Get-Account -sid s-1-5-18;

# get with the domain name and the user name
Get-Account -domain $env:USERDOMAIN -username $env:USERNAME;

Last edited Mar 2, 2013 at 12:20 PM by Tom__S, version 3

Comments

No comments yet.