Megosztás a következőn keresztül:


Set-CMStatusReportingComponent

SYNOPSIS

Beállítja az állapotjelentési összetevőt képviselő objektumot.

SYNTAX

SearchByValueMandatory (alapértelmezett)

Set-CMStatusReportingComponent [-ClientLogChecked <Boolean>] [-ClientLogFailureChecked <Boolean>]
 [-ClientLogType <StatusReportOrLogType>] [-ClientReportChecked <Boolean>]
 [-ClientReportFailureChecked <Boolean>] [-ClientReportType <StatusReportOrLogType>]
 -InputObject <IResultObject> [-ServerLogChecked <Boolean>] [-ServerLogFailureChecked <Boolean>]
 [-ServerLogType <StatusReportOrLogType>] [-ServerReportChecked <Boolean>]
 [-ServerReportFailureChecked <Boolean>] [-ServerReportType <StatusReportOrLogType>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SearchByName Kötelező

Set-CMStatusReportingComponent [-ClientLogChecked <Boolean>] [-ClientLogFailureChecked <Boolean>]
 [-ClientLogType <StatusReportOrLogType>] [-ClientReportChecked <Boolean>]
 [-ClientReportFailureChecked <Boolean>] [-ClientReportType <StatusReportOrLogType>] -Name <String>
 [-ServerLogChecked <Boolean>] [-ServerLogFailureChecked <Boolean>] [-ServerLogType <StatusReportOrLogType>]
 [-ServerReportChecked <Boolean>] [-ServerReportFailureChecked <Boolean>]
 [-ServerReportType <StatusReportOrLogType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

SearchBySiteCode Kötelező

Set-CMStatusReportingComponent [-ClientLogChecked <Boolean>] [-ClientLogFailureChecked <Boolean>]
 [-ClientLogType <StatusReportOrLogType>] [-ClientReportChecked <Boolean>]
 [-ClientReportFailureChecked <Boolean>] [-ClientReportType <StatusReportOrLogType>]
 [-ServerLogChecked <Boolean>] [-ServerLogFailureChecked <Boolean>] [-ServerLogType <StatusReportOrLogType>]
 [-ServerReportChecked <Boolean>] [-ServerReportFailureChecked <Boolean>]
 [-ServerReportType <StatusReportOrLogType>] [-SiteCode <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

A Set-CMStatusReportingComponent parancsmag beállít egy objektumot, amely egy állapotjelentési összetevőt képvisel. Az állapotjelentési összetevő objektum az ügyfél-konfigurációval és a kiszolgáló konfigurációs összetevőivel kapcsolatos információkat adja meg.

A jelentéskészítési összetevőt beállíthatja úgy, hogy ellenőrizze a naplófájlokat, és figyelje a naplófájlok bejegyzéseinek súlyosságát.

Megjegyzés

Futtassa Konfigurációkezelő parancsmagokat a Konfigurációkezelő hely meghajtóról, például: PS XYZ:\> . További információ: Első lépések.

EXAMPLES

1. példa: Állapotjelentési összetevő beállítása

Ez a parancs beállítja az ügyféljelentés típusát és a kiszolgáló jelentéstípusát.

Set-CMStatusReportingComponent -SiteCode "CM1" -ClientReportType AllMilestones -ServerReportType AllMilestones

PARAMETERS

-ClientLogChecked (Ügyfélnapló ellenőrizve)

Azt jelzi, hogy az ügyfélnapló be van-e jelölve.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ClientLogFailureChecked

Azt jelzi, hogy az ügyfélnapló hibája be van-e jelölve.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ClientLogType

Megadja az ügyfélnapló típusát.

Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones

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

-ClientReportChecked (Ügyféljelentés ellenőrizve)

Azt jelzi, hogy az ügyféljelentés be van-e jelölve.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ClientReportFailureChecked

Azt jelzi, hogy a rendszer ellenőrzi-e az ügyfélhibát.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ClientReportType

Megadja a jelentés típusát.

Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones

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

-Confirm

Jóváhagyást kér a parancsmag futtatása előtt.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-DisableWildcardHandling

Ez a paraméter literál karakterértékekként kezeli a helyettesítő karaktereket. Nem kombinálhatja a ForceWildcardHandling használatával.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ForceWildcardHandling

Ez a paraméter feldolgozza a helyettesítő karaktereket, és váratlan viselkedéshez vezethet (nem ajánlott). Nem kombinálhatja a DisableWildcardHandling használatával.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-InputObject

Egy másik parancsmag objektumkimenetét adja meg.

Type: IResultObject
Parameter Sets: SearchByValueMandatory
Aliases:

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

-Name

Egy állapotjelentési összetevő nevét adja meg a Konfigurációkezelő.

Type: String
Parameter Sets: SearchByNameMandatory
Aliases: SiteName

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

-ServerLogChecked (Kiszolgálónapló ellenőrizve)

Azt jelzi, hogy a kiszolgálónapló be van-e jelölve.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ServerLogFailureChecked

Azt jelzi, hogy a kiszolgálónapló hibája be van-e jelölve.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ServerLogType (Kiszolgálónapló típusa)

Megadja a kiszolgáló naplótípusát.

Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones

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

-ServerReportChecked (Kiszolgálójelentés ellenőrizve)

Azt jelzi, hogy a kiszolgálójelentés be van-e jelölve.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ServerReportFailureChecked

Azt jelzi, hogy a kiszolgálói jelentés hibája be van-e jelölve.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-ServerReportType

Megadja a jelentés típusát.

Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones

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

-SiteCode

Egy helykód megadása egy Konfigurációkezelő számára.

Type: String
Parameter Sets: SearchBySiteCodeMandatory
Aliases:

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

-WhatIf

Bemutatja, mi történne a parancsmag futtatásakor. A parancsmag nem fut.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

Ez a parancsmag a következő általános paramétereket támogatja: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction és -WarningVariable. További információ: about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

MEGJEGYZÉSEK

Get-CMStatusReportingComponent