Set-CMCertificateProfilePfx
SYNOPSIS
Beállítja a PFX-tanúsítványprofilt.
SYNTAX
ByValue (alapértelmezett)
Set-CMCertificateProfilePfx [-Description <String>] -InputObject <IResultObject>
[-KeyStorageProvider <KeyStorageProviderSettingType>] [-NewName <String>] [-PassThru]
[-SupportedPlatform <IResultObject[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ById (ById)
Set-CMCertificateProfilePfx [-Description <String>] -Id <Int32>
[-KeyStorageProvider <KeyStorageProviderSettingType>] [-NewName <String>] [-PassThru]
[-SupportedPlatform <IResultObject[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
ByName (Név szerint)
Set-CMCertificateProfilePfx [-Description <String>] [-KeyStorageProvider <KeyStorageProviderSettingType>]
-Name <String> [-NewName <String>] [-PassThru] [-SupportedPlatform <IResultObject[]>]
[-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
A Set-CMCertificateProfilePfx parancsmag módosítja egy PFX-tanúsítványprofil beállításait.
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: PFX-tanúsítványprofil beállítása név alapján
PS XYZ:\> Set-CMCertificateProfilePfx -Name "TestUpdate1" -Description "Update name to Test" -NewName "Test" -SupportedPlatform (Get-CMSupportedPlatform -Fast -Name "All Windows 10*Client")
Ez a parancs frissíti a TestUpdate1 nevű PFX-tanúsítványprofil nevét a TestUpdate1 névre az Windows 10 összes ügyfélplatformon.
2. példa: PFX-tanúsítványprofil beállítása azonosító alapján
PS XYZ:\> Set-CMCertificateProfilePfx -Id 16777453 -Description "Updated" -KeyStorageProvider InstallToSoftwareKeyStorageProvider -NewName "Test2"
Ez a parancs frissíti a PFX-tanúsítványprofil nevét 16777453 Test2 azonosítóval, és beállítja a kulcstároló-szolgáltatót, hogy szoftverkulcs-szolgáltatóként telepítse Storage Providert.
3. példa: PFX-tanúsítványprofil beállítása a folyamat használatával
PS XYZ:\> Get-CMCertificateprofilePfx -Name "Test3" | Set-CMCertificateprofilePfx -Description "Updated"
Ez a parancs lekéri a Test3 nevű PFX tanúsítványprofil-objektumot, és a folyamat operátorával adja át az objektumot a Set-CMCertificateProfilePfx parancsnak, amely frissíti az objektum leírását.
PARAMETERS
-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
-Description (Leírás)
Megadja a PFX-tanúsítványprofil leírását.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
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). A DisableWildcardHandling használatával nem kombinálható.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Id (Azonosító)
Megadja a PFX-tanúsítványprofil azonosítóját.
Type: Int32
Parameter Sets: ById
Aliases: CI_ID, CIId
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
PfX-tanúsítványprofil-objektumot ad meg. PFX-tanúsítványprofil objektumának beszerzéséhez használja a Get-CMCertificateProfilePfx függvényt.
Type: IResultObject
Parameter Sets: ByValue
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-KeyStorageProvider
A Provider Storage meg. Az érvényes értékek a következők:
- InstallToTPM_FailIfNotPresent
- InstallToTPM_IfPresent
- InstallToSoftwareKeyStorageProvider
- InstallToNGC_FailIfNotPresent
Type: KeyStorageProviderSettingType
Parameter Sets: (All)
Aliases:
Accepted values: None, InstallToTPM_FailIfNotPresent, InstallToTPM_IfPresent, InstallToSoftwareKeyStorageProvider, InstallToNGC_FailIfNotPresent
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
Megadja a PFX-tanúsítványprofil nevét.
Type: String
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NewName (Új név)
A PFX-tanúsítványprofil új nevét adja meg.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PassThru
Adja hozzá ezt a paramétert, hogy visszaadja az objektumot, amely azt az elemet jelöli, amellyel dolgozik. Alapértelmezés szerint ez a parancsmag nem generál kimenetet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SupportedPlatform
Egy támogatott platformobjektumot ad meg. Támogatott platformobjektum beszerzéséhez használja a Get-CMSupportedPlatform parancsmagot.
Type: IResultObject[]
Parameter Sets: (All)
Aliases: SupportedPlatforms
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.