description | external help file | Module Name | ms.date | schema | title |
---|---|---|---|---|---|
Installs a Configuration Manager client. |
AdminUI.PS.dll-Help.xml |
ConfigurationManager |
05/05/2019 |
2.0.0 |
Install-CMClient |
Installs a Configuration Manager client.
Install-CMClient [-AlwaysInstallClient <Boolean>] [-ForceReinstall <Boolean>]
[-IncludeDomainController <Boolean>] -InputObject <IResultObject> [-SiteCode <String>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
Install-CMClient [-AlwaysInstallClient <Boolean>] -DeviceId <String> [-ForceReinstall <Boolean>]
[-IncludeDomainController <Boolean>] [-SiteCode <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
Install-CMClient [-AlwaysInstallClient <Boolean>] -DeviceName <String> [-ForceReinstall <Boolean>]
[-IncludeDomainController <Boolean>] [-SiteCode <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
Install-CMClient [-AlwaysInstallClient <Boolean>] -CollectionId <String> [-ForceReinstall <Boolean>]
[-IncludeDomainController <Boolean>] [-SiteCode <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
Install-CMClient [-AlwaysInstallClient <Boolean>] [-ForceReinstall <Boolean>]
[-IncludeDomainController <Boolean>] -Name <String> [-SiteCode <String>] [-DisableWildcardHandling]
[-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
The Install-CMClient cmdlet installs a client for Configuration Manager.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
PS XYZ:\>Install-CMClient -Name "RemoteClient05" -SiteCode "CM1" -AlwaysInstallClient $True -IncludeDomainController $True
This command installs the client named RemoteClient05 on the Configuration Manager site that has the site code CM1.
Indicates whether Configuration Manager always installs the client.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the ID of the collection to which the client belongs.
Type: String
Parameter Sets: SearchByIdMandatory
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the ID for the device to which Configuration Manager installs the client.
Type: String
Parameter Sets: SearchByDeviceIdMandatory
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name of the device to which Configuration Manager installs the client.
Type: String
Parameter Sets: SearchByDeviceNameMandatory
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether the cmdlet reinstalls the client.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether Configuration Manager authenticates and authorizes the client by using the clients domain controller.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a Configuration Manager client object. You can get a Configuration Manager client object by using the Get-CMBaseline cmdlet.
Type: IResultObject
Parameter Sets: SearchByValueMandatory
Aliases: Collection, Device
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the name of a Configuration Manager client.
Type: String
Parameter Sets: SearchByNameMandatory
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the site code for the Configuration Manager site that hosts this site system role.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet doesn't run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.