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.
EXAMPLES
Example 1
Invoke-RASEnablePrintingScanning -ObjType RDSHost -Id 1 -Type Print -Enable $trueEnabled the pringing settings on the RDSHost with Id 1
Example 2
Disable the Wia scanning settings on the Provider with Id 1
PARAMETERS
-ObjType
The Object Type for which to enable the Printing/Scanning settings.
Possible values: RDSHost, Provider, AVDHostPool
Type reference: PrintingScanningServerObjType
-Id
The Printing/Scanning settings to enable/disable.
-Type
The ID of a server for which to enable the Printing/Scanning settings.
Possible values: Print, Scan_Twain, Scan_Wia
Type reference: UnivPrintScanType
-Enable
Specifies whether to enable/disable the Printing/Scanning settings.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
Last updated