< Back

Get-SmaStartupProgramInventory

Thu Jan 16, 2020 9:45 am

NAME Get-SmaStartupProgramInventory



SYNOPSIS







SYNTAX

Get-SmaStartupProgramInventory [[-ProgramID] <String>] [[-QueryParameters] <String>] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

Returns information about startup programs from SMA inventory devices, or for specific startup program.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ProgramID <String>

Specifies the program ID to retrieve.



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-QueryParameters <String>

Any additional query parameters to be included. String must begin with a '?' character.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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

PSCustomObject







NOTES









-------------------------- EXAMPLE 1 --------------------------



Get-SmaStartupProgramInventory -Server https://kace.example.com -Org Default -Credential (Get-Credential)



Retrieves information about all inventory devices' startup programs.

-------------------------- EXAMPLE 2 --------------------------



Get-SmaStartupProgramInventory -Server https://kace.example.com -Org Default -Credential (Get-Credential)

-ProgramID 1234



Retrieves information for a startup program with ID 1234.



RELATED LINKS

Online Version: https://github.com/ArtisanByteCrafter/K ... ventory.md