Import-WdsDriverPackage

Import-WdsDriverPackage

Imports a driver package into the Windows Deployment Services driver store.

構文

Parameter Set: Import0
Import-WdsDriverPackage -Path <String> [-Architecture <Architecture> ] [-AsJob] [-CimSession <CimSession[]> ] [-DisplayName <String> ] [-GroupName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

詳細説明

The Import-WdsDriverPackage cmdlet imports a driver package into the Windows Deployment Services driver store. Specify the .inf file for the driver package to import.

You can specify a display name for the driver package. You can assign it to a driver group. If you want to assign a driver package to a group at a later time, use the Add-WdsDriverPackage cmdlet. A client must have access to at least one group that a driver package belongs to in order to install it.

If the package contains drivers for multiple architectures, you can specify a single architecture. If you do not specify an architecture, the cmdlet adds all the architectures.

パラメーター

-Architecture<Architecture>

Specifies an architecture. This is the architecture of the driver package to add to the server. If you do not specify this parameter, the cmdlet includes all the architectures it finds. このパラメーターに対して使用できる値:

-- Arm
-- Ia64
-- X64
-- X86

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-DisplayName<String>

Specifies a display name for the driver package. If you do not supply a display name, the cmdlet creates one based on the driver name and architecture.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-GroupName<String>

Specifies the name of a driver group. The cmdlet adds the driver package to this group.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Path<String>

Specifies an absolute path. This is the path an .inf file. The cmdlet imports the driver package from this file.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.Management.Infrastructure.CimInstance#MSFT_WdsDriverPackage

Example 1: Import a driver package for the x64 architecture

This command imports a driver package for the x64 architecture into the Windows Deployment Services driver store from the specified .inf file. The command specifies a display name for the driver package and assigns the package to the Drivers for Fabrikam Devices group.

PS C:\> Import-WdsDriverPackage -Path "D:\Drivers\Fabrikam.inf" -Architecture X64 -DisplayName "Fabrikam Device Driver (x64)" -GroupName "Drivers for Fabrikam Devices"

関連トピック

Add-WdsDriverPackage

Disable-WdsDriverPackage

Enable-WdsDriverPackage

Get-WdsDriverPackage

Remove-WdsDriverPackage