# Invoke-RASEnablePrintingScanning

## NAME

Invoke-RASEnablePrintingScanning

## SYNOPSIS

Invokes an Enable/Disable Printing/Scanning action.

## SYNTAX

**Invoke-RASEnablePrintingScanning** -[Enable](#enable-string) *(bool)* -[Id](#id-string) *(uint)* -[ObjType](#objtype) {RDSHost | Provider | AVDHostPool} -[Type](#Type) {Print | Scan\_Twain | Scan\_Wia} \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Invokes an Enable/Disable Printing/Scanning action.

## PARAMETERS

## ObjType

([PrintingScanningServerObjType](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/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](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/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\
\&#xNAN;**---------- 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

* [Get-RASRDSHost](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasrdshost)
* [Get-RASProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasprovider)
* [Get-RASAVDHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasavdhostpool)
