< Back

Get-LoggedOnUser

Mon Jan 13, 2020 5:26 am

NAME Get-LoggedOnUser



SYNTAX

Get-LoggedOnUser [-ComputerName] <string[]> [-Credential <pscredential>] [<CommonParameters>]





PARAMETERS

-ComputerName <string[]>



Required? true

Position? 0

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-Credential <pscredential>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

System.String[]





OUTPUTS

System.Object



ALIASES

None





REMARKS

None





examples : @{example=System.Management.Automation.PSObject[]}

alertSet : @{alert=System.Management.Automation.PSObject[]}

parameters :

details : @{name=Get-USB; description=System.Management.Automation.PSObject[]}

description : {@{Text=Uses WMI to get the USB Devices attached to the system}}

syntax : @{syntaxItem=@{name=Get-USB}}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Get-USB

Category : Function

Synopsis : Gets USB devices attached to the system

Component :

Role :

Functionality :

ModuleName : core





description : {@{Text=Great for monitoring things in the background, when you need to be working on something else.}}

syntax : @{syntaxItem=@{name=Invoke-Alert; parameter=@{description=System.Management.Automation.PSObject[];

parameterValue=Int32; name=Duration; required=false; globbing=false; pipelineInput=false; position=1}}}

parameters : @{parameter=@{description=System.Management.Automation.PSObject[]; defaultValue=3;

parameterValue=Int32; name=Duration; type=@{name=Int32}; required=false; globbing=false;

pipelineInput=false; position=1}}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=Invoke-Alert; description=System.Management.Automation.PSObject[]}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Invoke-Alert

Category : Function

Synopsis : Audible tone that can be easily called when some event is triggered.

Component :

Role :

Functionality :

ModuleName : core





description : {@{Text=Used to both store, and retreive a password from an XML file}}

syntax : @{syntaxItem=@{name=Invoke-CredentialManager; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=Invoke-CredentialManager; description=System.Management.Automation.PSObject[]}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Invoke-CredentialManager

Category : Function

Synopsis : Function for managing credentials for storage

Component :

Role :

Functionality :

ModuleName : core





examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Invoke-DebugIt -msg "Count of

returned records" -val "({0} -f $($records.count)) -color Green;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

alertSet : @{alert=System.Management.Automation.PSObject[]}

parameters : @{parameter=System.Management.Automation.PSObject[]}

details : @{name=Invoke-DebugIt; description=System.Management.Automation.PSObject[]}

description : {@{Text=Quick function to print custom debug information with complex formatting.}}

syntax : @{syntaxItem=@{name=Invoke-DebugIt; parameter=System.Management.Automation.PSObject[]}}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : Invoke-DebugIt

Category : Function

Synopsis : A more visually dynamic option for printing debug information.

Component :

Role :

Functionality :

ModuleName : core