Install-CMClient

Installs a Configuration Manager client.

Syntax

Install-CMClient
       [-AlwaysInstallClient <Boolean>]
       -CollectionId <String>
       [-Confirm]
       [-DisableWildcardHandling]
       [-ForceReinstall <Boolean>]
       [-ForceWildcardHandling]
       [-IncludeDomainController <Boolean>]
       [-SiteCode <String>]
       [-WhatIf]
       [<CommonParameters>]
Install-CMClient [-AlwaysInstallClient ] [-Confirm] -Device  [-DisableWildcardHandling]
 [-ForceReinstall ] [-ForceWildcardHandling] [-IncludeDomainController ] [-SiteCode ]
 [-WhatIf] []
Install-CMClient [-AlwaysInstallClient ] [-Confirm] -DeviceId  [-DisableWildcardHandling]
 [-ForceReinstall ] [-ForceWildcardHandling] [-IncludeDomainController ] [-SiteCode ]
 [-WhatIf] []
Install-CMClient [-AlwaysInstallClient ] [-Confirm] -DeviceName  [-DisableWildcardHandling]
 [-ForceReinstall ] [-ForceWildcardHandling] [-IncludeDomainController ] [-SiteCode ]
 [-WhatIf] []
Install-CMClient [-AlwaysInstallClient ] [-Confirm] [-DisableWildcardHandling]
 [-ForceReinstall ] [-ForceWildcardHandling] [-IncludeDomainController ]
 -InputObject  [-SiteCode ] [-WhatIf] []
Install-CMClient [-AlwaysInstallClient ] [-Confirm] [-DisableWildcardHandling]
 [-ForceReinstall ] [-ForceWildcardHandling] [-IncludeDomainController ] -Name 
 [-SiteCode ] [-WhatIf] []

Description

The Install-CMClient cmdlet installs a client for Microsoft System Center Configuration Manager.

Examples

Example 1: Install a client

PS C:\>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.

Required Parameters

-CollectionId

Specifies the ID of the collection to which the client belongs.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Device

Specifies a Configuration Manager device object. You can get a Configuration Manager device object by using the Get-CMDevice cmdlet.

Type:IResultObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-DeviceId

Specifies the ID for the device to which Configuration Manager installs the client.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeviceName

Specifies the name of the device to which Configuration Manager installs the client.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies a Configuration Manager client object. You can get a Configuration Manager client object by using the Get-CMBaseline cmdlet.

Type:IResultObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the name of a Configuration Manager client.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AlwaysInstallClient

Indicates whether Configuration Manager always installs the client.

Type:Boolean
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceReinstall

Indicates whether the cmdlet reinstalls the client.

Type:Boolean
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IncludeDomainController

Indicates whether Configuration Manager authenticates and authorizes the client by using the clients domain controller.

Type:Boolean
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SiteCode

Specifies the site code for the Configuration Manager site that hosts this site system role.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False