Invoke-RASEnablePrintingScanning
NAME
Invoke-RASEnablePrintingScanning
SYNOPSIS
Invokes an Enable/Disable Printing/Scanning action.
SYNTAX
Invoke-RASEnablePrintingScanning -Enable (bool) -Id (uint) -ObjType {RDSHost | Provider | AVDHostPool} -Type {Print | Scan_Twain | Scan_Wia} [(CommonParameters)]
DESCRIPTION
Invokes an Enable/Disable Printing/Scanning action.
PARAMETERS
ObjType
(PrintingScanningServerObjType) The Object Type for which to enable the Printing/Scanning settings.
Possible values: RDSHost, Provider, AVDHostPool
Id (uint)
The Printing/Scanning settings to enable/disable.
Type (UnivPrintScanType)
The ID of a server for which to enable the Printing/Scanning settings.
Possible values: Print, Scan_Twain, Scan_Wia
Enable (bool)
Specifies whether to enable/disable the Printing/Scanning settings.
(CommonParameters)
INPUTS
-none-
OUTPUTS
-none-
EXAMPLES
---------- 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
RELATED LINKS
Last updated