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
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Id (uint)
The Printing/Scanning settings to enable/disable.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Type (UnivPrintScanType)
The ID of a server for which to enable the Printing/Scanning settings.
Possible values: Print, Scan_Twain, Scan_Wia
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Enable (bool)
Specifies whether to enable/disable the Printing/Scanning settings.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
(CommonParameters)
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
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