Sdílet prostřednictvím


Remove-CMDriverFromDriverPackage

SYNOPSIS

Odebere ovladač z balíčku ovladačů.

SYNTAX

RemoveDriverFromDriverPackageById_Id (výchozí)

Remove-CMDriverFromDriverPackage -DriverId <Int32> -DriverPackageId <String> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageByObject_Id

Remove-CMDriverFromDriverPackage -Driver <IResultObject> -DriverPackageId <String> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageByObject_Name

Remove-CMDriverFromDriverPackage -Driver <IResultObject> -DriverPackageName <String> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageByObject_Object

Remove-CMDriverFromDriverPackage -Driver <IResultObject> -DriverPackage <IResultObject> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageById_Name

Remove-CMDriverFromDriverPackage -DriverId <Int32> -DriverPackageName <String> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageById_Object

Remove-CMDriverFromDriverPackage -DriverId <Int32> -DriverPackage <IResultObject> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageByName_Id

Remove-CMDriverFromDriverPackage -DriverName <String> -DriverPackageId <String> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageByName_Name

Remove-CMDriverFromDriverPackage -DriverName <String> -DriverPackageName <String> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

RemoveDriverFromDriverPackageByName_Object

Remove-CMDriverFromDriverPackage -DriverName <String> -DriverPackage <IResultObject> [-Force]
 [-UpdateDistributionPoints <Boolean>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Rutina Remove-CMDriverFromDriverPackage Odebere ovladač z balíčku ovladačů v Configuration Manager. Když odeberete ovladač z balíčku ovladačů, obsah ovladače zařízení se odstraní ze sdílené složky zdrojového adresáře pro balíček ovladačů.

Poznámka

Použijte například rutiny Configuration Manager z Configuration Manager jednotky webu PS XYZ:\> . Další informace najdete v tématu Začínáme.

EXAMPLES

Příklad 1: Odebrání ovladače z balíčku ovladačů

PS XYZ:\> Remove-CMDriverfromDriverPackage -DriverName "Adaptec Embedded SCSI HostRAID Controller" -DriverPackageName "DrvPkg01"

Tento příkaz odebere z spouštěcí image s názvem DrvPkg01 ovladač pojmenovaný řadič Adaptec Embedded SCSI HostRAID.

PARAMETERS

-Confirm

Před spuštěním rutiny zobrazí výzvu k potvrzení.

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

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

-DisableWildcardHandling

Tento parametr považuje zástupné znaky jako literálové hodnoty znaků. Nejde kombinovat s ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

– Ovladač

Určuje objekt ovladače. K získání objektu CMDriver použijte rutinu Get-CMDriver .

Type: IResultObject
Parameter Sets: RemoveDriverFromDriverPackageByObject_Id, RemoveDriverFromDriverPackageByObject_Name, RemoveDriverFromDriverPackageByObject_Object
Aliases:

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

-DriverId

Určuje ID ovladače.

Type: Int32
Parameter Sets: RemoveDriverFromDriverPackageById_Id, RemoveDriverFromDriverPackageById_Name, RemoveDriverFromDriverPackageById_Object
Aliases: CIId, Id, CI_ID

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

-Název_ovladače

Určuje název ovladače.

Type: String
Parameter Sets: RemoveDriverFromDriverPackageByName_Id, RemoveDriverFromDriverPackageByName_Name, RemoveDriverFromDriverPackageByName_Object
Aliases:

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

-DriverPackage

Určuje objekt CMDriverPackage . K získání objektu CMDriverPackage použijte rutinu Get-CMDriverPackage .

Type: IResultObject
Parameter Sets: RemoveDriverFromDriverPackageByObject_Object, RemoveDriverFromDriverPackageById_Object, RemoveDriverFromDriverPackageByName_Object
Aliases:

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

-DriverPackageId

Určuje ID balíčku ovladačů.

Type: String
Parameter Sets: RemoveDriverFromDriverPackageById_Id, RemoveDriverFromDriverPackageByObject_Id, RemoveDriverFromDriverPackageByName_Id
Aliases:

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

-DriverPackageName

Určuje název balíčku ovladačů.

Type: String
Parameter Sets: RemoveDriverFromDriverPackageByObject_Name, RemoveDriverFromDriverPackageById_Name, RemoveDriverFromDriverPackageByName_Name
Aliases:

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

-Force

Vynutí spuštění příkazu bez žádosti o potvrzení uživatele.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ForceWildcardHandling

Tento parametr zpracovává zástupné znaky a může vést k neočekávanému chování (nedoporučujeme). Nejde kombinovat s DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-UpdateDistributionPoints

{{Fill UpdateDistributionPoints Description}}

Type: Boolean
Parameter Sets: (All)
Aliases: UpdateDistributionPoint, UpdateDistributionPointForDriverPackage, UpdateDistributionPointsForDriverPackage

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

-WhatIf

Zobrazuje, co by se stalo při spuštění rutiny. Rutina se nespustí.

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

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

CommonParameters

Tato rutina podporuje společné parametry: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction a -WarningVariable. Další informace najdete v tématu about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement. ManagementProvider. IResultObject

OUTPUTS

System.Object

POZNÁMKY

Add-CMDriverToDriverPackage

Get-CMDriver