text
stringlengths
0
4.23k
DriverExcludeIdDriverGroupIdDriverGroupName
DriverGroupIdDriverGroupName
DriverGroupName
- PackageId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}.- PackageName Specify any string value.- PackageEnabled - Specify Yes or No.- Packagedateadded - Specify the date in the following format: YYYY/MM/DD- PackageInfFilename Specify any string value.- PackageClass - Specify a valid class name or class GUID. For example: DiskDrive, Net, or {4d36e972-e325-11ce-bfc1-08002be10318}.- PackageProvider Specify any string value.- PackageArchitecture - Specify x86, x64, or ia64.- PckageLocale - Specify a valid language identifier. For example: en-US or es-ES.- PackageSigned - Specify Yes or No.- PackagedatePublished - Specify the date in the following format: YYYY/MM/DD- Packageversion - Specify the version in the following format: a.b.x.y. For example: 6.1.0.0- Driverdescription Specify any string value.- DriverManufacturer Specify any string value.- DriverHardwareId - Specify any string value.- DrivercompatibleId - Specify any string value.- DriverExcludeId - Specify any string value.- DriverGroupId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}.- DriverGroupName Specify any string value.
Examples
To remove driver packages from a driver group, type one of the following:
wdsutil /verbose /remove-DriverGroupPackages /DriverGroup:printerdrivers
/Filtertype:DriverManufacturer /Operator:NotEqual /Value:Name1 /Value:Name2
wdsutil /verbose /remove-DriverGroupPackages /DriverGroup:DisplayDrivers
/Filtertype:PackageArchitecture /Operator:Equal /Value:x86
/Filtertype:Packagedateadded /Operator:LessOrEqual /Value:2008/01/01
wdsutil remove-driverpackage
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Removes a driver package from a server.
Syntax
wdsutil /remove-DriverPackage [/Server:<Server name>] {/DriverPackage:<Package Name> | /PackageId:<ID>}
Parameters
Parameter
Description
[/Server:<Server name>]
Specifies the name of the server. This can be the NetBIOS name or the FQDN. If a server name is not specified, the local server is used.
[/DriverPackage:<Name>]
Specifies the name of the driver package to remove.
[/PackageId:<ID>]
Specifies the Windows Deployment Services ID of the driver package to remove. You must specify the ID if the driver package cannot be uniquely identified by name.
Examples
To view information about the images, type one of the following:
wdsutil /remove-DriverPackage /PackageId:{4D36E972-E325-11CE-Bfc1-08002BE10318}
wdsutil /remove-DriverPackage /Server:MyWdsServer /DriverPackage:MyDriverPackage
wdsutil remove-driverpackages
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Removes driver packages from the server.
Syntax
wdsutil /remove-DriverPackages [/Server:<Server name>] /Filtertype:<Filter type> /Operator:{Equal | NotEqual | GreaterOrEqual | LessOrEqual | Contains} /Value:<Value> [/Value:<Value> ...]
Parameters
Parameter
Description
[/Server: <Server name>]
Specifies the name of the server. This can be the NetBIOS name or the FQDN. If a server name is not specified, the local server is used.
/Filtertype:<Filter type>
Specifies the attribute of the driver package to search for. You can specify multiple attributes in a single command. You must also specify /Operator and /Value with this option. <Filter type> can be one of the following:PackageIdPackageNamePackageEnabledPackagedateaddedPackageInfFilenamePackageClassPackageProviderPackageArchitecturePackageLocalePackageSignedPackagedatePublishedPackageversionDriverdescriptionDriverManufacturerDriverHardwareIdDrivercompatibleIdDriverExcludeIdDriverGroupIdDriverGroupName
/Operator:{Equal | NotEqual | GreaterOrEqual | LessOrEqual | Contains}
Specifies the relationship between the attribute and the values. You can only specify Contains with string attributes. You can only specify GreaterOrEqual and LessOrEqual with date and version attributes.
/Value:<Value>
Specifies the value to search for the specified <attribute>. You can specify multiple values for a single /Filtertype. The following list outlines the attributes that you can specify for each filter. For more information about these attributes, see Driver and Package attributes (https://go.microsoft.com/fwlink/?LinkId=166895). PackageId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}.PackageName - Specify any string value.PackageEnabled - Specify Yes or No.Packagedateadded - Specify the date in the following format: YYYY/MM/DD.PackageInfFilename - Specify any string value.PackageClass - Specify a valid class name or class GUID. For example: DiskDrive, Net, or {4d36e972-e325-11ce-bfc1-08002be10318}.PackageProvider - Specify any string value.PackageArchitecture - Specify x86, x64, or ia64.PckageLocale - Specify a valid language identifier. For example: en-US or es-ES.PackageSigned - Specify Yes or No.PackagedatePublished - Specify the date in the following format: YYYY/MM/DD.Packageversion - Specify the version in the following format: a.b.x.y. For example: 6.1.0.0.Driverdescription - Specify any string value.DriverManufacturer - Specify any string value.DriverHardwareId - Specify any string value.DrivercompatibleId - Specify any string value.DriverExcludeId - Specify any string value.DriverGroupId - Specify a valid GUID. For example: {4d36e972-e325-11ce-bfc1-08002be10318}.DriverGroupName - Specify any string value.
Examples
To remove packages, type one of the following:
wdsutil /verbose /remove-DriverPackages /Server:MyWdsServer
/Filtertype:PackageProvider /Operator:Equal /Value:Name1 /Value:Name2
wdsutil /remove-DriverPackages /Filtertype:PackageArchitecture /Operator:Equal
/Value:x86 /Value:x64 /Filtertype:PackageEnabled /Operator:Equal /Value:No
wdsutil /verbose /remove-DriverPackages /Server:MyWdsServer
/Filtertype:Packagedateadded /Operator:LessOrEqual /Value:2008/01/01
wdsutil remove-image
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Deletes an image from a server.
Syntax
for boot images:
wdsutil [Options] /remove-Image:<Image name> [/Server:<Server name> type:Boot /Architecture:{x86 | ia64 | x64} [/Filename:<Filename>]
for install images:
wdsutil [Options] /remove-image:<Image name> [/Server:<Server name> type:Install ImageGroup:<Image group name>] [/Filename:<Filename>]
Parameters
Parameter
Description