Dela via


Get-CMClientSetting

SYNOPSIS

Hämtar klientinställningar.

SYNTAX

SearchByName (standard)

Get-CMClientSetting [-Name <String>] [-Raw] [-Setting <SettingType>] [-SettingType <Types>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]

SearchByIdMandatory

Get-CMClientSetting -Id <String> [-Raw] [-Setting <SettingType>] [-SettingType <Types>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]

DESCRIPTION

Cmdleten Get-CMClientSetting hämtar en anpassad samling klientinställningar.

Mer information om klientinställningar finns i Om Klientinställningar Inställningar i Konfigurationshanteraren.

Anteckning

Kör Konfigurationshanteraren cmdlets från Konfigurationshanteraren platsenhet, till exempel PS XYZ:\> . Mer information finns i Komma igång.

EXAMPLES

Exempel 1: Hämta en samling anpassade klientinställningar som anges med dess namn

PS XYZ:\> Get-CMClientSetting -Name "Windows 8 Client Computers Settings"
AgentConfigurations: {}
AssignmentCount:     0
CreatedBy:           Contoso\DChew
DateCreated:         8/04/2012 4:40:03 PM
DateModified:        8/04/2012 4:40:03 PM
Description:         Windows 8 Client Computers Settings
Enabled:             False
FeatureType:         1
Flags:               0
LastModifiedBy:      Contoso\DChew
Name:                Win08ClientSettings
Priority:            0
SecuredScopeNames:   {Default}
Settings ID:         16777220
Type:                1
UniqueID:            {0CCA6700-AE5E-4949-8FBC-AA6719775CC3}

Det här kommandot hämtar klientinställningar som har det angivna namnet.

PARAMETERS

-DisableWildcardHandling

Den här parametern behandlar jokertecken som värden för literaltecken. Du kan inte kombinera den med ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ForceWildcardHandling

Den här parametern bearbetar jokertecken och kan leda till oväntat beteende (rekommenderas inte). Du kan inte kombinera den med DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Id

Anger en matris med identifierare för en eller flera samlingar med klientinställningar.

Type: String
Parameter Sets: SearchByIdMandatory
Aliases: SettingsId

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

-Name

Anger ett namn för anpassade klientinställningar.

Type: String
Parameter Sets: SearchByName
Aliases:

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

-Raw

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Inställning

Anger en matris med inställningstyper för en eller flera samlingar med klientinställningar.

Giltiga värden är:

  • BackgroundIntelligentTransfer
  • ClientPolicy
  • Moln
  • ComplianceSettings
  • ComputerAgent
  • ComputerRestart
  • EndpointProtection
  • HardwareInventory
  • MeteredNetwork
  • MobileDevice
  • NetworkAccessProtection
  • Powermanagement
  • RemoteTools
  • SoftwareDeployment
  • SoftwareInventory
  • SoftwareMetering
  • SoftwareUpdates
  • StateMessaging
  • UserAndDeviceAffinity
Type: SettingType
Parameter Sets: (All)
Aliases:
Accepted values: BackgroundIntelligentTransfer, Cloud, ClientCache, ClientPolicy, ComplianceSettings, ComputerAgent, ComputerRestart, DeliveryOptimization, EndpointProtection, HardwareInventory, MeteredNetwork, MobileDevice, NetworkAccessProtection, PowerManagement, RemoteTools, SoftwareCenter, SoftwareDeployment, SoftwareInventory, SoftwareMetering, SoftwareUpdates, StateMessaging, UserAndDeviceAffinity, WindowsAnalytics

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

-SettingType

Type: Types
Parameter Sets: (All)
Aliases: Type
Accepted values: Default, Device, User

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

CommonParameters

Denna cmdlet har stöd för parametrarna -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.

INPUTS

Ingen

OUTPUTS

IResultObject[]#SMS_ClientSettings

IResultObject#SMS_ClientSettings

IResultObject#SMS_ClientSettingsDefault

Ordliste<sträng,>

ANTECKNINGAR

Om Klient Inställningar i Konfigurationshanteraren

New-CMClientSetting

Remove-CMClientSetting

Set-CMClientSettingBackgroundIntelligentTransfer Set-CMClientSettingClientCache Set-CMClientSettingClientPolicy Set-CMClientSettingCloudService Set-CMClientSettingComplianceSetting Set-CMClientSettingComputerAgent Set-CMClientSettingComputerRestart Set-CMClientSettingDeliveryOptimization Set-CMClientSettingEndpointProtection Set-CMClientSettingEnrollment Set-CMClientSettingGeneral Set-CMClientSettingHardwareInventory Set-CMClientSettingMeteredInternetConnection Set-CMClientSettingPowerManagement Set-CMClientSettingRemoteTool Set-CMClientSettingSoftwareCenter Set-CMClientSettingSoftwareDeployment Set-CMClientSettingSoftwareInventory Set-CMClientSettingSoftwareMetering Set-CMClientSettingSoftwareUpdate Set-CMClientSettingStateMessaging Set-CMClientSettingUserAndDeviceAffinity