Export (0) Print
Expand All
Expand Minimize

Export-CMDriverPackage

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Export-CMDriverPackage

Exports driver packages.

Syntax

Parameter Set: SearchPackageByNameMandatory
Export-CMDriverPackage -ExportFilePath <String> -Name <String> [-Comments <String> ] [-WithContent <Boolean> ] [-WithDependence <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Export-CMDriverPackage -ExportFilePath <String> -InputObject <IResultObject> [-Comments <String> ] [-WithContent <Boolean> ] [-WithDependence <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchPackageByIdMandatory
Export-CMDriverPackage -ExportFilePath <String> -Id <String[]> [-Comments <String> ] [-WithContent <Boolean> ] [-WithDependence <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Export-CMDriverPackage cmdlet exports one or more driver packages to a .zip file.

Parameters

-Comments<String>

Specifies a comment for the exported driver packages.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ExportFilePath<String>

Specifies the full path for the export file.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Id<String[]>

Specifies an array of IDs of driver packages.


Aliases

PackageId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies a driver package object. To obtain a CMDriverPackage object, use the Get-CMDriverPackage cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of a driver package.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-WithContent<Boolean>

Specifies whether to export the content files for the driver packages and drivers.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-WithDependence<Boolean>

Specifies whether to export all drivers associated with the driver package.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Export a driver package

This command exports the driver package named "DrvPkg01" to the export file "DriverPackage01.zip".


PS C:\> Export-CMDriverPackage -Name "DrvPkg01" -ExportFilePath "\\Contoso02\DriverPackages\DriverPackage01.zip"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft