Get-CMSiteInstallStatus
Get-CMSiteInstallStatus
Provides information about Configuration Manager installation status.
Syntax
Parameter Set: SearchBySiteCode
Get-CMSiteInstallStatus [-SiteCode <String> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMSiteInstallStatus -Id <String[]> [ <CommonParameters>]
Detailed Description
The Get-CMSiteInstallStatus cmdlet provides information about the installation status for Microsoft System Center 2012 SP1 Configuration Manager. You can specify an installation by ID or by site code.
Parameters
-Id<String[]>
Specifies an array of IDs for Configuration Manager installations.
Aliases |
SiteInstallId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SiteCode<String>
Specifies a site code for a Configuration Manager site.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get site installation status
This command gets the site installation status for the site that has the specified site code.
PS C:\> Get-CMSiteInstallStatus -SiteCode "CM1"