wdsutil add drivergrouppackageswdsutil add-drivergrouppackages
適用対象: Windows Server (半期チャネル)、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
ドライバーグループパッケージを追加します。Adds driver group packages.
構文Syntax
wdsutil /add-DriverGroupPackages /DriverGroup:<Group Name> [/Server:<Server Name>] /Filtertype:<Filter type> /Operator:{Equal | NotEqual | GreaterOrEqual | LessOrEqual | Contains} /Value:<Value> [/Value:<Value>]
パラメーターParameters
パラメーターParameter | 説明Description |
---|---|
DriverGroup<Groupname> /DriverGroup:<Groupname> |
新しいドライバー グループの名前を指定します。Specifies the name of the new driver group. |
Server<Servername> /Server:<Servername> |
サーバーの名前を指定します。Specifies the name of the server. これには、NetBIOS 名または FQDN を指定できます。This can be the NetBIOS name or the FQDN. サーバー名が指定されていない場合は、ローカル サーバーが使用されます。If no server name is specified, the local server is used. |
Filtertype<Filtertype> /Filtertype:<Filtertype> |
検索するドライバーパッケージの種類を指定します。Specifies the type of the driver package to search for. 1 つのコマンドでは、複数の属性を指定できます。You can specify multiple attributes in a single command. また、このオプションを使用して、 /演算子 と /値 を指定する必要があります。You must also specify /Operator and /Value with this option. 有効な値は、次のとおりです。Valid values include:
|
Operator{Equal|NotEqual|GreaterOrEqual|LessOrEqual|Contains} /Operator:{Equal|NotEqual|GreaterOrEqual|LessOrEqual|Contains} |
属性と値間のリレーションシップを指定します。Specifies the relationship between the attribute and the values. だけを指定できます Contains 文字列の属性を持つ。You can only specify Contains with string attributes. だけを指定できます 等しい, 、NotEqual, 、GreaterOrEqual と LessOrEqual 日、バージョン属性を持つ。You can only specify Equal, NotEqual, GreaterOrEqual and LessOrEqual with date and version attributes. |
数値<Value> /Value:<Value> |
/Filtertypeに対応するクライアント値を指定します。Specifies the client value corresponding to /Filtertype. 1つの /Filtertypeに対して複数の値を指定できます。You can specify multiple values for a single /Filtertype. 各フィルターで使用できる値は次のとおりです。The available values for each filter are:
|
例Examples
ドライバーグループパッケージを追加するには、次のいずれかを入力します。To add a driver group package, type either:
wdsutil /verbose /add-DriverGroupPackages /DriverGroup:printerdrivers /Filtertype:PackageClass /Operator:Equal /Value:printer /Filtertype:DriverManufacturer /Operator:NotEqual /Value:Name1 /Value:Name2
wdsutil /verbose /add-DriverGroupPackages /DriverGroup:DisplayDriversX86 /Filtertype:PackageClass /Operator:Equal /Value:Display /Filtertype:PackageArchitecture /Operator:Equal /Value:x86 /Filtertype:Packagedateadded /Operator:LessOrEqual /Value:2008/01/01