< Back

Get-SmaManagedInstall

Thu Jan 16, 2020 9:36 am

NAME Get-SmaManagedInstall



SYNOPSIS







SYNTAX

Get-SmaManagedInstall [[-ManagedInstallID] <Int32>] [[-QueryParameters] <String>] [-Confirm]

[-ListCompatibleMachines] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Returns information about SMA managed installs.





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



-ListCompatibleMachines [<SwitchParameter>]

Use with -ManagedInstallID if you want to return all machines compatible with a specific managed install.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ManagedInstallID <Int32>

Specifies the managed install to return from the SMA.



Required? false

Position? 0

Default value 0

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



Retrieves information about all managed installs.

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



Get-SmaManagedInstall -ManagedInstallID 1234



Retrieves information for a managed install with ID 1234.

-------------------------- EXAMPLE 3 --------------------------



Get-SmaManagedInstall -ManagedInstallID 1234 -ListCompatibleMachines



Retrieves machines compatible with `-managedinstallID 1234`



RELATED LINKS

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