< Back

Get-LSAsset

Sat Jan 18, 2020 9:40 am

NAME Get-LSAsset



SYNOPSIS





SYNTAX

Get-LSAsset [[-AssetID] <Object>] [[-AssetName] <Object>] [[-Credentials] <Object>] [[-IPAddress] <Object>]

[[-LastChanged] <Object>] [[-Lastseen] <Object>] [[-LastTried] <Object>] [[-LastTriggered] <Object>]

[[-LastActiveScan] <Object>] [[-LastScheduled] <Object>] [[-LastSaved] <Object>] [[-MAC] <Object>] [[-Memory]

<Object>] [[-OSCode] <Object>] [[-Processor] <Object>] [-SQLInstance] <Object> [[-Scanserver] <Object>] [[-SP]

<Object>] [[-Username] <Object>] [[-Userdomain] <Object>] [<CommonParameters>]





DESCRIPTION

Get-Asset queries lansweeperdb.dbo.tblAssets 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



-AssetName <Object>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credentials <Object>



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-IPAddress <Object>



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastChanged <Object>



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Lastseen <Object>



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastTried <Object>



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastTriggered <Object>



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastActiveScan <Object>



Required? false

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastScheduled <Object>



Required? false

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastSaved <Object>



Required? false

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MAC <Object>



Required? false

Position? 12

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Memory <Object>



Required? false

Position? 13

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OSCode <Object>



Required? false

Position? 14

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Processor <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



-Scanserver <Object>



Required? false

Position? 17

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SP <Object>



Required? false

Position? 18

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Username <Object>



Required? false

Position? 19

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Userdomain <Object>



Required? false

Position? 20

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