Invoke-RASEnablePrintingScanning
Last updated
Last updated
Invoke-RASEnablePrintingScanning
Invokes an Enable/Disable Printing/Scanning action.
Invoke-RASEnablePrintingScanning - (bool) - (uint) - {RDSHost | Provider | AVDHostPool} - {Print | Scan_Twain | Scan_Wia} [()]
Invokes an Enable/Disable Printing/Scanning action.
() The Object Type for which to enable the Printing/Scanning settings.
Possible values: RDSHost, Provider, AVDHostPool
The Printing/Scanning settings to enable/disable.
The ID of a server for which to enable the Printing/Scanning settings.
Possible values: Print, Scan_Twain, Scan_Wia
Specifies whether to enable/disable the Printing/Scanning settings.
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Invoke-RASEnablePrintingScanning -ObjType RDSHost -Id 1 -Type Print -Enable $true
Enabled the pringing settings on the RDSHost with Id 1 **---------- EXAMPLE 2 ----------
Invoke-RASEnablePrintingScanning -ObjType Provider -Id 1 -Type Scan_Wia -Enable $false
Disable the Wia scanning settings on the Provider with Id 1