< Back

Get-LSUser

Sat Jan 18, 2020 9:40 am

NAME Get-LSUser



SYNOPSIS





SYNTAX

Get-LSUser [[-AssetID] <Object>] [[-Accounttype] <Object>] [[-BuiltInAdmin] <Object>] [[-Disabled] <Object>]

[[-Description] <Object>] [[-Fullname] <Object>] [[-Lockout] <Object>] [[-Name] <Object>] [[-PasswordChangeable]

<Object>] [[-PasswordExpires] <Object>] [[-PasswordRequired] <Object>] [[-SID] <Object>] [[-Status] <Object>]

[[-UserID] <Object>] [[-LastChanged] <Object>] [-SQLInstance] <Object> [[-Credentials] <Object>]

[<CommonParameters>]





DESCRIPTION

Get-LSUser queries lansweeperdb.dbo.tblUsers for asset(s) matching the passed parameters. Object is returned with

parameters for each column in SQL database.

-SQLInstance parameter is used to specify the SQL server where the database exists.





PARAMETERS

-AssetID <Object>



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Accounttype <Object>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-BuiltInAdmin <Object>



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Disabled <Object>



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <Object>



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Fullname <Object>



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Lockout <Object>



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <Object>



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PasswordChangeable <Object>



Required? false

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PasswordExpires <Object>



Required? false

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PasswordRequired <Object>



Required? false

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SID <Object>



Required? false

Position? 12

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Status <Object>



Required? false

Position? 13

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserID <Object>



Required? false

Position? 14

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastChanged <Object>



Required? false

Position? 15

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SQLInstance <Object>



Required? true

Position? 16

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credentials <Object>



Required? false

Position? 17

Default value

Accept pipeline input? false

Accept wildcard characters? 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



OUTPUTS





RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-LSWindowsSoftware; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Get-LSWindowsSoftware [[-AssetID] <Object>] [[-AssetName] <Object>] [-SQLInstance] <Object>

[[-Credentials] <Object>] [<CommonParameters>]



ModuleName : Lansweeper-PS

nonTerminatingErrors :

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

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

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

Name : Get-LSWindowsSoftware

Category : Function

Component :

Role :

Functionality :