Import-CMDriverPackage

Imports a driver package.

Syntax

Import-CMDriverPackage
      [-Confirm]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      -ImportFilePath <String>
      [-WhatIf]
      [<CommonParameters>]

Description

The Import-CMDriverPackage cmdlet imports a driver packages to Microsoft System Center Configuration Manager. You can use the Export-CMDriverPackage cmdlet to export a driver package to a .zip file.

Examples

Example 1: Import a driver package

PS C:\>Import-CMDriverPackage -ImportFilePath "\\Contoso02\main\driverpackages\DriverPackage.zip"

This command imports a driver package from the import file named DriverPackage.zip.

Required Parameters

-ImportFilePath

Specifies the Universal Naming Convention (UNC) path of the import file.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False