Remove-CMDriverFromDriverPackage
Removes a driver from a driver package.
Syntax
RemoveDriverFromDriverPackageById_Id (Default)
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
The Remove-CMDriverFromDriverPackage cmdlet removes a driver from a driver package in Configuration Manager.
When you remove a driver from a driver package, the device driver content is deleted from the source directory share for the driver package.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started .
Examples
Example 1: Remove a driver from a driver package
PS XYZ:\> Remove-CMDriverfromDriverPackage -DriverName "Adaptec Embedded SCSI HostRAID Controller" -DriverPackageName "DrvPkg01"
This command removes the driver named Adaptec Embedded SCSI HostRAID Controller from the boot image named DrvPkg01.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: SwitchParameter
Default value: False
Supports wildcards: False
DontShow: False
Aliases: cf
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DisableWildcardHandling
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling .
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Driver
Specifies a driver object.
To obtain a CMDriver object, use the Get-CMDriver cmdlet.
Parameter properties
Type: IResultObject
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
RemoveDriverFromDriverPackageByObject_Id
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByObject_Name
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByObject_Object
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-DriverId
Specifies the ID of a driver.
Parameter properties
Type: Int32
Default value: None
Supports wildcards: False
DontShow: False
Aliases: CIId, Id, CI_ID
Parameter sets
RemoveDriverFromDriverPackageById_Id
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageById_Name
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageById_Object
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DriverName
Specifies the name of a driver.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
RemoveDriverFromDriverPackageByName_Id
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByName_Name
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByName_Object
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DriverPackage
Specifies a CMDriverPackage object.
To obtain a CMDriverPackage object, use the Get-CMDriverPackage cmdlet.
Parameter properties
Type: IResultObject
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
RemoveDriverFromDriverPackageByObject_Object
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageById_Object
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByName_Object
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-DriverPackageId
Specifies the ID of a driver package.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
RemoveDriverFromDriverPackageById_Id
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByObject_Id
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByName_Id
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DriverPackageName
Specifies the name of a driver package.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
RemoveDriverFromDriverPackageByObject_Name
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageById_Name
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
RemoveDriverFromDriverPackageByName_Name
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Force
Forces the command to run without asking for user confirmation.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling .
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-UpdateDistributionPoints
{{ Fill UpdateDistributionPoints Description }}
Parameter properties
Type: Boolean
Default value: None
Supports wildcards: False
DontShow: False
Aliases: UpdateDistributionPoint, UpdateDistributionPointForDriverPackage, UpdateDistributionPointsForDriverPackage
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet doesn't run.
Parameter properties
Type: SwitchParameter
Default value: False
Supports wildcards: False
DontShow: False
Aliases: wi
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
Outputs
System.Object