Only this pageAll pages
Powered by GitBook
Couldn't generate the PDF for 1043 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

Parallels PowerShell RAS

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Getting Started

Parallels Remote Application Server Requirements

Parallels RAS PowerShell requires 'Connection Broker' component of a matching version to communicate with.

Microsoft Windows Component Requirements

The following components must be installed on the computer where you'll be executing Parallels RAS PowerShell cmdlets:

  • Windows PowerShell 3.0 or higher

  • Microsoft .NET Framework 4.5.2 or higher

Basic Concepts

To get started with Parallels RAS PowerShell, complete the following steps:

  1. Open the Windows PowerShell console.

  2. In the console, type the following command to import the Parallels RAS PowerShell module:

    Import-Module RASAdmin

  3. Create a Parallels RAS session by executing the New-RASSession cmdlet. Substitute the server name (in quotes) with the name or IP address of your Parallels RAS Licensing Server. Type your RAS administrator username and password when prompted.

    New-RASSession -Server "server.company.dom"

  4. Execute the following cmdlet to see the list of cmdlets included in the Parallels RAS PowerShell module:

    Get-Command -Module RASAdmin

  5. Execute other cmdlets. For example, try executing the Get-RASGateway cmdlet to retrieve information about RAS Secure Gateway(s). The example below returns information about all RAS Secure Gateways available in the RAS Licensing Server site:

    Get-RASGateway

  6. To see help for a cmdlet, execute Get-Help passing a cmdlet name:

    Get-Help Get-RASGateway

    To apply changes you've made to the farm configuration, use the Invoke-RASApply cmdlet:

    Invoke-RASApply

    To activate a Parallels RAS license, use Invoke-RASLicenseActivate:

    Invoke-RASLicenseActivate

    When executing the cmdlet above, you'll be prompted to enter your Parallels My Account email address and password. Passing a license key (the -Key parameter) is optional. If omitted (as in the example above), Parallels RAS is activated as a trial.

Parallels RAS PowerShell

This guide contains information about Parallels RAS PowerShell. It is intended for Parallels RAS administrators who would like to use PowerShell to automate their RAS administration tasks.

Organization of This Guide

The guide is organized into the following main sections:

Getting Started lists system requirements and explains basic RAS PowerShell concepts.

Parallels RAS Powershell Admin Module is a complete reference to RAS PowerShell cmdlets.

API Versions lists available API versions and changes between them.

Examples includes cmdlet examples demonstrating how to perform the most common Parallels RAS management tasks.

Additional Resources

For additional Parallels RAS documentation and resources, please visit https://www.parallels.com/products/ras/resources

Commands

Parallels RAS Powershell Admin Module

Get-RASAdminSession

NAME

Get-RASAdminSession

SYNOPSIS

Retrieves information about RAS Admin sessions.

SYNTAX

-none-

DESCRIPTION

Retrieves information about RAS Admin sessions.

PARAMETERS

<CommonParameters>

        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 

INPUTS

-none-

OUTPUTS

AdminSession

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAdminSession Retrieves information about RAS Admin sessions.

Get-RASAppPackageSettings

Get-RASAppPackageSettings

Get-RASAuthSettings

NAME

Get-RASAuthSettings

SYNOPSIS

Retrieves connection settings for authentication.

SYNTAX

Get-RASAuthSettings [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves all of the available connection settings for the Authentication category.

PARAMETERS

-SiteId <uint> The site ID. To obtain the ID of a desired site, use the Get-Sites cmdlet.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

RASAuthSettings

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAuthSettings Retrieves RAS authentication settings.

Get-RASAVDPredefinedImages

NAME

Get-RASAVDPredefinedImages

SYNOPSIS

Retrieves the predefined Azure VM images.

SYNTAX

-none-

DESCRIPTION

The cmdlet returns the predefined Azure VM images.

PARAMETERS

<CommonParameters>

        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 

INPUTS

-none-

OUTPUTS

AVDPredefinedVMImage[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDPredefinedImages Retrieves information about the predefined Azure VM images.

Get-RASAVDWorkspace

NAME

Get-RASAVDWorkspace

SYNOPSIS

Retrieves information about an Azure Virtual Desktop Workspace.

SYNTAX

Get-RASAVDWorkspace [[-Id] <uint>] [<CommonParameters>] Get-RASAVDWorkspace [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves information about the specified Azure Virtual Desktop Workspace or all Azure Virtual Desktop Workspaces within a site. This is an Experimental feature which is subject to slight changes.

PARAMETERS

-Name <string> The name of the Azure Virtual Desktop Workspace for which to retrieve the information. This must be the actual Azure Virtual Desktop Workspace name.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop Workspace information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a Azure Virtual Desktop Workspace for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

AVDWorkspace[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDWorkspace -SiteId 1 Retrieves information about all the Azure Virtual Desktop Workspaces found withing the site with ID 1. ---------- EXAMPLE 2 ---------- Get-RASAVDWorkspace "My AVDWorkspace" -SiteId 1 | Format-List Retrieves information about the Azure Virtual Desktop Workspace specified by name from the site with ID 1. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 3 ---------- Get-RASAVDWorkspace -Id 10 Retrieves information about the Azure Virtual Desktop Workspace specified by ID from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter.

Get-RASClientPolicyConnection

NAME

Get-RASClientPolicyConnection

SYNOPSIS

Retrieves the connection list

SYNTAX

Get-RASClientPolicyConnection [-Id] <uint> [<CommonParameters>] Get-RASClientPolicyConnection [[-Name] <string>] [<CommonParameters>]

DESCRIPTION

Retrieves the connection list

PARAMETERS

-Name <string> Name of the client policy for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of the client policy for which to retrieve the information.

        Required?                    true
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

SecondaryConnection[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASClientPolicyConnection -Id 1 Retrieves the following client policy connection with Id=1.

Get-RASClientSettings

NAME

Get-RASClientSettings

SYNOPSIS

Retrieves the Parallels RAS client settings.

SYNTAX

Get-RASClientSettings [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the Parallels RAS client settings.

PARAMETERS

-SiteId <uint> The site ID. To obtain the ID of a desired site, use the Get-Sites cmdlet.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

RASClientSettings

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASClientSettings Retrieves the RAS Farm client settings. ---------- EXAMPLE 2 ---------- Get-RASClientSettings | Format-List Retrieves the RAS client settings.

Add-RASThemeCustomImage

NAME

Add-RASThemeCustomImage

SYNOPSIS

Add a theme custom image.

SYNTAX

Add-RASThemeCustomImage -ImageFile <string> [-Name <string>] [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Add a theme custom image.

PARAMETERS

-Name <string> Theme custom image name.

-SiteId <uint> Site ID in which to create the theme custom image. If the parameter is omitted, the site ID of the Licensing Server will be used.

-ImageFile <string> Image file path of the image to be added to the Theme Custom Images list.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASThemeCustomImage -ImageFile "C:\temp\image.png" Add a theme custom image to the list of theme custom images of the Licensing site.

Add-RASTOTPUsers

NAME

Add-RASTOTPUsers

SYNOPSIS

Import TOTP users from a CSV file.

SYNTAX

Add-RASTOTPUsers - <string> [- <uint>] [<>]

DESCRIPTION

Import TOTP users from a CSV file.

PARAMETERS

-FilePath <string> File path to CSV containing user and secret. Must be in the format "user,secret".

-SiteId <uint> Site ID in where the users will be imported. If the parameter is omitted, the site ID of the Licensing Server will be used.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASTOTPUsers -FilePath "users.csv" Imports TOTP users from file. Operation is done on licensing site. ---------- EXAMPLE 2 ---------- Add-RASTOTPUsers -FilePath "users.csv" -SiteId 2 Imports TOTP users from file. Operation is done on site 2.

RELATED LINKS

Find-RASTOTPUsers

NAME

Find-RASTOTPUsers

SYNOPSIS

Find TOTP users by matching substring.

SYNTAX

Find-RASTOTPUsers - <string> [- <uint>] [<>]

DESCRIPTION

Find TOTP users by matching substring.

PARAMETERS

-SiteId <uint> Site ID where the users will be searched.

-Like <string> Find users matching this pattern.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Find-RASTOTPUsers -Like "@my.domain.local" Find TOTP users matching the pattern "@my.domain.local".

RELATED LINKS

Get-RASADIntegrationSettings

NAME

Get-RASADIntegrationSettings

SYNOPSIS

Obtains AD integration settings.

SYNTAX

Get-RASADIntegrationSettings [- <uint>] [<>]

DESCRIPTION

Obtains the active AD integration settings for the current site.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the AD Integration Settings. To obtain the ID of a desired site, use the Get-Sites cmdlet.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASADIntegrationSettings Obtains the active AD integration settings for the current site.

Get-RASAdminAccount

NAME

Get-RASAdminAccount

SYNOPSIS

Retrieves information about one or multiple Parallels RAS administrator accounts.

SYNTAX

Get-RASAdminAccount [[-] <uint>] [<>] Get-RASAdminAccount [[-] <string>] [<>]

DESCRIPTION

Retrieves information about one or multiple Parallels RAS administrator accounts. The cmdlet returns an array of objects of type RASAdminAccount. To see the complete list of object properties, use the Format-List cmdlet (see examples).

PARAMETERS

-Name <string> The username of a Parallels RAS administrator account for which to retrieve the information.

-Id <uint> The ID of an administrator account for which to retrieve the information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAdminAccount | Format-List Retrieves the list of all available Parallels RAS administrator accounts. The Format-List cmdlet formats the display output to include all available settings for each administrator. ---------- EXAMPLE 2 ---------- Get-RASAdminAccount "username@dom" Retrieves information about an administrator specified by username. ---------- EXAMPLE 3 ---------- Get-RASAdminAccount -Id 1 Retrieves information about an administrator specified by ID.

Get-RASAllowedDevicesSetting

NAME

Get-RASAllowedDevicesSetting

SYNOPSIS

Returns settings for types of allowed clients.

SYNTAX

Get-RASAllowedDevicesSetting [- <uint>] [<>]

DESCRIPTION

Returns settings for types of allowed clients.

PARAMETERS

-SiteId <uint> The site ID. To obtain the ID of a desired site, use the Get-Sites cmdlet.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAllowedDevicesSetting Retrieves settings for each of device types shown in 'Allowed Devices'. The permission of the device is represented as a boolean.

Get-RASAppPackage

NAME

Get-RASAppPackage

SYNOPSIS

Retrieves the application package settings.

SYNTAX

Get-RASAppPackage [-] <uint> [<>] Get-RASAppPackage [[-] <string>] [[-] <uint>] [<>]

DESCRIPTION

Retrieves the application package settings.

PARAMETERS

-Name <string> The name of the application package from which to retrieve the information. This must be the actual application package name used in the RAS farm.

-SiteId <uint> The ID of the Site from which to retrieve the application package information. If the parameter is omitted, the Licensing Server Site ID will be used.

-Id <uint> The ID of an application package from which to retrieve the information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAppPackage Retrieves the list of Application Packages. ---------- EXAMPLE 2 ---------- Get-RASAppPackage -Id 1 Retrieves the Application Package with Id 1.

Get-RASAVDCustomHost

NAME

Get-RASAVDCustomHost

SYNOPSIS

The cmdlet returns an object of type Azure Virtual Desktop Custom Host.

SYNTAX

Get-RASAVDCustomHost - <uint> [- <SwitchParameter>] [- <uint>] [<>]

DESCRIPTION

The cmdlet returns an object of type Azure Virtual Desktop Custom Host.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop VMSize information. If the parameter is omitted, the Licensing Server site ID will be used.

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop Custom Host information.

-ShowHostsInHostPool <SwitchParameter> Show Hosts in existing host pools.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDCustomHost -ProviderId 2 | Format-List Retrieves all the Custom Hosts under Provider with ID 2 from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ---------- Get-RASAVDCustomHost -ProviderId 2 -SiteId 1 Retrieves all the Custom Hosts under Provider with ID 2 from site with ID 1.

Get-RASAVDDefaultSettings

NAME

Get-RASAVDDefaultSettings

SYNOPSIS

Retrieves default settings used to configure AVD.

SYNTAX

Get-RASAVDDefaultSettings [[-] <uint>] - {AVDMultiSessionDefaultSettings | AVDSingleSessionDefaultSettings} [<>]

DESCRIPTION

Retrieves default settings used to configure AVD. Default settings are defined on a site level and are applied to a AVD when it is initially created. This is an Experimental feature which is subject to slight changes.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the defaults. If the parameter is omitted, the site ID of the Licensing Server will be used.

-DefObjType <> The Default Object Type Possible values: AVDMultiSessionDefaultSettings, AVDSingleSessionDefaultSettings

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDDefaultSettings -DefObjType AVDSingleSessionDefaultSettings Retrieves default Personal AVD settings from the specified site. ---------- EXAMPLE 2 ---------- Get-RASAVDDefaultSettings -DefObjType AVDMultiSessionDefaultSettings Retrieves default Pooled AVD settings from the specified site.

Get-RASAVDGallery

NAME

Get-RASAVDGallery

SYNOPSIS

The cmdlet returns a list of Azure Virtual Desktop Galleries.

SYNTAX

Get-RASAVDGallery - <uint> [<>]

DESCRIPTION

The cmdlet returns a list of Azure Virtual Desktop Galleries.

PARAMETERS

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop Gallery information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDGallery -ProviderId 2 Retrieves a list of Galleries which fall under the Provider specified.

Get-RASAVDHostPool

NAME

Get-RASAVDHostPool

SYNOPSIS

Retrieves information about one or multiple Azure Virtual Desktop Host Pool properties.

SYNTAX

Get-RASAVDHostPool [[-] <uint>] [<>] Get-RASAVDHostPool [[-] <string>] [[-] <uint>] [<>]

DESCRIPTION

The cmdlet returns an object of type Azure Virtual Desktop Host Pool properties. To see the complete list of object properties, use the Format-List cmdlet (see examples). The result set contains only the major properties of a pool; it does not include the complete list of settings supported in RAS.

PARAMETERS

-Name <string> The name of the Azure Virtual Desktop Host Pool for which to retrieve the information. This must be the actual AVD Host Pool name used in the RAS farm.

-SiteId <uint> Site ID from which to retrieve the AVD Host Pool information. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a Azure Virtual Desktop Host Pool for which to retrieve the information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDHostPool -Name "My AVDHostPool" | Format-List Retrieves information about the AVD Host Pool properties specified by name from the Licensing Server site. ---------- EXAMPLE 2 ---------- Get-RASAVDHostPool -Id 10 Retrieves information about the AVD Host Pool specified by ID from the Licensing Server site.

Get-RASAVDLocation

NAME

Get-RASAVDLocation

SYNOPSIS

The cmdlet returns an object of type Azure Virtual Desktop Location.

SYNTAX

Get-RASAVDLocation - <uint> [- <uint>] [<>]

DESCRIPTION

The cmdlet returns an object of type Azure Virtual Desktop Location. This is an Experimental feature which is subject to slight changes.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop Location information. If the parameter is omitted, the Licensing Server site ID will be used.

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop Location information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDLocation -ProviderId 2 | Format-List Retrieves all the Locations under Provider with ID 2 from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ---------- Get-RASAVDLocation -ProviderId 2 -SiteId 1 Retrieves all the Locations under Provider with ID 2 from site with ID 1.

Get-RASAVDPublisher

NAME

Get-RASAVDPublisher

SYNOPSIS

The cmdlet returns a list of Azure Virtual Desktop Publishers.

SYNTAX

Get-RASAVDPublisher - <string> - <uint> [- <uint>] [<>]

DESCRIPTION

The cmdlet returns a list of Azure Virtual Desktop Publishers.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop VMSize information. If the parameter is omitted, the Licensing Server site ID will be used.

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop VMSize information.

-Location <string> Location of the Azure Virtual Desktop Provider.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDPublisher -ProviderId 2 -Location "westeurope" | Format-List Retrieves all the Publishers under Azure Virtual Desktop Provider with ID 2 and Location westeurope, from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ---------- Get-RASAVDPublisher -ProviderId 1 -Location "westeurope" -SiteId 2 Retrieves all the Publishers under Azure Virtual Desktop Provider with ID 2 and Location westeurope, from the Site with ID 2.

Get-RASAVDResourceGroup

NAME

Get-RASAVDResourceGroup

SYNOPSIS

The cmdlet returns an object of type Azure Virtual Desktop Resource Group.

SYNTAX

Get-RASAVDResourceGroup - <uint> [- <uint>] [<>]

DESCRIPTION

The cmdlet returns an object of type Azure Virtual Desktop Resource Group. This is an Experimental feature which is subject to slight changes.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop Resource Group information. If the parameter is omitted, the Licensing Server site ID will be used.

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop Resource Group information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDResourceGroup -ProviderId 2 | Format-List Retrieves all the Resource Groups under Provider with ID 2 from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ---------- Get-RASAVDResourceGroup -ProviderId 2 -SiteId 1 Retrieves all the Resource Groups under Provider with ID 2 from site with ID 1.

Get-RASAVDSettings

NAME

Get-RASAVDSettings

SYNOPSIS

Retrieves the AVD Features settings.

SYNTAX

Get-RASAVDSettings [- <uint>] [<>]

DESCRIPTION

Retrieves the Azure Virtual Desktop Features settings. This is an Experimental feature which is subject to slight changes.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the AVD settings. If the parameter is omitted, the Licensing Server site ID will be used.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDSettings Retrieves the AVD Features Settings.

Get-RASAVDVirtualNetwork

NAME

Get-RASAVDVirtualNetwork

SYNOPSIS

The cmdlet returns a list of Azure Virtual Desktop Virtual Network.

SYNTAX

Get-RASAVDVirtualNetwork - <string> - <uint> [- <uint>] [<>]

DESCRIPTION

The cmdlet returns a list of Azure Virtual Desktop Virtual Network.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop Virtual Network information. If the parameter is omitted, the Licensing Server site ID will be used.

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop Virtual Network information.

-Location <string> Location of the Azure Virtual Desktop Provider.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDVirtualNetwork -ProviderId 2 -Location "westeurope" | Format-List Retrieves all the Virtual Networks found under Provider with ID 2 and Location westeurope, from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ---------- Get-RASAVDVirtualNetwork -ProviderId 2 -Location "westeurope" -SiteId 1 Retrieves all the Virtual Networks found under Provider with ID 2 and Location westeurope, from site with ID 1.

Get-RASBrokerAutoPromotionSettings

NAME

Get-RASBrokerAutoPromotionSettings

SYNOPSIS

Obtains Parallels RAS Broker Auto Promotion settings.

SYNTAX

Get-RASBrokerAutoPromotionSettings [[-] <uint>] [<>]

DESCRIPTION

The Get-RASBrokerAutoPromotionSettings cmdlet obtains the complete set of Parallels RAS Broker Auto Promotion settings for the current session.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the specified RAS Auto Promotion settings. If the parameter is omitted, the site ID of the Licensing Server will be used.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASBrokerAutoPromotionSettings Obtains Parallels RAS Auto Promote settings for the current session.

Get-RASClientPolicyAssignment

NAME

Get-RASClientPolicyAssignment

SYNOPSIS

Retrieves information about a client policy assignment.

SYNTAX

Get-RASClientPolicyAssignment [-] <uint> [<>] Get-RASClientPolicyAssignment [-] <string> [<>]

DESCRIPTION

Retrieves information about a client policy assignment.

PARAMETERS

-Name <string> Name of the client policy for which to retrieve the information.

-Id <uint> The ID of the client policy for which to retrieve the information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASClientPolicyAssignment -Name PDFPolicy Retrieves information about the assignment from a client policy named PDFPolicy.

Get-RASClientPolicy

NAME

Get-RASClientPolicy

SYNOPSIS

Retrieves information about one or all the client policies.

SYNTAX

Get-RASClientPolicy [-] <uint> [<>] Get-RASClientPolicy [[-] <string>] [<>]

DESCRIPTION

Retrieves information about one or all the client policies.

PARAMETERS

-Name <string> Name of the client policy for which to retrieve the information.

-Id <uint> The ID of the client policy for which to retrieve the information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASClientPolicy -Name PDFPolicy Retrieves information about the client policy named PDFPolicy. ---------- EXAMPLE 2 ---------- Get-RASClientPolicy Retrieves information about all the client policies.

Get-RASCPUOptimizationSettings

NAME

Get-RASCPUOptimizationSettings

SYNOPSIS

Obtains Parallels RAS CPU Optimization settings.

SYNTAX

Get-RASCPUOptimizationSettings [- <uint>] [<>]

DESCRIPTION

The Get-RASCPUOptimizationSettings cmdlet obtains the complete set of CPU optimization settings for the current session.

PARAMETERS

-SiteId <uint> The site ID. To obtain the ID of a desired site, use the Get-Sites cmdlet.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCPUOptimizationSettings Obtains Parallels RAS CPU optimization settings for the current session.

Get-RASEnrollmentServer

NAME

Get-RASEnrollmentServer

SYNOPSIS

Retrieves information about one or multiple Enrollment servers.

SYNTAX

Get-RASEnrollmentServer [[-] <uint>] [<>] Get-RASEnrollmentServer [[-] <string>] [[-] <uint>] [<>]

DESCRIPTION

Retrieves information about one or multiple Enrollment servers.

PARAMETERS

-Server <string> The name of the enrollment server for which to retrieve the information. This must be the actual enrollment server name used in the RAS farm.

-SiteId <uint> Site ID from which to retrieve the enrollment server If the parameter is omitted, the licensing server site ID will be used.

-Id <uint> ID of an enrollment server for which to retrieve the information.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASEnrollmentServer -Id 10 Retrieves information about the Enrollment server specified by its ID

Get-RASCurrentAdminPermissions

NAME

Get-RASCurrentAdminPermissions

SYNOPSIS

Retrieve information about the current admin permissions.

SYNTAX

-none-

DESCRIPTION

The cmdlet returns the current admin permissions.

PARAMETERS

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCurrentAdminPermissions Retrieves information about the current admin permissions.

Get-RASFarmSettings

NAME

Get-RASFarmSettings

SYNOPSIS

Retrieves the Parallels RAS Farm settings.

SYNTAX

Get-RASFarmSettings [- <uint>] [<>]

DESCRIPTION

Retrieves the Parallels RAS Farm settings. To see the complete list of farm properties, use the Format-List cmdlet (see examples).

PARAMETERS

-SiteId <uint> The site ID. To obtain the ID of a desired site, use the Get-Sites cmdlet.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASFarmSettings Retrieves the RAS Farm settings. ---------- EXAMPLE 2 ---------- Get-RASFarmSettings | Format-List Retrieves the RAS Farm settings. The Format-List cmdlet formats the display output to include all available farm properties.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
FilePath
SiteId
CommonParameters
Find-RASTOTPUsers
Reset-RASTOTPUsers
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Like
SiteId
CommonParameters
Add-RASTOTPUsers
Reset-RASTOTPUsers
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
SiteId
CommonParameters
ADIntegrationSettings
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
Name
CommonParameters
AdminAccount
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
SiteId
CommonParameters
RASAllowedDevicesSetting
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
Name
SiteId
CommonParameters
AppPackage
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
ProviderId
ShowHostsInHostPool
SiteId
CommonParameters
AVDCustomHost[]
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
SiteId
DefObjType
CommonParameters
AVDDefObjType
AVDDefaultSettings
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
ProviderId
CommonParameters
AVDGallery[]
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
Name
SiteId
CommonParameters
AVDHostPool
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
ProviderId
SiteId
CommonParameters
AVDLocation[]
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Location
ProviderId
SiteId
CommonParameters
AVDPublisher[]
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
ProviderId
SiteId
CommonParameters
AVDResourceGroup[]
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
SiteId
CommonParameters
AVDFeaturesSettings
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Location
ProviderId
SiteId
CommonParameters
AVDVirtualNetwork[]
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
SiteId
CommonParameters
BrokerAutoPromotion
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
Name
CommonParameters
ClientPolicyAssignment
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
Name
CommonParameters
ClientRules
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
SiteId
CommonParameters
CPUOptimizationSettings
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
Server
SiteId
CommonParameters
EnrollmentServer
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
CurrentAdminPermissions
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
SiteId
CommonParameters
RASFarmSettings

Add-RASPrintingAutoInstallFont

NAME

Add-RASPrintingAutoInstallFont

SYNOPSIS

Adds an Auto install font to Parallels RAS Universal Printing settings.

SYNTAX

Add-RASPrintingAutoInstallFont -FontFilePath <string> [-ExcludeFont <SwitchParameter>] [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Adds an Auto install font to Parallels RAS Universal Printing settings.

PARAMETERS

-SiteId <uint> The site ID. To obtain the ID of a desired site, use the Get-Sites cmdlet.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-FontFilePath <string> Auto Install Font Path.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ExcludeFont <SwitchParameter> Automatically Exclude Font from embedding.

        Required?                    false
        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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASPrintingAutoInstallFont -FontFilePath "C:\Windows\Fonts\arialbd.ttf" Adds the font to RAS Universal Printing Auto install fonts settings. ---------- EXAMPLE 2 ---------- Add-RASPrintingAutoInstallFont -FontFilePath "C:\Windows\Fonts\arialbd.ttf" -ExcludeFont Adds the font to RAS Universal Printing Auto install fonts settings and adds the font to the embedding exclusion list.

RELATED LINKS

  • Get-RASPrintingSettings

  • Set-RASPrintingSettings

  • Get-RASPrintingAutoInstallFont

  • Remove-RASPrintingAutoInstallFont

Add-RASThemeGroupFilter

NAME

Add-RASThemeGroupFilter

SYNOPSIS

Adds a new group filter to the theme group filters

SYNTAX

Add-RASThemeGroupFilter [-Id] <uint> [-GroupName <string>] [-GroupSID <string>] [<CommonParameters>] Add-RASThemeGroupFilter [-Name] <string> [-GroupName <string>] [-GroupSID <string>] [<CommonParameters>]

DESCRIPTION

Adds a new group filter to the theme group filters

PARAMETERS

-GroupName <string> The name of the group list

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-GroupSID <string> The group SID

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> Name of the Theme policy to modify. This must be the actual Theme policy name used in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of the Theme policy to modify. To obtain the ID, use the Get-RASTheme cmdlet.

        Required?                    true
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASThemeGroupFilter -Id 1 -GroupName GroupListName Adds a group filter with name GroupListName for theme with Id 1.

RELATED LINKS

  • Get-RASThemeGroupFilter

  • Remove-RASThemeGroupFilter

Copy-RASPubItem

NAME

Copy-RASPubItem

SYNOPSIS

Copy a Published item.

SYNTAX

Copy-RASPubItem -Id <uint> [-ParentId <uint>] [-PreviousId <uint>] [<CommonParameters>] Copy-RASPubItem [-InputObject] <PubItem> [-ParentId <uint>] [-PreviousId <uint>] [<CommonParameters>]

DESCRIPTION

Copy (duplicate) a published item.

PARAMETERS

-Id <uint> ID of Pub item to duplicate. To obtain the pub item ID, use the Get-PubItem command.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <PubItem> The published item object. To obtain a PubItem object representing a published item, use the Get-PubItem command.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-ParentId <uint> ID of a new parent published item. To obtain the published item ID, use the Get-PubItem command.

        Required?                    false
        Position?                    named
        Default value                4294967295
        Accept pipeline input?       false
        Accept wildcard characters?  false

-PreviousId <uint> ID of a sibling item after which to place the specified published item. To obtain the sibling item ID, use the Get-PubItem command.

        Required?                    false
        Position?                    named
        Default value                4294967295
        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 . 

INPUTS

PubItem

OUTPUTS

PubItem

EXAMPLES

---------- EXAMPLE 1 ---------- Copy-RASPubItem -Id 5 -ParentId 12 Duplicate the specified published item and it under the specified parent (ParentId). To obtain the parent item ID, use the Get-RASPubItem cmdlet. ---------- EXAMPLE 2 ---------- Copy-RASPubItem -Id 10 -ParentId 12 -PreviousId 22 Duplicate a published item and place it under the specified parent (ParentId) and after the specified sibling item (PreviousId). To obtain the parent item ID, use the Get-RASPubItem cmdlet. ---------- EXAMPLE 3 ---------- $PubItem | Copy-RASPubItem -ParentId 12 Invoke the duplicate pub item command, which is identified by an object obtained from the pipeline output. To obtain the parent item ID, use the Get-RASPubItem cmdlet.

RELATED LINKS

  • Get-RASPubItem

Get-RASAppPackageAvailVersions

NAME

Get-RASAppPackageAvailVersions

SYNOPSIS

Retrieves the application package version.

SYNTAX

Get-RASAppPackageAvailVersions [-Name] <string> [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the application package version.

PARAMETERS

-Name <string> The name of the application package for which to retrieve the available versions. This must be the actual application package name used in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> The ID of the Site from which to retrieve the available application package versions. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

AppPackageVersion[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAppPackageAvailVersions Retrieves the list of application package versions. ---------- EXAMPLE 2 ---------- Get-RASAppPackageAvailVersions -Name "MSIX_APP_PACKAGE" Retrieves the version of the application package named AppPackage1.

Get-RASAVDHost

NAME

Get-RASAVDHost

SYNOPSIS

The cmdlet returns an object of type Azure Virtual Desktop Host properties.

SYNTAX

Get-RASAVDHost [[-SiteId] <uint>] [-ProviderId <uint>] [<CommonParameters>] Get-RASAVDHost [-VMId] <string> [[-SiteId] <uint>] -ProviderId <uint> [<CommonParameters>]

DESCRIPTION

To see the complete list of object properties, use the Format-List cmdlet (see examples). The result set contains only the major properties of a group; it does not include the complete list of settings supported in RAS. This is an Experimental feature which is subject to slight changes.

PARAMETERS

-VMId <string> The ID of the VM for which to retrieve the information.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ProviderId <uint> Provider Id from which to retrieve the AVD Host.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the AVD Host. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

AVDHost[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDHost -VMID "42311235-09c5-ca15-337d-b9723015edf0" -ProviderID 1 Retrieves information about the Azure Virtual Desktop Host properties specified by the VMId and ProviderId. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available group properties. ---------- EXAMPLE 2 ---------- Get-RASAVDHost -ProviderID 1 Retrieves all the Azure Virtual Desktop Hosts found within the Provider with Id 1.

Get-RASAVDHostPoolAssignment

NAME

Get-RASAVDHostPoolAssignment

SYNOPSIS

Retrieves the AVD Host Pool Assignment List.

SYNTAX

Get-RASAVDHostPoolAssignment [[-Id] <uint>] [<CommonParameters>] Get-RASAVDHostPoolAssignment [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the AVD Host Pool Assignment List within the AVD Host Pool.

PARAMETERS

-Name <string> The name of the Azure Virtual Desktop Host Pool for which to retrieve the information. This must be the actual AVD Host Pool name used in the RAS farm.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the AVD Host Pool information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a Azure Virtual Desktop Host Pool for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

Assignment[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDHostPoolAssignment -Id 1 -ObjType MFA Retrieves the AVD Host Pool Assignment List within the AVD Host Pool Settings specified by ID. ---------- EXAMPLE 2 ---------- Get-RASAVDHostPoolAssignment -Name "Logon1" -ObjType MFA Retrieves the AVD Host Pool Assignment List within the AVD Host Pool Settings specified by Name.

Get-RASAVDHostPool

NAME

Get-RASAVDHostPool

SYNOPSIS

Retrieves information about one or multiple Azure Virtual Desktop HostPool properties.

SYNTAX

Get-RASAVDHostPool [[-Id] <uint>] [<CommonParameters>] Get-RASAVDHostPool [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

The cmdlet returns an object of type Azure Virtual Desktop HostPool properties. To see the complete list of object properties, use the Format-List cmdlet (see examples). The result set contains only the major properties of a pool; it does not include the complete list of settings supported in RAS. This is an Experimental feature which is subject to slight changes.

PARAMETERS

-Name <string> The name of the Azure Virtual Desktop Host Pool for which to retrieve the information. This must be the actual AVD Host Pool name used in the RAS farm.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the AVD Host Pool information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a Azure Virtual Desktop Host Pool for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

AVDHostPool

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDHostPool -Name "My AVDHostPool" | Format-List Retrieves information about the AVDHostPool properties specified by name from the Licensing Server site. ---------- EXAMPLE 2 ---------- Get-RASAVDHostPool -Id 10 Retrieves information about the AVDHostPool specified by ID from the Licensing Server site.

Get-RASAVDHostPoolAssignment

NAME

Get-RASAVDHostPoolAssignment

SYNOPSIS

Retrieves the Azure Virtual Desktop Host Pool Assignment List.

SYNTAX

Get-RASAVDHostPoolAssignment [[-Id] <uint>] [<CommonParameters>] Get-RASAVDHostPoolAssignment [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the Azure Virtual Desktop Host Pool Assignment List within an Azure Virtual Desktop Host Pool.

PARAMETERS

-Name <string> The name of the Azure Virtual Desktop Host Pool for which to retrieve the information. This must be the actual AVD Host Pool name used in the RAS farm.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the AVD Host Pool information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a Azure Virtual Desktop Host Pool for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

Assignment[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDHostPoolAssignment -Id 1 -ObjType MFA Retrieves the AVD Host Pool Assignment List within the AVD Host Pool Settings specified by ID. ---------- EXAMPLE 2 ---------- Get-RASAVDHostPoolAssignment -Name "Logon1" -ObjType MFA Retrieves the AVD Host Pool Assignment List within the AVD Host Pool Settings specified by Name.

Get-RASAVDSKU

NAME

Get-RASAVDSKU

SYNOPSIS

The cmdlet returns a list of Azure Virtual Desktop Stock Keeping Units.

SYNTAX

Get-RASAVDSKU -Location <string> -Offer <string> -ProviderId <uint> -Publisher <string> [<CommonParameters>]

DESCRIPTION

The cmdlet returns a list of Azure Virtual Desktop Stock Keeping Units.

PARAMETERS

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop Stock Keeping Unit information.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Location <string> Location of the Azure Virtual Desktop Provider.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Publisher <string> The Azure Virtual Desktop Publisher.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Offer <string> The Azure Virtual Desktop Offer.

        Required?                    true
        Position?                    named
        Default value                
        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 . 

INPUTS

-none-

OUTPUTS

AVDSKU[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDSKU -ProviderId 2 -Location "westeurope" -Publisher "my-publisher" -Offer "my-offer" Retrieves a list of Stock Keeping Units which fall under the Provider, Location, Publisher and Offer specified.

RELATED LINKS

-none-

Get-RASAVDWorkspaceStatus

NAME

Get-RASAVDWorkspaceStatus

SYNOPSIS

Retrieves the status of one or multiple AVD Workspaces.

SYNTAX

Get-RASAVDWorkspaceStatus [[-Id] <uint>] [<CommonParameters>] Get-RASAVDWorkspaceStatus [[-InputObject] <AVDWorkspace>] [<CommonParameters>] Get-RASAVDWorkspaceStatus [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves information about the status of one or multiple AVD Workspaces. The cmdlet returns an object of type AVDWorkspaceStatus. To see the complete list of object properties, use the Format-List cmdlet (see examples). The result set contains only the major properties of a group; it does not include the complete list of settings supported in RAS.

PARAMETERS

-InputObject <AVDWorkspace> An object of type AVDWorkspace representing the AVD Workspace. To obtain the object, use the Get-RASAVDWorkspace cmdlet.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-Name <string> The name of the Azure Virtual Desktop Workspace for which to retrieve the information. This must be the actual Azure Virtual Desktop Workspace name.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop Workspace information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a Azure Virtual Desktop Workspace for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

AVDWorkspace

OUTPUTS

AVDWorkspaceStatus

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDWorkspaceStatus -ID 1 | Format-List Retrieves the status of the Workspace specified by Id. The Format-List cmdlet formats the display output to include all available Workspace properties.

Get-RASBroker

NAME

Get-RASBroker

SYNOPSIS

Retrieves information about one or multiple RAS Connection Broker servers.

SYNTAX

Get-RASBroker [[-Id] <uint>] [<CommonParameters>] Get-RASBroker [[-Server] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the information about one or multiple RAS Connection Broker servers. It returns an array of objects of type Broker, each containing properties of a RAS Connection Broker server. To see the complete list of object properties, use the Format-List cmdlet (see examples). Note: the result set contains only the major server properties; it does not include all of the settings supported in RAS.

PARAMETERS

-Server <string> The name of the RAS Connection Broker server for which to retrieve the information. This must be the actual server name used in the Parallels RAS farm.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the RAS Connection Broker server information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of the RAS Connection Broker server for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

Broker

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASBroker "server.company.dom" | Format-List Retrieves properties of the specified RAS Connection Broker server. The Format-List cmdlet formats the display output to include all available server properties. ---------- EXAMPLE 2 ---------- Get-RASBroker -Id 5 Retrieves properties of the RAS Connection Broker server specified by ID.

Get-RASAVDVersion

NAME

Get-RASAVDVersion

SYNOPSIS

The cmdlet returns a list of Azure Virtual Desktop Versions.

SYNTAX

Get-RASAVDVersion -Location <string> -Offer <string> -ProviderId <uint> -Publisher <string> -SKU <string> [<CommonParameters>]

DESCRIPTION

The cmdlet returns a list of Azure Virtual Desktop Versions.

PARAMETERS

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop Stock Keeping Unit information.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Location <string> Location of the Azure Virtual Desktop Provider.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Publisher <string> The Azure Virtual Desktop Publisher.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Offer <string> The Azure Virtual Desktop Offer.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SKU <string> The Azure Virtual Desktop SKU.

        Required?                    true
        Position?                    named
        Default value                
        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 . 

INPUTS

-none-

OUTPUTS

AVDMarketplaceVersion[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDVersion -ProviderId 2 -Location "westeurope" -Publisher "my-publisher" -Offer "my-offer" -SKU "my-sku" Retrieves a list of Versions which fall under the Provider, Location, Publisher, Offer and SKU specified.

Get-RASCertificate

NAME

Get-RASCertificate

SYNOPSIS

Retrieves information about one or multiple Certificates.

SYNTAX

Get-RASCertificate [[-Id] <uint>] [<CommonParameters>] Get-RASCertificate [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves information about one or multiple Certificates.

PARAMETERS

-Name <string> The name of the Certificate for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Certificate information.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a Certificate for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

Certificate

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCertificate Retrieves information about all the Certificates from the Licensing Server site. ---------- EXAMPLE 2 ---------- Get-RASCertificate -Name "Cert" Retrieves information about the Certificate specified by Name from the Licensing Server site. ---------- EXAMPLE 3 ---------- Get-RASCertificate -Id 1 Retrieves information about the Certificate specified by ID from the Licensing Server site.

Get-RASCustomRoute

NAME

Get-RASCustomRoute

SYNOPSIS

Retrieves information about one or multiple custom routes.

SYNTAX

Get-RASCustomRoute [[-Id] <uint>] [<CommonParameters>] Get-RASCustomRoute [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves information about one or multiple custom routes. The cmdlet returns an object of type CustomRoute. Custom routes are used within published item preferred routing settings.

PARAMETERS

-Name <string> The name of the Custom Route for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Custom Route information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a Custom Route for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

CustomRoute

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCustomRoute -Name "My Custom Route" Retrieves information about the Custom Route specified by name from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. ---------- EXAMPLE 2 ---------- Get-RASCustomRoute -Id 10 Retrieves information about the Custom Route specified by ID from the Licensing Server site.

Get-RASCustomPermission

NAME

Get-RASCustomPermission

SYNOPSIS

Retrieves the permissions of a RAS custom admin account.

SYNTAX

Get-RASCustomPermission [-AdminId] <uint> [<CommonParameters>]

DESCRIPTION

Retrieves the permissions of a RAS custom admin account.

PARAMETERS

-AdminId <uint> Admin ID to retrieve the specified RAS Custom Administrator Account.

        Required?                    true
        Position?                    0
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

CustomPermission

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCustomPermission -AdminId 100 Retrieves the permissions of a custom administrator specified by ID.

Add-RASAppPackageAssigned

NAME

Add-RASAppPackageAssigned

SYNOPSIS

Assigns an application package to an object type.

SYNTAX

Add-RASAppPackageAssigned -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -PackageName <string> -Version <string> [-SiteId <uint>] [<CommonParameters>] Add-RASAppPackageAssigned [-Id] <uint> -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -PackageName <string> -Version <string> [<CommonParameters>] Add-RASAppPackageAssigned [-InputObject] <RASSerilazableObj> -PackageName <string> -Version <string> [<CommonParameters>] Add-RASAppPackageAssigned [-Name] <string> [[-SiteId] <uint>] -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -PackageName <string> -Version <string> [<CommonParameters>]

DESCRIPTION

Adds assigned application package to an object type.

PARAMETERS

-Name <string> The name for which to modify the application package assigned settings.

-SiteId <uint> Site ID from which to modify the application package assigned settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID for which to modify the Application Package assigned settings.

-ObjType <AppPackageAssignedObjType> The Object Type for which to modify the assigned application package settings. Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool

-DefObjType <ServerDefObjType> The Default Object Type for which to modify the application package settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

-InputObject <RASSerilazableObj> An object of type RDS, RDSHostPool or VDIHostPool for which to modify the Assigned Application settings.

-PackageName <string> The application package name. This must be the actual application package name used in the RAS farm.

-Version <string> The version of the application package. This must be the actual application package version used in the RAS farm.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASAppPackageAssigned -Id 3 -ObjType VDIPool -PackageName Mozilla.MozillaFireFox -Version 99.0.0.0 Adds the assigned application package to the object type VDIPool.

RELATED LINKS

Add-RASAVDHostPoolAssignment

Add-RASAVDHostPoolAssignment

NAME

Add-RASAVDHostPoolAssignment

SYNOPSIS

Adds a user or group to the AVD Host Pool Assignment List.

SYNTAX

Add-RASAVDHostPoolAssignment [-Id] <uint> [-Account <string>] [-SID <string>] [<CommonParameters>] Add-RASAVDHostPoolAssignment [-InputObject] <AVDHostPool> [-Account <string>] [-SID <string>] [<CommonParameters>] Add-RASAVDHostPoolAssignment [-Name] <string> [[-SiteId] <uint>] [-Account <string>] [-SID <string>] [<CommonParameters>]

DESCRIPTION

Adds a user or group to the AVD Host Pool Assignment List within an AVD Host Pool.

PARAMETERS

-Id <uint> ID for which to modify the Azure Virtual Desktop Host Pool settings.

-Name <string> The name of the target Azure Virtual Desktop Host Pool settings. This must be the actual Azure Virtual Desktop Host Pool name used in the RAS farm.

-SiteId <uint> Site ID in which to modify the specified Azure Virtual Desktop Host Pool settings . If the parameter is omitted, the site ID of the Licensing Server will be used.

-InputObject <AVDHostPool> An object of type AVDHostPool for which to modify settings.

-Account <string> The name of the account to add to the Assignments.

-SID <string> The SID of the account to add to the Assignments.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASAVDHostPoolAssignment -Id 1 -Account "JaneDoe" Adds a user to the AVD Host Pool Assignment List within the AVD Host Pool Settings specified by ID. ---------- EXAMPLE 2 ---------- Add-RASAVDHostPoolAssignment -Name "Logon1" -Account "SID://DOMAIN/JaneDoe" Adds a user to the AVD Host Pool Assignment List within the AVD Host Pool Settings specified by Name.

Add-RASCriteriaGatewayIP

NAME

Add-RASCriteriaGatewayIP

SYNOPSIS

Adds a Gateway IP to the Criteria Gateway List.

SYNTAX

Add-RASCriteriaGatewayIP [-DefObjType] {MFA} [[-SiteId] <uint>] [-GatewayId <uint>] [-IP <string>] [<CommonParameters>] Add-RASCriteriaGatewayIP [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-GatewayId <uint>] [-IP <string>] [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaGatewayIP [-InputObject] <RASListObj> [-GatewayId <uint>] [-IP <string>] [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaGatewayIP [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-GatewayId <uint>] [-IP <string>] [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Adds a Gateway IP to the Criteria Gateway List within the Criteria settings of a ClientPolicy, MFA or PubItem.

PARAMETERS

-IP <string> The IP of the gateway to add to the Criteria.

-GatewayId <uint> The ID of the gateway to add to the Criteria.

-Name <string> The name or server for which to modify the Criteria settings.

-SiteId <uint> Site ID for which to modify the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the Criteria settings.

-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to modify.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASCriteriaGatewayIP -Id 1 -ObjType MFA -IP "1.2.3.4" Adds the specified Gateway IP to the Criteria Gateway List within the Criteria Settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Add-RASCriteriaGatewayIP -Name "Logon1" -ObjType MFA -GatewayId 1 Adds the IP from the Gateway with specified ID to the Criteria Gateway List within the Criteria Settings of the specified MFA by Name.

RELATED LINKS

Add-RASCriteriaHardwareID

NAME

Add-RASCriteriaHardwareID

SYNOPSIS

Adds a Hardware ID to the Criteria Hardware ID List.

SYNTAX

Add-RASCriteriaHardwareID [-DefObjType] {MFA} [[-SiteId] <uint>] -HardwareID <string> [<CommonParameters>] Add-RASCriteriaHardwareID [-Id] <uint> -HardwareID <string> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaHardwareID [-InputObject] <RASListObj> -HardwareID <string> [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaHardwareID [-Name] <string> [[-SiteId] <uint>] -HardwareID <string> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Adds a Hardware ID to the Criteria Hardware ID List within the Criteria settings of a ClientPolicy, MFA or PubItem.

PARAMETERS

-HardwareID <string> The hardware ID to add to the Criteria.

-Name <string> The name or server for which to modify the Criteria settings.

-SiteId <uint> Site ID for which to modify the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the Criteria settings.

-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to modify.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASCriteriaHardwareID -Id 1 -ObjType MFA -HardwareID "D4-3D-7E-BF-4B-DC" Adds the specified Hardware ID to the Criteria Hardware ID List within the Criteria Settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Add-RASCriteriaHardwareID -Name "Logon1" -ObjType MFA -HardwareID "D4-3D-7E-BF-4B-DC" Adds the specified Hardware ID to the Criteria Hardware ID List within the Criteria Settings of the specified MFA by Name.

RELATED LINKS

Add-RASHALBDevice

NAME

Add-RASHALBDevice

SYNOPSIS

Add a new HALB Device to the specific HALB Virtual Server instance.

SYNTAX

Add-RASHALBDevice [[-] <uint>] [-] <string> [[-] <SwitchParameter>] [<>] Add-RASHALBDevice [-] <> [-] <string> [[-] <SwitchParameter>] [<>] Add-RASHALBDevice [-] <string> [[-] <uint>] [-] <string> [[-] <SwitchParameter>] [<>]

DESCRIPTION

Add a new HALB Device to the specific HALB Virtual Server instance.

PARAMETERS

-HALBName <string>

-SiteId <uint>

-HALBId <uint>

-DeviceIP <string>

-NoInstall <SwitchParameter>

-InputObject <> An object of type HALBSettings. The object is obtained using the Get-RASHALB cmdlet.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASHALBDevice -HALBId 1 -DeviceIP "1.2.3.4" Adds the HALB Device to a specific HALB Virtual Server instance by id. ---------- EXAMPLE 2 ---------- Add-RASHALBDevice -HALBName "HALB-VS" -SiteId 1 -DeviceIP "1.2.3.4" Adds the HALB Device to a specific HALB Virtual Server instance by name.

RELATED LINKS

Add-RASPubAppFileExt

NAME

Add-RASPubAppFileExt

SYNOPSIS

Adds a file extension for the specified published application.

SYNTAX

Add-RASPubAppFileExt [-] <uint> - <string> [- <uint>] [<>] Add-RASPubAppFileExt [-] <> - <string> [- <uint>] [<>]

DESCRIPTION

This cmdlet only allows you to add a file extension. To modify other file extensions, use the Set-RASPubAppFileExt cmdlet.

PARAMETERS

-Extension <string> The file extension that will be added/modified.

-Id <uint> Published resource ID.

-InputObject <> An object specifying the published resource. To obtain the object, use the Get-PubItem cmdlet.

-SiteId <uint> Site ID.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASPubAppFileExt -Id 3 -Extension "txt" Adds the specified file extension for the resource specified by ID.

RELATED LINKS

Add-RASTemplateLicenseKey

NAME

Add-RASTemplateLicenseKey

SYNOPSIS

Modifies properties of a RAS Template license key.

SYNTAX

Add-RASTemplateLicenseKey [-] <uint> - <string> - <uint> - {RDSTemplate | VDITemplate | AVDTemplate} [<>] Add-RASTemplateLicenseKey [-] <> - <string> - <uint> [<>]

DESCRIPTION

Modifies properties of a license key used by a RAS Template.

PARAMETERS

-Id <uint> The ID of a RAS Template to modify.

-ObjType <> The Object Type for which to add Template License Key. Possible values: RDSTemplate, VDITemplate, AVDTemplate

-InputObject <> An object of type Template representing a RAS Template. The object is obtained using the Get-Template cmdlet.

-Key <string> The license key.

-KeyLimit <uint> The max limit for the license key.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASTemplateLicenseKey -ObjType VDITemplate -Id 1 -Key abcd1234 -KeyLimit 25 Modifies the specified license key properties for a RAS Template specified by ObjType and ID. ---------- EXAMPLE 2 ---------- Add-RASTemplateLicenseKey -InputObject $Template -Key abcd1234 -KeyLimit 25 Modifies the specified license key properties for a RAS Template specified by the Object Type variable. ---------- EXAMPLE 3 ---------- Get-RASTemplate -ObjType VDITemplate -Id 1 | Add-RASTemplateLicenseKey -Key abcd1234 -KeyLimit 25 Modifies the specified license key properties for a RAS Template obtained from the pipeline output.

RELATED LINKS

Add-RASThemeFooterURL

NAME

Add-RASThemeFooterURL

SYNOPSIS

Adds a new footer URL to the footer URLs list

SYNTAX

Add-RASThemeFooterURL [-] <uint> - <string> - <string> [- <string>] [<>] Add-RASThemeFooterURL [-] <string> - <string> - <string> [- <string>] [<>]

DESCRIPTION

Adds a new footer URL to the footer URLs list

PARAMETERS

-URL <string> The URL

-Text <string> The text

-Tooltip <string> The tooltip

-Name <string> Name of the Theme policy to modify. This must be the actual Theme policy name used in the RAS farm.

-Id <uint> The ID of the Theme policy to modify. To obtain the ID, use the Get-RASTheme cmdlet.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASThemeFooterURL -Id 1 -URL link -Text text -Tooltip tooltip Adds a footer URL to theme with Id 1.

RELATED LINKS

Add-RASURLRedirectionEntry

NAME

Add-RASURLRedirectionEntry

SYNOPSIS

Adds a URL redirection entry.

SYNTAX

Add-RASURLRedirectionEntry - <string> [- {DoNotRedirect | Redirect}] [- <bool>] [- <uint>] [<>]

DESCRIPTION

Adds a URL redirection to the URL redirection settings list for the current site.

PARAMETERS

-Enabled <bool> Whether the URL redirection will be enabled or disabled.

-URL <string> The URL to redirect or not.

-Action <> The redirect action type. Possible values: DoNotRedirect, Redirect

-SiteId <uint> Site ID in which to modify the specified URL redirection settings.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASURLRedirectionEntry -URL test.com Adds a URL redirection for test.com to the URL redirection settings list for the current site.

RELATED LINKS

Get-RASAgent

NAME

Get-RASAgent

SYNOPSIS

Retrieves RAS Agent information by server type or server name.

SYNTAX

Get-RASAgent [-] <string> [- <uint>] [<>] Get-RASAgent [[-] {RDSHost | RDS | Provider | Gateway | Guest | VDITemplate | RDSTemplate | AVDTemplate | Broker | PA | Site | RDSHostPool | RDSGroup | HALBDevice | HALB | Enrollment | TenantBroker | VDIHost | AVDHost | AVDHostPool | AVDWorkspace | All}] [- <uint>] [<>]

DESCRIPTION

Retrieves the information about RAS Agent(s) installed on a specific server or on servers of a specific type, such as. Connection Broker, RD Session Host, RAS Secure Gateway, Provider, VDI Desktop, VDI Template.

PARAMETERS

-Server <string> The name of server from which to retrieve Agent information. This must be the actual server name used in the RAS farm.

-SiteId <uint> Site ID from which to retrieve the specified Agent information. If the parameter is omitted, the site ID of the Licensing Server will be used.

-ServerType <> Specifies the server type for which to retrieve the information. Possible values: RDSHost, RDS, Provider, Gateway, Guest, VDITemplate, RDSTemplate, AVDTemplate, Broker, PA, Site, RDSHostPool, RDSGroup, HALBDevice, HALB, Enrollment, TenantBroker, VDIHost, AVDHost, AVDHostPool, AVDWorkspace, All

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAgent -Server MyRASserver Retrieves the information about Agent(s) installed on the server named 'MyRASserver'. ---------- EXAMPLE 2 ---------- Get-RASAgent Retrieves the information about all Agents from all servers in the farm. ---------- EXAMPLE 3 ---------- Get-RASAgent -ServerType RDS Retrieves the information about the Agents installed on all RD Sessions Host servers in the farm. ---------- EXAMPLE 4 ---------- Get-RASAgent -SiteId 3 -ServerType RDS Retrieves the information about the Agents installed on all RD Sessions Host servers in the farm of a specific site. ---------- EXAMPLE 5 ---------- Get-RASAgent -SiteId 3 -Server MyRASserver Retrieves the information about Agent(s) installed on the server named 'MyRASserver' from a specific site.

Get-RASAgentDiagnostic

NAME

Get-RASAgentDiagnostic

SYNOPSIS

Retrieves RAS Agent Diagnostic information.

SYNTAX

Get-RASAgentDiagnostic - {RDS | Provider | Gateway | Guest | Broker | PA | HALBDevice | EnrollmentServer} - <string> [- <uint>] [<>]

DESCRIPTION

Retrieves the diagnostic information about the RAS Agent installed on a specific server, for diagnostic purposes, with a specific type, such as RD Session Host, Provider, Gateway, Guest, Broker, HALB Device.

PARAMETERS

-Server <string> The name of server from which to retrieve Agent information. This must be the actual server name used in the RAS farm.

-SiteId <uint> Site ID from which to retrieve the specified Agent information. If the parameter is omitted, the site ID of the Licensing Server will be used.

-AgentDiagnosticType <> Specifies the server type for which to retrieve the information. Possible values: RDS, Provider, Gateway, Guest, Broker, PA, HALBDevice, EnrollmentServer

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAgentDiagnostic -Server test.domain -ServerType RDS Retrieves the information about the RDS Agent installed on the server 'test.domain'. ---------- EXAMPLE 2 ---------- Get-RASAgentDiagnostic -Server test.domain -ServerType Provider Retrieves the information about the Provider Agent installed on the server 'test.domain'.

Get-RASAppPackageAssigned

NAME

Get-RASAppPackageAssigned

SYNOPSIS

Retrieves the assigned application package settings.

SYNTAX

Get-RASAppPackageAssigned - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [- <uint>] [<>] Get-RASAppPackageAssigned [-] <uint> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [<>] Get-RASAppPackageAssigned [-] <string> [[-] <uint>] - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [<>]

DESCRIPTION

Retrieves the assigned application package settings.

PARAMETERS

-Name <string> The name of the application package for which to retrieve the information. This must be the actual application package name used in the RAS farm.

-SiteId <uint> ID of the Site from which to retrieve the application package information. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID from which to retrieve the assigned application package.

-ObjType <> The Object Type for which to retrieve the assigned application package settings. Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool

-DefObjType <> The Default Object Type for which to retrieve the application package settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAppPackageAssigned -Id 1 -ObjType RDS Retrieves the assigned application package settings for the object type RDS.

Get-RASAVDVMSize

NAME

Get-RASAVDVMSize

SYNOPSIS

The cmdlet returns an object of type Azure Virtual Desktop VM Size.

SYNTAX

Get-RASAVDVMSize - <string> - <uint> [- <uint>] [<>] Get-RASAVDVMSize - <string> - <uint> [- <uint>] [<>]

DESCRIPTION

The cmdlet returns an object of type Azure Virtual Desktop VM Size.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop VMSize information. If the parameter is omitted, the Licensing Server site ID will be used.

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop VMSize information.

-Location <string> Location of the Azure Virtual Desktop Provider.

-WorkspaceId <uint> Workspace ID from which to retrieve the Azure Virtual Desktop VMSize information.

-VMAzureId <string> Azure Virtual Desktop VM Id.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDVMSize -ProviderId 2 -Location westeurope | Format-List Retrieves all the VM Sizes under Azure Virtual Desktop Provider with ID 2 from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ---------- Get-RASAVDVMSize -ProviderId 1 -Location westeurope -SiteId 2 Retrieves all the VM Sizes under Azure Virtual Desktop Provider with ID 2 from the Site with ID 2. ---------- EXAMPLE 3 ---------- Get-RASAVDVMSize -WorkspaceId 2 -VMAzureId "/subscriptions/w7647456-39g5-113d-pe43-34le8xwj92tn/resourceGroups/My-Resource-Group/providers/Microsoft.Compute/virtualMachines/My-Host" Retrieves all the VM Sizes under Azure Virtual Desktop Workspace with ID 2 from the Licensing Server site.

Get-RASBrokerStatus

NAME

Get-RASBrokerStatus

SYNOPSIS

Retrieves the RAS Connection Broker status information.

SYNTAX

Get-RASBrokerStatus [[-] <uint>] [<>] Get-RASBrokerStatus [[-] <>] [<>] Get-RASBrokerStatus [[-] <string>] [[-] <uint>] [<>]

DESCRIPTION

Retrieves the RAS Connection Broker status information.

PARAMETERS

-Server <string> The name of the server for which to retrieve the information. This must be the actual server name used in the RAS farm.

-SiteId <uint> Site ID from which to retrieve the specified RAS Connection Broker info. If the parameter is omitted, the site ID of the Licensing Server will be used.

-Id <uint> The ID of the server for which to retrieve the information. To obtain the ID, use the Get-RASBroker cmdlet.

-InputObject <> An object of type Broker representing a server for which to retrieve the information. To obtain the object, use the Get-RASBroker cmdlet.

<CommonParameters>

INPUTS

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASBrokerStatus -Id 15 Retrieves the RAS Connection Broker status information for the server with ID 15. ---------- EXAMPLE 2 ---------- Get-RASBrokerStatus -Server MyBroker Retrieves the RAS Connection Broker status information for the server named "MyBroker". ---------- EXAMPLE 3 ---------- Get-RASBrokerStatus -InputObject $Broker Retrieves the RAS Connection Broker status information for the server represented by the $Broker object. ---------- EXAMPLE 4 ---------- Get-RASBroker -Id 15 | Get-RASBrokerStatus Retrieves the RAS Connection Broker status information for the server represented by the $Broker object obtained from pipeline output.

Get-RASEnrollmentServerStatus

NAME

Get-RASEnrollmentServerStatus

SYNOPSIS

Retrieves information about one or multiple Enrollment servers statuses.

SYNTAX

Get-RASEnrollmentServerStatus [[-] <uint>] [<>] Get-RASEnrollmentServerStatus [[-] <>] [<>] Get-RASEnrollmentServerStatus [[-] <string>] [[-] <uint>] [<>]

DESCRIPTION

Retrieves information about one or multiple Enrollment servers statuses.

PARAMETERS

-Server <string> The name of the Enrollment server for which to retrieve the information. This must be the actual server name used in the RAS farm.

-SiteId <uint> Site ID from which to retrieve the specified Enrollment server information. If the parameter is omitted, the site ID of the Licensing Server will be used.

-Id <uint> The ID of the Enrollment server. To obtain the ID, use the Get-RASEnrollmentServer cmdlet.

-InputObject <> An object of type EnrollmentServer representing the Enrollment server. To obtain the object, use the Get-RASEnrollmentServer cmdlet.

<CommonParameters>

INPUTS

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASEnrollmentServerStatus -Id 10 Retrieves information about the Enrollment server specified by its ID

Get-RASDayPlan

NAME

Get-RASDayPlan

SYNOPSIS

Retrieves information about day plan properties.

SYNTAX

Get-RASDayPlan [[-] <uint>] - {LogonHours} [<>] Get-RASDayPlan [[-] <string>] [[-] <uint>] - {LogonHours} [<>]

DESCRIPTION

Retrieves information about day plan properties. The cmdlet returns an object of type day plan properties.

PARAMETERS

-Name <string> Name of the object to retrieve the day plan from.

-SiteId <uint> Site ID for which to retrieve the specified day plan of the object type specified. If the parameter is omitted, the Site ID of the Licensing Server will be used.

-Id <uint> The ID of the object to retrieve the day plan from.

-ObjType <> The Object Type for which to retrieve the Day Plan settings from. Possible values: LogonHours

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASDayPlan -Name "My Logon Hours" -ObjType LogonHours | Format-List Retrieves information about the day plan properties specified by name from the Licensing Server Site. ---------- EXAMPLE 2 ---------- Get-RASDayPlan -Id 1 -ObjType LogonHours Retrieves information about the day plan properties specified by ID from the Licensing Server Site.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Remove-RASAppPackageAssigned
Get-RASAppPackageAssigned
Set-RASAppPackageAssigned
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Get-RASCriteria
Set-RASCriteria
Get-RASCriteriaGatewayIP
Remove-RASCriteriaGatewayIP
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Get-RASCriteria
Set-RASCriteria
Get-RASCriteriaHardwareID
Remove-RASCriteriaHardwareID
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    2
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    3
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
HALBId
DeviceIP
NoInstall
CommonParameters
InputObject
HALBSettings
DeviceIP
NoInstall
CommonParameters
HALBName
SiteId
DeviceIP
NoInstall
CommonParameters
HALBSettings
HALBSettings
Remove-RASHALBDevice
Get-RASHALBDevice
Set-RASHALBDevicePriority
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
Extension
SiteId
CommonParameters
InputObject
PubItem
Extension
SiteId
CommonParameters
PubItem
PubItem
Get-RASPubItem
Get-RASPubAppFileExt
Set-RASPubAppFileExt
Remove-RASPubAppFileExt
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
Key
KeyLimit
ObjType
CommonParameters
InputObject
Template
Key
KeyLimit
CommonParameters
TemplateObjType
Template
Template
Set-RASTemplate
Get-RASTemplateLicenseKey
Remove-RASTemplateLicenseKey
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
Text
URL
Tooltip
CommonParameters
Name
Text
URL
Tooltip
CommonParameters
Get-RASTheme
Get-RASThemeFooterURL
Remove-RASThemeFooterURL
        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                DoNotRedirect
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
URL
Action
Enabled
SiteId
CommonParameters
RedirectActionType
Get-RASURLRedirectionSettings
Set-RASURLRedirectionSettings
Remove-RASURLRedirectionEntry
Set-RASURLRedirectionEntry
Get-RASURLRedirectionEntry
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                All
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Server
SiteId
CommonParameters
ServerType
SiteId
CommonParameters
RASServerType
RASAgentInfo
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
AgentDiagnosticType
Server
SiteId
CommonParameters
RASAgentDiagnosticType
BrokerAgentDiagnostic
EnrollmentServerAgentDiagnostic
GatewayAgentDiagnostic
GuestAgentDiagnostic
HALBDeviceAgentDiagnostic
ProviderAgentDiagnostic
RDSAgentDiagnostic
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
SiteId
CommonParameters
Id
ObjType
CommonParameters
Name
SiteId
ObjType
CommonParameters
AppPackageAssignedObjType
ServerDefObjType
AppPackageAssigned[]
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Location
ProviderId
SiteId
CommonParameters
VMAzureId
WorkspaceId
SiteId
CommonParameters
AVDVMSize[]
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
InputObject
Broker
CommonParameters
Server
SiteId
CommonParameters
Broker
Broker
BrokerSysInfo
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
CommonParameters
InputObject
EnrollmentServer
CommonParameters
Server
SiteId
CommonParameters
EnrollmentServer
EnrollmentServer
EnrollmentServerStatus
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. 
        For more information, see about_CommonParameters. 
Id
ObjType
CommonParameters
Name
SiteId
ObjType
CommonParameters
DayPlanObjType
PermittedHourPlan

Add-RASClientPolicyConnection

NAME

Add-RASClientPolicyConnection

SYNOPSIS

Adds a new connection to the Connection List.

SYNTAX

Add-RASClientPolicyConnection [-Id] <uint> -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server <string> -ServerPort <uint> [<CommonParameters>] Add-RASClientPolicyConnection [-InputObject] <ClientRules> -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server <string> -ServerPort <uint> [<CommonParameters>] Add-RASClientPolicyConnection [-Name] <string> -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server <string> -ServerPort <uint> [<CommonParameters>]

DESCRIPTION

Adds a new connection to the Connection List

PARAMETERS

-Mode <Mode> The mode type of connection. Possible values: GatewayMode, GatewaySSLMode, DirectMode, DirectSSLMode

        Required?                    true
        Position?                    named
        Default value                GatewayMode
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Server <string> The Server which the user is going to connect to.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ServerPort <uint> The port of the Server.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> Name of the client policy to modify. This must be the actual client policy name used in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of the client policy to modify. To obtain the ID, use the Get-RASClientPolicy cmdlet.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <ClientRules> The client policy object to modify.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        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 . 

INPUTS

ClientRules

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASClientPolicyConnection -Id 1 -Mode "Gateway Mode" -Server "xyz" -ServerPort "80" Adds the client policy connection with the following settings with Id=1.

RELATED LINKS

  • Set-RASClientPolicy

  • Get-RASClientPolicy

  • Get-RASClientPolicyConnection

  • Remove-RASClientPolicyConnection

Add-RASCriteriaDevice

NAME

Add-RASCriteriaDevice

SYNOPSIS

Adds a Client Device to the Criteria Device List.

SYNTAX

Add-RASCriteriaDevice [-DefObjType] {MFA} [[-SiteId] <uint>] -ClientDeviceName <string> [<CommonParameters>] Add-RASCriteriaDevice [-Id] <uint> -ClientDeviceName <string> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaDevice [-InputObject] <RASListObj> -ClientDeviceName <string> [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaDevice [-Name] <string> [[-SiteId] <uint>] -ClientDeviceName <string> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Adds a Client Device to the Criteria Device List within the Criteria settings of a ClientPolicy, MFA or PubItem.

PARAMETERS

-ClientDeviceName <string> The name of the client device to add to the Criteria.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID for which to modify the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings. Possible values: MFA

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to modify.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASCriteriaDevice -Id 1 -ObjType LogonHours -ClientDeviceName "Device1" Adds the Device specified by Name to the Criteria Device List within the Criteria Settings of the specified Logon Hours by ID. ---------- EXAMPLE 2 ---------- Add-RASCriteriaDevice -Name "Logon1" -ObjType LogonHours -ClientDeviceName "Device1" Adds the Device specified by Name to the Criteria Device List within the Criteria Settings of the specified Logon Hours by Name.

RELATED LINKS

  • Get-RASCriteria

  • Set-RASCriteria

  • Get-RASCriteriaDevice

  • Remove-RASCriteriaDevice

Add-RASCriteriaIP

NAME

Add-RASCriteriaIP

SYNOPSIS

Adds an IP to the Criteria IP List.

SYNTAX

Add-RASCriteriaIP [-DefObjType] {MFA} [[-SiteId] <uint>] -IP <string> -IPType {Version4 | Version6 | BothVersions} [<CommonParameters>] Add-RASCriteriaIP [-Id] <uint> -IP <string> -IPType {Version4 | Version6 | BothVersions} -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaIP [-InputObject] <RASListObj> -IP <string> -IPType {Version4 | Version6 | BothVersions} [-RuleId <uint>] [<CommonParameters>] Add-RASCriteriaIP [-Name] <string> [[-SiteId] <uint>] -IP <string> -IPType {Version4 | Version6 | BothVersions} -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Adds an IP to the Criteria IP List within the Criteria settings of a ClientPolicy, MFA or PubItem.

PARAMETERS

-IP <string> Value that represents the IP

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-IPType <IPVersion> Represents the type of IP Possible values: Version4, Version6, BothVersions

        Required?                    true
        Position?                    named
        Default value                Version4
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID for which to modify the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings. Possible values: MFA

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to modify.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASCriteriaIP -Id 1 -ObjType MFA -IP "1.2.3.4" -IPType Version4 Adds the specified IPv4 to the Criteria IP List within the Criteria Settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Add-RASCriteriaIP -Name "Logon1" -ObjType MFA -IP "1.2.3.4-1.2.3.5" -IPType Version4 Adds the IPv4 Range to the Criteria IP List within the Criteria Settings of the specified MFA by Name.

RELATED LINKS

  • Get-RASCriteria

  • Set-RASCriteria

  • Get-RASCriteriaIP

  • Remove-RASCriteriaIP

Add-RASCriteriaTheme

NAME

Add-RASCriteriaTheme

SYNOPSIS

Adds a Theme to the Criteria Theme List.

SYNTAX

Add-RASCriteriaTheme [-DefObjType] {MFA} [[-SiteId] <uint>] [-ThemeId <uint>] [-ThemeName <string>] [<CommonParameters>] Add-RASCriteriaTheme [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [-ThemeId <uint>] [-ThemeName <string>] [<CommonParameters>] Add-RASCriteriaTheme [-InputObject] <RASListObj> [-RuleId <uint>] [-ThemeId <uint>] [-ThemeName <string>] [<CommonParameters>] Add-RASCriteriaTheme [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [-ThemeId <uint>] [-ThemeName <string>] [<CommonParameters>]

DESCRIPTION

Adds a Theme to the Criteria Theme List within the Criteria settings of a ClientPolicy, MFA or PubItem.

PARAMETERS

-ThemeName <string> The name of the theme to add to the Criteria.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ThemeId <uint> The ID of the theme to add to the Criteria.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID for which to modify the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings. Possible values: MFA

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to modify.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASCriteriaTheme -Id 1 -ObjType LogonHours -ThemeName "Theme1" Adds the Theme specified by Name to the Criteria Theme List within the Criteria Settings of the specified Logon Hours by ID. ---------- EXAMPLE 2 ---------- Add-RASCriteriaTheme -Name "Logon1" -ObjType LogonHours -ThemeId 1 Adds the Theme specified by ID to the Criteria Theme List within the Criteria Settings of the specified Logon Hours by Name.

RELATED LINKS

  • Get-RASCriteria

  • Set-RASCriteria

  • Get-RASCriteriaTheme

  • Remove-RASCriteriaTheme

Add-RASPubRDSAppServerAttr

NAME

Add-RASPubRDSAppServerAttr

SYNOPSIS

Adds RDS application attributes to specific server from where the application is hosted.

SYNTAX

Add-RASPubRDSAppServerAttr [-Id] <uint> -ServerID <uint> [-Parameters <string>] [-SiteId <uint>] [-StartIn <string>] [-Target <string>] [<CommonParameters>] Add-RASPubRDSAppServerAttr [-InputObject] <PubItem> -ServerID <uint> [-Parameters <string>] [-SiteId <uint>] [-StartIn <string>] [-Target <string>] [<CommonParameters>]

DESCRIPTION

Adds RDS application attributes to a specific server from where the application is hosted.

PARAMETERS

-ServerID <uint> RDS server ID on which the attributes will be updated.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Target <string> Application target file. (i.e. calc.exe, file.txt, etc.)

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-StartIn <string> Application working directory.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Parameters <string> Application parameters.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> Published resource ID.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <PubItem> An object specifying the published resource. To obtain the object, use the Get-PubItem cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-SiteId <uint> Site ID.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

PubItem

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASPubRDSAppServerAtt -Id 2 -ServerID 15 -Target cmd.exe -StartIn C:\Windows\ -Parameters "-param 1 -param 2" Adds an existing per server application attribute settings by application Id. ---------- EXAMPLE 2 ---------- Add-RASPubRDSAppServerAtt -InputObject $RDSApp -ServerID 15 -Target cmd.exe -StartIn C:\Windows\ -Parameters "-param 1 -param 2" Adds an existing per server application attribute settings by input object. ---------- EXAMPLE 3 ---------- Get-RASPubRDSApp -Id 2 | Add-RASPubRDSAppServerAtt -ServerID 15 -Target cmd.exe -StartIn C:\Windows\ -Parameters "-param 1 -param 2" Adds an existing per server application attribute settings by input object from pipeline.

RELATED LINKS

  • Get-RASPubRDSAppServerAttr

  • Set-RASPubRDSAppServerAttr

  • Remove-RASPubRDSAppServerAttr

  • Get-RASRDS

  • Get-RASPubRDSApp

Get-RASAVDGalleryImage

NAME

Get-RASAVDGalleryImage

SYNOPSIS

The cmdlet returns a list of Azure Virtual Desktop Gallery Images.

SYNTAX

Get-RASAVDGalleryImage -Location <string> -Name <string> -ProviderId <uint> -ResourceGroup <string> [<CommonParameters>]

DESCRIPTION

The cmdlet returns a list of Azure Virtual Desktop Gallery Images.

PARAMETERS

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop VMSize information.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> Name of the Azure Virtual Desktop Gallery.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ResourceGroup <string> Resource Group of the Azure Virtual Desktop Gallery Image.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Location <string> Location of the Azure Virtual Desktop Gallery Image.

        Required?                    true
        Position?                    named
        Default value                
        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 . 

INPUTS

-none-

OUTPUTS

AVDGalleryImage[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDGalleryImage -ProviderId 2 -Location "westeurope" -Name "myGalleryImage" -ResourceGroup "myResourceGroup" Retrieves a list of Gallery Images which fall under the Provider, Location, ProviderId and ResourceGroup specified.

Get-RASAVDHostPoolStatus

NAME

Get-RASAVDHostPoolStatus

SYNOPSIS

Retrieves the status of one or multiple AVD Host Pools.

SYNTAX

Get-RASAVDHostPoolStatus [[-Id] <uint>] [<CommonParameters>] Get-RASAVDHostPoolStatus [[-InputObject] <AVDHostPool>] [<CommonParameters>] Get-RASAVDHostPoolStatus [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves information about the status of one or multiple AVD Host Pools. The cmdlet returns an object of type AVDHostPoolStatus. To see the complete list of object properties, use the Format-List cmdlet (see examples). The result set contains only the major properties of a group; it does not include the complete list of settings supported in RAS.

PARAMETERS

-Name <string> The name of the AVD Host Pool for which to retrieve the status.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the specified RDS Host Pool Name. If the parameter is omitted, the site ID of the Licensing Server will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of the AVD Host Pool. To obtain the ID, use the Get-RASAVDHostPool cmdlet.

        Required?                    false
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <AVDHostPool> An object of type AVDHostPool representing the AVD Host Pool. To obtain the object, use the Get-RASAVDHostPool cmdlet.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        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 . 

INPUTS

AVDHostPool

OUTPUTS

AVDHostPoolStatus

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDHostPoolStatus "My AVD Host Pool" | Format-List Retrieves the status of the pool specified by name from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available pool properties. ---------- EXAMPLE 2 ---------- Get-RASAVDHostPoolStatus -Id 10 Retrieves information about the pool specified by ID from the Licensing Server site.

Get-RASAVDOffer

NAME

Get-RASAVDOffer

SYNOPSIS

The cmdlet returns an object of type Azure Virtual Desktop Offers.

SYNTAX

Get-RASAVDOffer -Location <string> -ProviderId <uint> -Publisher <string> [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

The cmdlet returns an object of type Azure Virtual Desktop Offers.

PARAMETERS

-SiteId <uint> Site ID from which to retrieve the Azure Virtual Desktop VMSize information. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop VMSize information.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Location <string> Location of the Azure Virtual Desktop Provider.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Publisher <string> The Azure Virtual Desktop Publisher.

        Required?                    true
        Position?                    named
        Default value                
        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 . 

INPUTS

-none-

OUTPUTS

AVDOffer[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDOffer -ProviderId 2 -Location "westeurope" -Publisher "publisher-server" | Format-List Retrieves the Offer that Azure Virtual Desktop Provider with ID 2, Location westeurope and Publisher publisher-server, from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ---------- Get-RASAVDOffer -ProviderId 1 -Location "westeurope" -Publisher "publisher-server" -SiteId 2 Retrieves the Offer under Azure Virtual Desktop Provider with ID 2 and Location westeurope and Publisher publisher-server, from the Site with ID 2.

Get-RASCriteria

NAME

Get-RASCriteria

SYNOPSIS

Retrieves the Criteria settings.

SYNTAX

Get-RASCriteria -DefObjType {MFA} [-SiteId <uint>] [<CommonParameters>] Get-RASCriteria [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>] Get-RASCriteria [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the Criteria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to retrieve.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

ClientPolicyCriteriaMFACriteriaPubItemCriteria

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteria -Id 1 -ObjType MFA Retrieves the Criteria Settings of the MFA with Id 1. ---------- EXAMPLE 2 ---------- Get-RASCriteria -Id 1 -ObjType PubItem -RuleId 1 Retrieves the Criteria Settings of the Published Item with Id 1.

Get-RASCriteriaOS

NAME

Get-RASCriteriaOS

SYNOPSIS

Retrieves the Operating System Criteria.

SYNTAX

Get-RASCriteriaOS -DefObjType {MFA} [-SiteId <uint>] [<CommonParameters>] Get-RASCriteriaOS [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>] Get-RASCriteriaOS [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the Operating System Criteria within the Criteria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to retrieve.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

AllowedOperatingSystems

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteriaOS -Id 1 -ObjType MFA Retrieves the Allowed Operating Systems within the Criteria settings of the specified LogonHour by ID. ---------- EXAMPLE 2 ---------- Get-RASCriteriaOS -Name "Logon1" -ObjType MFA Retrieves the Allowed Operating Systems within the Criteria settings of the specified LogonHour by Name.

Get-RASCriteriaHardwareID

NAME

Get-RASCriteriaHardwareID

SYNOPSIS

Retrieves the Criteria Hardware ID List.

SYNTAX

Get-RASCriteriaHardwareID -DefObjType {MFA} [-SiteId <uint>] [<CommonParameters>] Get-RASCriteriaHardwareID [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>] Get-RASCriteriaHardwareID [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the Criteria Hardware ID List within the Criteria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to retrieve.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

HardwareIDCriteriaEntry[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteriaHardwareID -Id 1 -ObjType MFA Retrieves the Criteria Hardware ID List within the Criteria settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Get-RASCriteriaHardwareID -Name "Logon1" -ObjType MFA Retrieves the Criteria Hardware ID List within the Criteria settings of the specified MFA by Name.

Get-RASCriteriaIP

NAME

Get-RASCriteriaIP

SYNOPSIS

Retrieves the Criteria IP List.

SYNTAX

Get-RASCriteriaIP -DefObjType {MFA} [-SiteId <uint>] [<CommonParameters>] Get-RASCriteriaIP [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>] Get-RASCriteriaIP [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the Criteria IP List within the Criteria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <CriteriaObjType> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <CriteriaDefObjType> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RuleId <uint> The ID of the Rule to retrieve.

        Required?                    false
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

AllowedIPsCriteria

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteriaIP -Id 1 -ObjType MFA Retrieves the Criteria IP List within the Criteria settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Get-RASCriteriaIP -Name "Logon1" -ObjType MFA Retrieves the Criteria IP List within the Criteria settings of the specified MFA by Name.

Add-RASCriteriaSecurityPrincipal

NAME

Add-RASCriteriaSecurityPrincipal

SYNOPSIS

Adds a user, group or machine to the Criteria Security Principal List.

SYNTAX

Add-RASCriteriaSecurityPrincipal [-DefObjType] {MFA} [[-SiteId] <uint>] [-Account <string>] [-SID <string>] [<CommonParameters>] Add-RASCriteriaSecurityPrincipal [-Id] <uint> -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-Account <string>] [-RuleId <uint>] [-SID <string>] [<CommonParameters>] Add-RASCriteriaSecurityPrincipal [-InputObject] <RASListObj> [-Account <string>] [-RuleId <uint>] [-SID <string>] [<CommonParameters>] Add-RASCriteriaSecurityPrincipal [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-Account <string>] [-RuleId <uint>] [-SID <string>] [<CommonParameters>]

DESCRIPTION

Adds a user, group or machine to the Criteria Security Principal List within the Criteria settings of a ClientPolicy, MFA or PubItem

PARAMETERS

-Account <string> The name of the account to add to the Criteria.

-SID <string> The SID of the account to add to the Criteria.

-Name <string> The name or server for which to modify the Criteria settings.

-SiteId <uint> Site ID for which to modify the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the Criteria settings.

-InputObject <RASListObj> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

-ObjType <CriteriaObjType> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <CriteriaDefObjType> The Default Object Type for which to modify the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to modify.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASCriteriaSecurityPrincipal -Id 1 -ObjType MFA -Account "JaneDoe" Adds a user to the Criteria Security Principal List within the Criteria Settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Add-RASCriteriaSecurityPrincipal -Name "Logon1" -ObjType MFA -Account "SID://DOMAIN/JaneDoe" Adds a user to the Criteria Security Principal List within the Criteria Settings of the specified MFA by Name.

RELATED LINKS

Add-RASImageOptimizationWindowsScheduledTask

NAME

Add-RASImageOptimizationWindowsScheduledTask

SYNOPSIS

Adds Windows Schedule Task.

SYNTAX

Add-RASImageOptimizationWindowsScheduledTask - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <string> - <string> [- <uint>] [<>] Add-RASImageOptimizationWindowsScheduledTask [-] <uint> - <string> - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} - <string> [<>] Add-RASImageOptimizationWindowsScheduledTask [-] <> - <string> - <string> [<>] Add-RASImageOptimizationWindowsScheduledTask [-] <string> [[-] <uint>] - <string> - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} - <string> [<>]

DESCRIPTION

Adds Windows Schedule Task to the following list

PARAMETERS

-Task <string>

-Location <string>

-Name <string> The name or server for which to modify the Image Optimization settings.

-SiteId <uint> Site ID from which to modify the Image Optimization settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the Image Optimization settings.

-InputObject <> An object of type RDS, VDITemplate or VDIDesktop for which to modify the Image Optimization settings.

-ObjType <> The Object Type for which to modify the Image Optimization settings. Possible values: RDSHost, RDS, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate

-DefObjType <> The Default Object Type for which to modify the Image Optimization settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASImageOptimizationWindowsScheduledTask -Id 30 -ObjType RDS -Path System\CurrentControlSet\Services\Disk -Type Folder Adds the Windows Schedule Task List to the object type RDS.

RELATED LINKS

Add-RASProviderRemotePCStatic

NAME

Add-RASProviderRemotePCStatic

SYNOPSIS

Adds a Remote PC Static to a Provider.

SYNTAX

Add-RASProviderRemotePCStatic [-] <uint> - <string> - <string> [- <string>] [<>] Add-RASProviderRemotePCStatic [-] <> - <string> - <string> [- <string>] [<>] Add-RASProviderRemotePCStatic [-] <string> [[-] <uint>] - <string> - <string> [- <string>] [<>]

DESCRIPTION

Adds a Remote PC Static to a Provider.

PARAMETERS

-RemotePCStaticName <string> Remote PC Static Name.

-MAC <string> Remote PC Static MAC Address.

-Subnet <string> Remote PC Static Subnet. Default: 0.0.0.0

-Server <string> The name of the target Provider server. This must be the actual server name used in the RAS farm.

-SiteId <uint> Site ID in which to modify the specified Provider server. If the parameter is omitted, the site ID of the Licensing Server will be used.

-Id <uint> The ID of the Provider server to modify. To obtain the ID, use the Get-RASProvider cmdlet.

-InputObject <> An object representing the Provider server to modify. To obtain the object, use the Get-RASProvider cmdlet.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASProviderRemotePCStatic -Id 1 -RemotePCStaticName Test0 -MAC 00-11-22-33-44-00 Adds a Remote PC Static Test0 to the Remote PC Static List of the Provider with Id 1.

RELATED LINKS

Add-RASRule

NAME

Add-RASRule

SYNOPSIS

Adds a Rule to the Rule List.

SYNTAX

Add-RASRule [-] <uint> [[-] <uint>] - {ClientPolicy | PubItem} - <string> [- <string>] [- <bool>] [<>] Add-RASRule [-] <> [[-] <uint>] - <string> [- <string>] [- <bool>] [<>] Add-RASRule [-] <string> [[-] <uint>] - {ClientPolicy | PubItem} - <string> [- <string>] [- <bool>] [<>]

DESCRIPTION

Adds a Rule to the Rule List within Published Items.

PARAMETERS

-Enabled <bool> Whether the new rule will be enabled or disabled.

-RuleName <string> The name of the rule to add to the Criteria.

-Description <string> Description for the new rule.

-Name <string> The name or server for which to modify the Rule settings.

-SiteId <uint> Site ID for which to modify the Rule settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the Rule settings.

-InputObject <> An object of type ClientPolicy or PubItem for which to modify the Rule settings.

-ObjType <> The Object Type for which to modify the Rule settings. Possible values: ClientPolicy, PubItem

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASRule -Id 1 -ObjType ClientPolicy -RuleName Rule1 Add a rule with name Rule1 to the Rule List within the Client Policy with Id 1.

RELATED LINKS

Add-RASWinDeviceGroupInboundPort

NAME

Add-RASWinDeviceGroupInboundPort

SYNOPSIS

Adds the Windows device group Inbound ports

SYNTAX

Add-RASWinDeviceGroupInboundPort [-] <uint> - <uint> - {Domain | Private | Public | All} - {TCP | UDP} [<>] Add-RASWinDeviceGroupInboundPort [[-] <>] - <uint> - {Domain | Private | Public | All} - {TCP | UDP} [<>] Add-RASWinDeviceGroupInboundPort [-] <string> - <uint> - {Domain | Private | Public | All} - {TCP | UDP} [- <uint>] [<>]

DESCRIPTION

Adds the Windows device group Inbound ports.

PARAMETERS

-Port <uint> The Port to add to the windows device group.

-Protocol <> The Protocol to add to the windows device group. Possible values: TCP, UDP

-Profile <> The Profile to add to the windows device group. Possible values: Domain, Private, Public, All

-Name <string> The name of the windows device group from which to add the Inbound Port. This must be the actual windows device group name used in the RAS farm.

-SiteId <uint> The ID of the Site from which from which to add the Inbound Port. If the parameter is omitted, the Licensing Server Site ID will be used.

-Id <uint> The ID of a windows device group from which to add the Inbound Port.

-InputObject <> The Windows Device Group to modify.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASWinDeviceGroupInboundPort -Name "WinDeviceGroup" -Port 50005 -Protocol TCP -Profile All Adds an Inbound port to the list of Inbound ports of the Windows device group with name WinDeviceGroup. ---------- EXAMPLE 2 ---------- Add-RASWinDeviceGroupInboundPort -Id 1 -Port 50005 -Protocol TCP -Profile All Adds an Inbound port to the list of Inbound ports of the Windows device group with Id 1.

RELATED LINKS

Get-RASAVDHostStatus

NAME

Get-RASAVDHostStatus

SYNOPSIS

Retrieves the list of, or a specific, AVD Host status.

SYNTAX

Get-RASAVDHostStatus [-] <uint> [[-] <uint>] - <string> [- {Level1 | Level2 | Level3}] [- <string>] [<>] Get-RASAVDHostStatus [-] <> [-] <uint> [[-] <uint>] [- {Level1 | Level2 | Level3}] [- <string>] [<>] Get-RASAVDHostStatus [[-] <uint>] [[-] <uint>] [- {Level1 | Level2 | Level3}] [- <string>] [<>]

DESCRIPTION

Retrieves the list of, or a specific, AVD Host status.

PARAMETERS

-ProviderId <uint> The ID of a Provider server from which to obtain the AVD Host list.

-SiteId <uint> Site ID from which to retrieve the AVD Host list. If the parameter is omitted, the site ID of the Licensing Server will be used.

-HostId <string> The ID of the AVD Host. To obtain the ID, use the Get-RASAVDHost cmdlet.

-InputObject <> An object of type AVDHost representing a AVD Host for which to retrieve the information. To obtain the object, use the Get-RASAVDHost cmdlet.

-User <string> The username assigned to AVD Host. If empty square brackets ([]) are passed, the AVD Host list will be filtered with those with an assigned user.

-StatusLevel <> Specifies the level of detail that should be returned. Acceptable values: Level1 (AVD Host status information only), Level2 (AVD Host status and Host VM info), Level3 (AVD Host status, Host VMs, Applications). Possible values: Level1, Level2, Level3

<CommonParameters>

INPUTS

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASAVDHostStatus | Format-List Retrieves the list of AVD Host statuses ---------- EXAMPLE 2 ---------- Get-RASAVDHostStatus -ProviderId 1 Retrieves the list of AVD Host statuses from the specified Provider server ---------- EXAMPLE 3 ---------- Get-RASAVDHostStatus -ProviderId 1 -SiteId 1 Retrieves the list of AVD Host statuses from the specified Provider server from the specified site. ---------- EXAMPLE 4 ---------- Get-RASAVDHostStatus -ProviderId 1 -SiteId 1 -HostId "1" | Format-List Retrieves the specified AVD Host from the specified Provider server from the specified site.

Get-RASCriteriaDevice

NAME

Get-RASCriteriaDevice

SYNOPSIS

Retrieves the Criteria Device List.

SYNTAX

Get-RASCriteriaDevice - {} [- <uint>] [<>] Get-RASCriteriaDevice [-] <uint> - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>] Get-RASCriteriaDevice [-] <string> [[-] <uint>] - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>]

DESCRIPTION

Retrieves the Criteria Device List within the Criteria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

-ObjType <> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to retrieve.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteriaDevice -Id 1 -ObjType LogonHours Retrieves the Criteria Device List within the Criteria settings of the specified LogonHour by ID. ---------- EXAMPLE 2 ---------- Get-RASCriteriaDevice -Name "Logon1" -ObjType LogonHours Retrieves the Criteria Device List within the Criteria settings of the specified LogonHour by Name.

Get-RASCriteriaGatewayIP

NAME

Get-RASCriteriaGatewayIP

SYNOPSIS

Retrieves the Criteria Gateway List.

SYNTAX

Get-RASCriteriaGatewayIP - {} [- <uint>] [<>] Get-RASCriteriaGatewayIP [-] <uint> - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>] Get-RASCriteriaGatewayIP [-] <string> [[-] <uint>] - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>]

DESCRIPTION

Retrieves the Criteria Gateway List within the Criteria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

-ObjType <> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to retrieve.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteriaGatewayIP -Id 1 -ObjType MFA Retrieves the Criteria Gateway List within the Criteria settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Get-RASCriteriaGatewayIP -Name "Logon1" -ObjType MFA Retrieves the Criteria Gateway List within the Criteria settings of the specified MFA by Name.

Get-RASCriteriaSecurityPrincipal

NAME

Get-RASCriteriaSecurityPrincipal

SYNOPSIS

Retrieves the Criteria Security Principal List.

SYNTAX

Get-RASCriteriaSecurityPrincipal - {} [- <uint>] [<>] Get-RASCriteriaSecurityPrincipal [-] <uint> - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>] Get-RASCriteriaSecurityPrincipal [-] <string> [[-] <uint>] - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>]

DESCRIPTION

Retrieves the Criteria Security Principal List within the Criteof MFAria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

-ObjType <> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to retrieve.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteriaSecurityPrincipal -Id 1 -ObjType MFA Retrieves the Criteria Security Principal List within the Criteria settings of the specified MFA by ID. ---------- EXAMPLE 2 ---------- Get-RASCriteriaSecurityPrincipal -Name "Logon1" -ObjType MFA Retrieves the Criteria Security Principal List within the Criteria settings of the specified MFA by Name.

Get-RASCriteriaTheme

NAME

Get-RASCriteriaTheme

SYNOPSIS

Retrieves the Criteria Theme List.

SYNTAX

Get-RASCriteriaTheme - {} [- <uint>] [<>] Get-RASCriteriaTheme [-] <uint> - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>] Get-RASCriteriaTheme [-] <string> [[-] <uint>] - {ClientPolicy | PubItem | MFA | LogonHours} [- <uint>] [<>]

DESCRIPTION

Retrieves the Criteria Theme List within the Criteria settings from a ClientPolicy, MFA or PubItem.

PARAMETERS

-Name <string> The name or server for which to retrieve the Criteria settings.

-SiteId <uint> Site ID from which to retrieve the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to retrieve the Criteria settings.

-ObjType <> The Object Type for which to retrieve the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <> The Default Object Type for which to retrieve the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to retrieve.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASCriteriaTheme -Id 1 -ObjType LogonHours Retrieves the Criteria Theme List within the Criteria settings of the specified Logon Hours by ID. ---------- EXAMPLE 2 ---------- Get-RASCriteriaTheme -Name "Logon1" -ObjType LogonHours Retrieves the Criteria Theme List within the Criteria settings of the specified Logon Hours by Name.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Get-RASCriteria
Set-RASCriteria
Get-RASCriteriaSecurityPrincipal
Remove-RASCriteriaSecurityPrincipal
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
Location
Task
SiteId
CommonParameters
Id
Location
ObjType
Task
CommonParameters
InputObject
RASSerilazableObj
Location
Task
CommonParameters
Name
SiteId
Location
ObjType
Task
CommonParameters
RASSerilazableObj
OptimizationServerObjType
ServerDefObjType
Remove-RASImageOptimizationWindowsScheduledTask
Get-RASImageOptimizationWindowsScheduledTask
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0.0.0.0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
MAC
RemotePCStaticName
Subnet
CommonParameters
InputObject
RemotePCStaticProvider
MAC
RemotePCStaticName
Subnet
CommonParameters
Server
SiteId
MAC
RemotePCStaticName
Subnet
CommonParameters
RemotePCStaticProvider
RemotePCStaticProvider
Get-RASProvider
Set-RASProvider
Get-RASProviderRemotePCStatic
Set-RASProviderRemotePCStatic
Remove-RASProviderRemotePCStatic
Invoke-RASImportProviderRemotePCStatic
        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
SiteId
ObjType
RuleName
Description
Enabled
CommonParameters
InputObject
RASListObj
SiteId
RuleName
Description
Enabled
CommonParameters
Name
SiteId
ObjType
RuleName
Description
Enabled
CommonParameters
RASListObj
RuleObjType
Get-RASRule
Remove-RASRule
Set-RASRule
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                TCP
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    1
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
Port
Profile
Protocol
CommonParameters
InputObject
WinDeviceGroup
Port
Profile
Protocol
CommonParameters
Name
Port
Profile
Protocol
SiteId
CommonParameters
Protocol
Profile
WinDeviceGroup
WinDeviceGroup
New-RASWinDeviceGroup
Get-RASWinDeviceGroup
Set-RASWinDeviceGroup
Remove-RASWinDeviceGroup
Get-RASWinDeviceGroupInboundPort
Remove-RASWinDeviceGroupInboundPort
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                Level1
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
ProviderId
SiteId
HostId
StatusLevel
User
CommonParameters
InputObject
AVDHost
ProviderId
SiteId
StatusLevel
User
CommonParameters
ProviderId
SiteId
StatusLevel
User
CommonParameters
AVDHost
StatusLevel
AVDHost
AVDHostSysInfo[]
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
MFA
SiteId
CommonParameters
Id
ObjType
RuleId
CommonParameters
Name
SiteId
ObjType
RuleId
CommonParameters
CriteriaObjType
CriteriaDefObjType
ClientDeviceCriteriaEntry[]
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
MFA
SiteId
CommonParameters
Id
ObjType
RuleId
CommonParameters
Name
SiteId
ObjType
RuleId
CommonParameters
CriteriaObjType
CriteriaDefObjType
GatewayCriteriaEntry[]
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
MFA
SiteId
CommonParameters
Id
ObjType
RuleId
CommonParameters
Name
SiteId
ObjType
RuleId
CommonParameters
CriteriaObjType
CriteriaDefObjType
SecurityPrincipalCriteriaEntry[]
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
MFA
SiteId
CommonParameters
Id
ObjType
RuleId
CommonParameters
Name
SiteId
ObjType
RuleId
CommonParameters
CriteriaObjType
CriteriaDefObjType
UInt32[]

Add-RASImageOptimizationWindowsService

NAME

Add-RASImageOptimizationWindowsService

SYNOPSIS

Adds Windows Custom Services.

SYNTAX

Add-RASImageOptimizationWindowsService -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [-Aliases <string>] [-DisplayName <string>] [-ServiceName <string>] [-SiteId <uint>] [<CommonParameters>] Add-RASImageOptimizationWindowsService [-Id] <uint> -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [-Aliases <string>] [-DisplayName <string>] [-ServiceName <string>] [<CommonParameters>] Add-RASImageOptimizationWindowsService [-InputObject] <RASSerilazableObj> [-Aliases <string>] [-DisplayName <string>] [-ServiceName <string>] [<CommonParameters>] Add-RASImageOptimizationWindowsService [-Name] <string> [[-SiteId] <uint>] -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [-Aliases <string>] [-DisplayName <string>] [-ServiceName <string>] [<CommonParameters>]

DESCRIPTION

Adds Windows Custom Service to the following list

PARAMETERS

-Aliases <string>

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DisplayName <string>

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ServiceName <string>

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the Image Optimization settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to modify the Image Optimization settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the Image Optimization settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASSerilazableObj> An object of type RDS, VDITemplate or VDIDesktop for which to modify the Image Optimization settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <OptimizationServerObjType> The Object Type for which to modify the Image Optimization settings. Possible values: RDSHost, RDS, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <ServerDefObjType> The Default Object Type for which to modify the Image Optimization settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

        Required?                    true
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASImageOptimizationWindowsService -Id 30 -ObjType RDS -DisplayName Name -Aliases alias -ServiceName "Service Name" Adds the Windows Custom Services to the object type RDS.

RELATED LINKS

  • Remove-RASImageOptimizationWindowsService

  • Get-RASImageOptimizationWindowsService

Add-RASMFARadiusAttr

NAME

Add-RASMFARadiusAttr

SYNOPSIS

Adds attribute settings to Radius provider settings.

SYNTAX

Add-RASMFARadiusAttr [-AttributeType] {Number | String | IP | Time} [-Id] <uint> -AttributeID <uint> -RadiusAttrName <string> -Value <string> -Vendor <string> -VendorID <uint> [<CommonParameters>] Add-RASMFARadiusAttr [-AttributeType] {Number | String | IP | Time} [-InputObject] <MFA> -AttributeID <uint> -RadiusAttrName <string> -Value <string> -Vendor <string> -VendorID <uint> [<CommonParameters>] Add-RASMFARadiusAttr [-AttributeType] {Number | String | IP | Time} [-Name] <string> [[-SiteId] <uint>] -AttributeID <uint> -RadiusAttrName <string> -Value <string> -Vendor <string> -VendorID <uint> [<CommonParameters>]

DESCRIPTION

The cmdlet appends new attribute settings to existing ones. All parameters are mandatory.

PARAMETERS

-VendorID <uint> RADIUS attribute vendor ID

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AttributeID <uint> RADIUS attribute ID

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Value <string> RADIUS attribute value The value has many forms:IP, Number, String, and Time. When setting the time it is expected that the time value is in epoch time.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RadiusAttrName <string> RADIUS attribute name

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Vendor <string> RADIUS attribute vendor name

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AttributeType <RadiusAttrType> RADIUS attribute type. IP, string, number, or time Possible values: Number, String, IP, Time

        Required?                    true
        Position?                    0
        Default value                String
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name of the target multi-factor authentication . This must be the actual multi-factor authentication name used in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID in which to modify the specified multi-factor authentication . If the parameter is omitted, the site ID of the Licensing Server will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of the multi-factor authentication to modify. To obtain the ID, use the Get-RASMFA cmdlet.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <MFA> The multi factor authentication to modify. To obtain an object of type MFA, use the Get-RASMFA cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        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 . 

INPUTS

MFA

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASMFARadiusAttr -AttributeType IP -VendorID 1 -AttributeID 1 -Value 127.0.0.1 -Name AttrName -Vendor VendorName Adds a new entry to Radius attributes of type IP. The "Value" parameter must be in a valid IP format (IPv4 only). ---------- EXAMPLE 2 ---------- Add-RASMFARadiusAttr -AttributeType String -VendorID 1 -AttributeID 1 -Value "This is a string" -Name AttrName -Vendor VendorName Adds a new entry to Radius attributes of type String. The "Value" parameter can contain a character of any type, but cannot be empty. ---------- EXAMPLE 3 ---------- Add-RASMFARadiusAttr -AttributeType Number -VendorID 1 -AttributeID 1 -Value 42 -Name AttrName -Vendor VendorName Adds a new entry to Radius attributes of type Number. The "Value" parameter must contain numbers. The input can also be a string but must contain numbers only. ---------- EXAMPLE 4 ---------- Add-RASMFARadiusAttr -AttributeType Time -VendorID 1 -AttributeID 1 -Value 1500892318 -Name AttrName -Vendor VendorName Adds a new entry to Radius attributes of type Time. The "Value" parameter represents the date using the epoch time format.

RELATED LINKS

  • Get-RASMFARadiusAttr

  • Remove-RASMFARadiusAttr

Add-RASMFARadiusAuto

NAME

Add-RASMFARadiusAuto

SYNOPSIS

Adds automation settings to Radius provider settings.

SYNTAX

Add-RASMFARadiusAuto [-Id] <uint> -Command <string> -Title <string> [-ActionMessage <string>] [-Description <string>] [-Enabled <bool>] [-Image {Alert | Message | Email | Call | Chat | Flag}] [<CommonParameters>] Add-RASMFARadiusAuto [-InputObject] <MFA> -Command <string> -Title <string> [-ActionMessage <string>] [-Description <string>] [-Enabled <bool>] [-Image {Alert | Message | Email | Call | Chat | Flag}] [<CommonParameters>] Add-RASMFARadiusAuto [-Name] <string> [[-SiteId] <uint>] -Command <string> -Title <string> [-ActionMessage <string>] [-Description <string>] [-Enabled <bool>] [-Image {Alert | Message | Email | Call | Chat | Flag}] [<CommonParameters>]

DESCRIPTION

The cmdlet appends new attribute settings to existing ones. All parameters are mandatory.

PARAMETERS

-Command <string> RADIUS Automation command

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Enabled <bool> Whether the RADIUS Automation is enabled/disabled

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Image <ImageType> RADIUS Automation image Possible values: Alert, Message, Email, Call, Chat, Flag

        Required?                    false
        Position?                    named
        Default value                Alert
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Title <string> RADIUS Automation title

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ActionMessage <string> RADIUS Automation action message

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Description <string> RADIUS Automation description

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name of the target multi-factor authentication . This must be the actual multi-factor authentication name used in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID in which to modify the specified multi-factor authentication . If the parameter is omitted, the site ID of the Licensing Server will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of the multi-factor authentication to modify. To obtain the ID, use the Get-RASMFA cmdlet.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <MFA> The multi factor authentication to modify. To obtain an object of type MFA, use the Get-RASMFA cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        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 . 

INPUTS

MFA

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASMFARadiusAuto -SiteId 2 -Command Test -Title Test Adds a new entry to the Radius automation list on Site 2. [Radius Setting]

RELATED LINKS

  • Get-RASMFARadiusAuto

  • Set-RASMFARadiusAuto

  • Remove-RASMFARadiusAuto

Add-RASScheduleMessage

NAME

Add-RASScheduleMessage

SYNOPSIS

Adds schedule message information for a Schedule.

SYNTAX

Add-RASScheduleMessage [-Id] <uint> -Message <string> -MessageTitle <string> -ObjType {RDS | VDI | AVD} [-Enabled <bool>] [-SendMsgSecs <uint>] [-SendMsgWhen {Before | After}] [-TargetType {Host | HostPool}] [<CommonParameters>] Add-RASScheduleMessage [-Name] <string> [[-SiteId] <uint>] -Message <string> -MessageTitle <string> -ObjType {RDS | VDI | AVD} [-Enabled <bool>] [-SendMsgSecs <uint>] [-SendMsgWhen {Before | After}] [-TargetType {Host | HostPool}] [<CommonParameters>]

DESCRIPTION

Adds schedule message information for a Schedule.

PARAMETERS

-Enabled <bool> Whether to enable or disable the message.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-MessageTitle <string> The title of the message.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Message <string> A message that should be sent to users before the job starts.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SendMsgSecs <uint> Time interval in seconds before the job starts when the message to users should be sent.

        Required?                    false
        Position?                    named
        Default value                900
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SendMsgWhen <SendMsgWhen> Whether the message is sent Before/After the schedule is triggered. Send Message When can only be set to After in the case of Reboot. Possible values: Before, After

        Required?                    false
        Position?                    named
        Default value                Before
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> Scheduler job name.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID to modify the schedule job.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> Scheduler job ID.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <ScheduleObjType> Schedule message object type. Possible values: RDS, VDI, AVD

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-TargetType <ScheduleTargetType> Schedule target type. Possible values: Host, HostPool

        Required?                    false
        Position?                    named
        Default value                
        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 . 

INPUTS

-none-

OUTPUTS

ScheduleMessage

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASScheduleMessage -ObjType VDI -Name "SchedItem" -Enabled 0 -SendMsgSecs 60 -MessageTitle "messageTitle" -Message "messageBody" Adds a Message to the schedule item specified by name, set to send 1 minute after schedule trigger. ---------- EXAMPLE 2 ---------- Add-RASScheduleMessage -ObjType VDI -Id 2 -Enabled 1 -SendMsgSecs 120 -MessageTitle "messageTitle" -Message "messageBody" Adds a Message to the schedule item specified by id, set to send 2 minutes after schedule trigger.

RELATED LINKS

  • Get-RASSchedule

  • Add-RASScheduleMessage

  • Set-RASScheduleMessage

  • Remove-RASScheduleMessage

Add-RASScheduleTarget

NAME

Add-RASScheduleTarget

SYNOPSIS

Adds a new Schedule target.

SYNTAX

Add-RASScheduleTarget [-Id] <uint> -ObjType {RDS | VDI | AVD} -TargetID <uint> [-TargetType {Host | HostPool}] [<CommonParameters>] Add-RASScheduleTarget [-Id] <uint> -ObjType {RDS | VDI | AVD} -PoolId <uint> [-GuestName <string>] [-GUID <string>] [-HostAzureID <string>] [-TargetType {Host | HostPool}] [<CommonParameters>] Add-RASScheduleTarget [-Name] <string> [[-SiteId] <uint>] -ObjType {RDS | VDI | AVD} -TargetID <uint> [-TargetType {Host | HostPool}] [<CommonParameters>] Add-RASScheduleTarget [-Name] <string> [[-SiteId] <uint>] -ObjType {RDS | VDI | AVD} -PoolId <uint> [-GuestName <string>] [-GUID <string>] [-HostAzureID <string>] [-TargetType {Host | HostPool}] [<CommonParameters>]

DESCRIPTION

Creates a new Schedule property.

PARAMETERS

-Name <string> Scheduler job name.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID to modify the schedule job.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> Scheduler job ID.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <ScheduleObjType> Schedule object type. Possible values: RDS, VDI, AVD

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-TargetType <ScheduleTargetType> Schedule target type. Possible values: Host, HostPool

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-TargetID <uint> The target RD Session Host server or server group Ids depending on the TargetType parameter.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-PoolId <uint>

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-GUID <string>

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-GuestName <string>

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-HostAzureID <string>

        Required?                    false
        Position?                    named
        Default value                
        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 . 

INPUTS

-none-

OUTPUTS

Schedule

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASScheduleTarget -ObjType VDI -Id 1 -TargetID 1 Adds a schedule target id to the schedule item specified by id. ---------- EXAMPLE 2 ---------- Add-RASScheduleTarget -ObjType VDI -Name "My Schedule" -TargetID 1 Adds a schedule target id to the schedule item specified by name. ---------- EXAMPLE 3 ---------- Add-RASScheduleTarget -ObjType VDI -Id 1 -PoolID 1 -GUID "SampleGUID" -GuestName "SampleGuestName" Adds a schedule target native host to the schedule item specified by id. ---------- EXAMPLE 4 ---------- Add-RASScheduleTarget -ObjType VDI -Name "My Schedule" -PoolID 1 -HostAzureID "SampleAzureID" Adds a schedule target native host to the schedule item specified by name.

RELATED LINKS

  • Remove-RASScheduleTarget

  • Get-RASScheduleTarget

Add-RASImageOptimizationWindowsComponent

NAME

Add-RASImageOptimizationWindowsComponent

SYNOPSIS

Adds Windows Custom Component.

SYNTAX

Add-RASImageOptimizationWindowsComponent - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [- <string>] [- <string>] [- <string>] [- <uint>] [<>] Add-RASImageOptimizationWindowsComponent [-] <uint> - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [- <string>] [- <string>] [- <string>] [<>] Add-RASImageOptimizationWindowsComponent [-] <> [- <string>] [- <string>] [- <string>] [<>] Add-RASImageOptimizationWindowsComponent [-] <string> [[-] <uint>] - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [- <string>] [- <string>] [- <string>] [<>]

DESCRIPTION

Adds Windows Component to the following list

PARAMETERS

-Aliases <string>

-DisplayName <string>

-ComponentName <string>

-Name <string> The name or server for which to modify the Image Optimization settings.

-SiteId <uint> Site ID from which to modify the Image Optimization settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the Image Optimization settings.

-InputObject <> An object of type RDS, VDITemplate or VDIDesktop for which to modify the Image Optimization settings.

-ObjType <> The Object Type for which to modify the Image Optimization settings. Possible values: RDSHost, RDS, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate

-DefObjType <> The Default Object Type for which to modify the Image Optimization settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASImageOptimizationWindowsComponent -Id 30 -ObjType RDS -DisplayName Name -Aliases alias -ComponentName Component Name Adds the Windows Custom Component to the object type RDS.

RELATED LINKS

Add-RASPubItemPreferredRoute

NAME

Add-RASPubItemPreferredRoute

SYNOPSIS

Adds a preferred route to the specified published resource.

SYNTAX

Add-RASPubItemPreferredRoute [-] <uint> - <string> - <uint> - {Gateway | HALB | Custom} [- <string>] [- <bool>] [- <uint>] [<>] Add-RASPubItemPreferredRoute [-] <> - <string> - <uint> - {Gateway | HALB | Custom} [- <string>] [- <bool>] [- <uint>] [<>]

DESCRIPTION

This cmdlet allows you to add a preferred route to the specified published resource. To modify preferred route options, use the Set-RASPubItemPreferredRoute cmdlet.

PARAMETERS

-Name <string> The Name of the Preferred Route

-Description <string> Description of the Preferred Route

-Enabled <bool> Whether the Preferred Route is enabled or not

-ReferenceType <> Reference Type of the Preferred Route Possible values: Gateway, HALB, Custom

-ReferenceId <uint> Reference ID of the Preferred Route

-Id <uint> Published resource ID.

-InputObject <> An object specifying the published resource. To obtain the object, use the Get-PubItem cmdlet.

-SiteId <uint> Site ID.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASPubItemPreferredRoute -Id 12 -Name Route1 -ReferenceType Gateway -ReferenceId 1 Adds a preferred route with Name Route1 that routes connections through the Gateway with ID 1. The target published resource is specified by ID 12. ---------- EXAMPLE 2 ---------- Add-RASPubItemPreferredRoute -Id 12 -Name Route2 -ReferenceType HALB -ReferenceId 1 Adds a preferred route with Name Route2 that routes connections through the HALB with ID 1. The target published resource is specified by ID 12.

RELATED LINKS

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
Aliases
ComponentName
DisplayName
SiteId
CommonParameters
Id
ObjType
Aliases
ComponentName
DisplayName
CommonParameters
InputObject
RASSerilazableObj
Aliases
ComponentName
DisplayName
CommonParameters
Name
SiteId
ObjType
Aliases
ComponentName
DisplayName
CommonParameters
RASSerilazableObj
OptimizationServerObjType
ServerDefObjType
Remove-RASImageOptimizationWindowsComponent
Get-RASImageOptimizationWindowsComponent
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
Id
Name
ReferenceId
ReferenceType
Description
Enabled
SiteId
CommonParameters
InputObject
PubItem
Name
ReferenceId
ReferenceType
Description
Enabled
SiteId
CommonParameters
RoutingType
PubItem
PubItem
Get-RASPubItem
Get-RASPubItemPreferredRoute
Set-RASPubItemPreferredRoute
Remove-RASPubItemPreferredRoute
New-RASCustomRoute
Get-RASCustomRoute
Set-RASCustomRoute
Remove-RASCustomRoute
Get-RASGateway
Get-RASHALB

Add-RASFSLogixVHDLocation

NAME

Add-RASFSLogixVHDLocation

SYNOPSIS

Adds a VHDLocation to a VHDLocation List of the Profile Container.

SYNTAX

Add-RASFSLogixVHDLocation -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -GeneralSettings <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>] Add-RASFSLogixVHDLocation -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -OfficeContainer <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>] Add-RASFSLogixVHDLocation -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -ProfileContainer <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>] Add-RASFSLogixVHDLocation [-Id] <uint> -GeneralSettings <SwitchParameter> -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-Id] <uint> -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -OfficeContainer <SwitchParameter> -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-Id] <uint> -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer <SwitchParameter> -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-InputObject] <RASSerilazableObj> -GeneralSettings <SwitchParameter> -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-InputObject] <RASSerilazableObj> -OfficeContainer <SwitchParameter> -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-InputObject] <RASSerilazableObj> -ProfileContainer <SwitchParameter> -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-Name] <string> [[-SiteId] <uint>] -GeneralSettings <SwitchParameter> -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-Name] <string> [[-SiteId] <uint>] -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -OfficeContainer <SwitchParameter> -VHDLocation <string> [<CommonParameters>] Add-RASFSLogixVHDLocation [-Name] <string> [[-SiteId] <uint>] -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer <SwitchParameter> -VHDLocation <string> [<CommonParameters>]

DESCRIPTION

Adds a VHDLocation to a VHDLocation List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults

PARAMETERS

-VHDLocation <string> Specifies the 'VHDLocation' path to add to the VHDLocation List.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to modify the FSLogix settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASSerilazableObj> An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <FSLogixServerObjType> The Object Type for which to modify the FSLogix settings. Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <ServerDefObjType> The Default Object Type for which to modify the FSLogix settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ProfileContainer <SwitchParameter> Set the Profile Container settings.

        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-OfficeContainer <SwitchParameter> Sets the Office Container settings.

        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-GeneralSettings <SwitchParameter> Sets the General 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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASFSLogixVHDLocation -DefObjType RDSDef -ContainerType Profile -VHDLocation "type=smb,connectionString=Location1" Adds a VHDLocation to the VHDLocation List of the Profile Container within the FSLogix Settings of the RDS Default Settings.

RELATED LINKS

  • Get-RASFSLogix

  • Set-RASFSLogix

  • Get-RASFSLogixVHDLocation

  • Remove-RASFSLogixVHDLocation

Add-RASImageOptimizationRegistry

NAME

Add-RASImageOptimizationRegistry

SYNOPSIS

Adds Registry property to the list.

SYNTAX

Add-RASImageOptimizationRegistry -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -DisplayName <string> -Path <string> [-Action {Add | Modify | Delete}] [-DWORDValue <uint>] [-HiveType {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [-RegistryName <string>] [-RegType {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [-SiteId <uint>] [-StringValue <string>] [<CommonParameters>] Add-RASImageOptimizationRegistry [-Id] <uint> -DisplayName <string> -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} -Path <string> [-Action {Add | Modify | Delete}] [-DWORDValue <uint>] [-HiveType {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [-RegistryName <string>] [-RegType {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [-StringValue <string>] [<CommonParameters>] Add-RASImageOptimizationRegistry [-InputObject] <RASSerilazableObj> -DisplayName <string> -Path <string> [-Action {Add | Modify | Delete}] [-DWORDValue <uint>] [-HiveType {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [-RegistryName <string>] [-RegType {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [-StringValue <string>] [<CommonParameters>] Add-RASImageOptimizationRegistry [-Name] <string> [[-SiteId] <uint>] -DisplayName <string> -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} -Path <string> [-Action {Add | Modify | Delete}] [-DWORDValue <uint>] [-HiveType {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [-RegistryName <string>] [-RegType {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [-StringValue <string>] [<CommonParameters>]

DESCRIPTION

Adds Registry to the following list

PARAMETERS

-Action <ActionType> Possible values: Add, Modify, Delete

        Required?                    false
        Position?                    named
        Default value                Add
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RegistryName <string>

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DWORDValue <uint>

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DisplayName <string>

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-HiveType <HiveType> Possible values: HKEY_CURRENT_CONFIG, HKEY_USERS, HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT

        Required?                    false
        Position?                    named
        Default value                HKEY_CURRENT_CONFIG
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Path <string>

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RegType <ValueType> Possible values: REG_SZ, REG_DWORD, REG_QWORD, REG_MULTI_SZ, REG_EXPAND_SZ

        Required?                    false
        Position?                    named
        Default value                REG_SZ
        Accept pipeline input?       false
        Accept wildcard characters?  false

-StringValue <string>

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the Image Optimization settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to modify the Image Optimization settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the Image Optimization settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASSerilazableObj> An object of type RDS, VDITemplate or VDIDesktop for which to modify the Image Optimization settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <OptimizationServerObjType> The Object Type for which to modify the Image Optimization settings. Possible values: RDSHost, RDS, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <ServerDefObjType> The Default Object Type for which to modify the Image Optimization settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

        Required?                    true
        Position?                    named
        Default value                0
        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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASImageOptimizationRegistry -Id 30 -ObjType RDS -Action Add -RegistryName "Name" -DWORDValue 1 -DisplayName HKEY_test -HiveType HKEY_CURRENT_CONFIG -Path System\CurrentControlSet\Services\Disk -RegType REG_SZ Adds the Image Optimization Registry of the Object Type 'RDS'.

RELATED LINKS

  • Get-RASImageOptimizationRegistry

  • Remove-RASImageOptimizationRegistry

Add-RASFSLogixCCDLocation

NAME

Add-RASFSLogixCCDLocation

SYNOPSIS

Adds a CCDLocation to a CCDLocation List of the Profile Container.

SYNTAX

Add-RASFSLogixCCDLocation - <string> - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <SwitchParameter> [- <uint>] [<>] Add-RASFSLogixCCDLocation - <string> - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <SwitchParameter> [- <uint>] [<>] Add-RASFSLogixCCDLocation - <string> - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <SwitchParameter> [- <uint>] [<>] Add-RASFSLogixCCDLocation [-] <uint> - <string> - <SwitchParameter> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [<>] Add-RASFSLogixCCDLocation [-] <uint> - <string> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> [<>] Add-RASFSLogixCCDLocation [-] <uint> - <string> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> [<>] Add-RASFSLogixCCDLocation [-] <> - <string> - <SwitchParameter> [<>] Add-RASFSLogixCCDLocation [-] <> - <string> - <SwitchParameter> [<>] Add-RASFSLogixCCDLocation [-] <> - <string> - <SwitchParameter> [<>] Add-RASFSLogixCCDLocation [-] <string> [[-] <uint>] - <string> - <SwitchParameter> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [<>] Add-RASFSLogixCCDLocation [-] <string> [[-] <uint>] - <string> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> [<>] Add-RASFSLogixCCDLocation [-] <string> [[-] <uint>] - <string> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> [<>]

DESCRIPTION

Adds a CCDLocation to a CCDLocation List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults

PARAMETERS

-CCDLocation <string> Specifies the 'CCDLocation' path to add to the CCDLocation List.

-Name <string> The name or server for which to modify the FSLogix settings.

-SiteId <uint> Site ID from which to modify the FSLogix settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the FSLogix settings.

-InputObject <> An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the FSLogix settings.

-ObjType <> The Object Type for which to modify the FSLogix settings. Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool

-DefObjType <> The Default Object Type for which to modify the FSLogix settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

-ProfileContainer <SwitchParameter> Set the Profile Container settings.

-OfficeContainer <SwitchParameter> Sets the Office Container settings.

-GeneralSettings <SwitchParameter> Sets the General settings.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASFSLogixCCDLocation -DefObjType RDSDef -ContainerType Profile -CCDLocation "type=smb,connectionString=Location1" Adds a CCDLocation to the CCDLocation List of the Profile Container within the FSLogix Settings of the RDS Default Settings.

RELATED LINKS

Add-RASVDIHostPoolMember

NAME

Add-RASVDIHostPoolMember

SYNOPSIS

Adds one or multiple VDI Host Pool Members to a VDI Host Pool.

SYNTAX

Add-RASVDIHostPoolMember [-] <uint> - <string> - {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool | Template | TemplateGuest | TemplateVersion} [- <string>] [- <SwitchParameter>] [- <uint>] [- <string>] [- <List`1>] [<>] Add-RASVDIHostPoolMember [-] <uint> - <string> - <SecureString> - {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool | Template | TemplateGuest | TemplateVersion} - <string> [- <string>] [- <uint>] [- <string>] [- <List`1>] [<>] Add-RASVDIHostPoolMember [-] <> - <string> - {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool | Template | TemplateGuest | TemplateVersion} [- <string>] [- <SwitchParameter>] [- <uint>] [- <string>] [- <List`1>] [<>] Add-RASVDIHostPoolMember [-] <> - <string> - <SecureString> - {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool | Template | TemplateGuest | TemplateVersion} - <string> [- <string>] [- <uint>] [- <string>] [- <List`1>] [<>] Add-RASVDIHostPoolMember [-] <string> [[-] <uint>] - <string> - {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool | Template | TemplateGuest | TemplateVersion} [- <string>] [- <SwitchParameter>] [- <uint>] [- <string>] [- <List`1>] [<>] Add-RASVDIHostPoolMember [-] <string> [[-] <uint>] - <string> - <SecureString> - {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool | Template | TemplateGuest | TemplateVersion} - <string> [- <string>] [- <uint>] [- <string>] [- <List`1>] [<>]

DESCRIPTION

Adds one or multiple VDI Host Pool Members to an existing VDI Host Pool.

PARAMETERS

-VDIHostPoolName <string> The VDI Host Pool name.

-SiteId <uint> Site ID where the VDI Host Pool is located. If the parameter is omitted, the site ID of the Licensing Server will be used.

-VDIHostPoolId <uint> The VDI Host Pool ID.

-InputObject <> An object of type VDIHostPool identifying the target VDI Host Pool. The object is obtained using the Get-RASVDIHostPool cmdlet.

-Type <> The VDI Host Pool Member Type. The type can either be: ALLGUESTSINPROVIDER, GUEST, NATIVEPOOL, TEMPLATEGUEST or TEMPLATEVERSION. Possible values: AllHostsInProvider, AllGuestsInProvider, Host, Guest, NativePool, Template, TemplateGuest, TemplateVersion

-Name <string> The VDI Host Pool Member Name.

-ProviderId <uint> The VDI Host Pool Member Provider ID. This parameter is only accepted with Types: ALLGUESTSONPROVIDER, GUEST or NATIVEPOOL.

-VMId <string> The VDI Host Pool Member Guest ID. This parameter is only accepted with Type: GUEST.

-NativePoolId <string> The VDI Host Pool Member Native Pool ID. This parameter is only accepted with Type: NATIVEPOOL.

-NoInstall <SwitchParameter> Specifies not to install the RAS Guest Agent on the server. If this parameter is omitted, the agent will be push installed in the VM using your RAS admin credentials. To specify different credentials for push installation, use the Username and Password parameters. This parameter can be used in situations when the RAS Guest Agent is already installed in a VM, but the VM is powered down. By including this parameter, you will simply power up the VM and make it available for Parallels RAS operations.

-Username <string> An administrator account for push installing the RAS Guest Agent in the VM. If this parameter is omitted, your RAS admin username (and password) will be used.

-Password <SecureString> The password of the account specified in the Username parameter.

-VMIds <List`1> The VDI Host Pool Member Desktops IDs. This parameter is only accepted with Type: ALLDESKTOPSONPROVIDER.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASVDIHostPoolMember -VDIHostPoolName "My VDI Host Pool" -Type ALLGUESTSONPROVIDER -Name "MY VDI Host Pool Member" -ProviderId 1 Adds the specified VDI Host Pool Member to the specified VDI Host Pool. The Type ALLGUESTSONPROVIDER requires the ProviderId to be specified. ---------- EXAMPLE 2 ---------- Add-RASVDIHostPoolMember -VDIHostPoolName "My VDI Host Pool" -Type GUEST -Name "MY VDI Host Pool Member" -ProviderId 1 -VMId 42312685-05c9-ca51-342d-b3943046edf1 Adds the specified VDI Host Pool Member to the specified VDI Host Pool. The Type GUEST requires the ProviderId and VDIDesktopId to be specified. ---------- EXAMPLE 3 ---------- Add-RASVDIHostPoolMember -VDIHostPoolName "My VDI Host Pool" -Type NATIVEPOOL -Name "MY VDI Host Pool Member" -ProviderId 1 -NativePoolId 1 Adds the specified VDI Host Pool Member to the specified VDI Host Pool. The Type NATIVEPOOL requires the ProviderId and NativePoolId to be specified. ---------- EXAMPLE 4 ---------- Add-RASVDIHostPoolMember -VDIHostPoolName "My VDI Host Pool" -Type TEMPLATEDESKTOP -Name "MY VDI Host Pool Member" -VDITemplateId 1 Adds the specified VDI Host Pool Member to the specified VDI Host Pool. The Type TEMPLATEGUEST requires the VDITemplateId to be specified.

RELATED LINKS

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
CCDLocation
DefObjType
GeneralSettings
SiteId
CommonParameters
CCDLocation
DefObjType
OfficeContainer
SiteId
CommonParameters
CCDLocation
DefObjType
ProfileContainer
SiteId
CommonParameters
Id
CCDLocation
GeneralSettings
ObjType
CommonParameters
Id
CCDLocation
ObjType
OfficeContainer
CommonParameters
Id
CCDLocation
ObjType
ProfileContainer
CommonParameters
InputObject
RASSerilazableObj
CCDLocation
GeneralSettings
CommonParameters
InputObject
RASSerilazableObj
CCDLocation
OfficeContainer
CommonParameters
InputObject
RASSerilazableObj
CCDLocation
ProfileContainer
CommonParameters
Name
SiteId
CCDLocation
GeneralSettings
ObjType
CommonParameters
Name
SiteId
CCDLocation
ObjType
OfficeContainer
CommonParameters
Name
SiteId
CCDLocation
ObjType
ProfileContainer
CommonParameters
RASSerilazableObj
FSLogixServerObjType
ServerDefObjType
Get-RASFSLogix
Set-RASFSLogix
Get-RASFSLogixCCDLocation
Remove-RASFSLogixCCDLocation
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                AllGuestsInProvider
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                System.Collections.Generic.List`1[System.String]
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
VDIHostPoolId
Name
Type
NativePoolId
NoInstall
ProviderId
VMId
VMIds
CommonParameters
VDIHostPoolId
Name
Password
Type
Username
NativePoolId
ProviderId
VMId
VMIds
CommonParameters
InputObject
VDIHostPool
Name
Type
NativePoolId
NoInstall
ProviderId
VMId
VMIds
CommonParameters
InputObject
VDIHostPool
Name
Password
Type
Username
NativePoolId
ProviderId
VMId
VMIds
CommonParameters
VDIHostPoolName
SiteId
Name
Type
NativePoolId
NoInstall
ProviderId
VMId
VMIds
CommonParameters
VDIHostPoolName
SiteId
Name
Password
Type
Username
NativePoolId
ProviderId
VMId
VMIds
CommonParameters
VDIHostPool
VDIHostPool
VDIHostPool
New-RASVDIHostPool
Get-RASVDIHostPool
Set-RASVDIHostPool
Remove-RASVDIHostPool
Get-RASVDIHostPoolMember
Remove-RASVDIHostPoolMember

Add-RASFSLogixFolder

NAME

Add-RASFSLogixFolder

SYNOPSIS

Adds a folder to an Inclusion/Exclusion List of the Profile Container.

SYNTAX

Add-RASFSLogixFolder -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -Folder <string> -FolderListType {Inclusion | Exclusion} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [-SiteId <uint>] [<CommonParameters>] Add-RASFSLogixFolder -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -Folder <string> -FolderListType {Inclusion | Exclusion} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [-SiteId <uint>] [<CommonParameters>] Add-RASFSLogixFolder -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -Folder <string> -FolderListType {Inclusion | Exclusion} -ProfileContainer <SwitchParameter> [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [-SiteId <uint>] [<CommonParameters>] Add-RASFSLogixFolder [-Id] <uint> -Folder <string> -FolderListType {Inclusion | Exclusion} -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-Id] <uint> -Folder <string> -FolderListType {Inclusion | Exclusion} -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-Id] <uint> -Folder <string> -FolderListType {Inclusion | Exclusion} -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer <SwitchParameter> [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-InputObject] <RASSerilazableObj> -Folder <string> -FolderListType {Inclusion | Exclusion} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-InputObject] <RASSerilazableObj> -Folder <string> -FolderListType {Inclusion | Exclusion} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-InputObject] <RASSerilazableObj> -Folder <string> -FolderListType {Inclusion | Exclusion} -ProfileContainer <SwitchParameter> [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-Name] <string> [[-SiteId] <uint>] -Folder <string> -FolderListType {Inclusion | Exclusion} -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-Name] <string> [[-SiteId] <uint>] -Folder <string> -FolderListType {Inclusion | Exclusion} -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>] Add-RASFSLogixFolder [-Name] <string> [[-SiteId] <uint>] -Folder <string> -FolderListType {Inclusion | Exclusion} -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer <SwitchParameter> [-ExcludeFolderCopy {None | CopyBase | CopyBack}] [<CommonParameters>]

DESCRIPTION

Adds a folder to an Inclusion/Exclusion List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults

PARAMETERS

-ExcludeFolderCopy <ExcludeFolderCopy> Specifies the 'Exclude Folder Copy', in case of adding to the Exclude Folder List. Possible values: None, CopyBase, CopyBack

        Required?                    false
        Position?                    named
        Default value                CopyBase, CopyBack
        Accept pipeline input?       false
        Accept wildcard characters?  false

-FolderListType <FSLogixListType> Specifies the 'Folder List Type'. Possible values: Inclusion, Exclusion

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Folder <string> Specifies the 'Folder' path to add to the Include/Exclude Folder List.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string> The name or server for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID from which to modify the FSLogix settings. If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> The ID of a server for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASSerilazableObj> An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <FSLogixServerObjType> The Object Type for which to modify the FSLogix settings. Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <ServerDefObjType> The Default Object Type for which to modify the FSLogix settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ProfileContainer <SwitchParameter> Set the Profile Container 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 . 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASFSLogixFolder -DefObjType RDSDef -ContainerType Profile -FolderListType Inclusion -Folder "C:/Test1" Adds a folder to the Inclusion List of the Profile Container within the FSLogix Settings of the RDS Default Settings. ---------- EXAMPLE 2 ---------- Add-RASFSLogixFolder -Name "RDSHostPool1" -ObjType RDSHostPool -ContainerType Profile -FolderListType Exclusion -Folder "C:/Test2" Adds a folder to the Exclusion List of the Profile Container within the FSLogix Settings of the specified RDSHostPool by Name.

RELATED LINKS

  • Get-RASFSLogix

  • Set-RASFSLogix

  • Get-RASFSLogixFolder

  • Remove-RASFSLogixFolder

Add-RASFSLogixUser

NAME

Add-RASFSLogixUser

SYNOPSIS

Adds a user to an Inclusion/Exclusion List of the Profile Container.

SYNTAX

Add-RASFSLogixUser - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [- <uint>] [<>] Add-RASFSLogixUser - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [- <uint>] [<>] Add-RASFSLogixUser - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [- <uint>] [<>] Add-RASFSLogixUser [-] <uint> - <SwitchParameter> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <uint> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <uint> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <> - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <> - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <> - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <string> [[-] <uint>] - <SwitchParameter> - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <string> [[-] <uint>] - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [<>] Add-RASFSLogixUser [-] <string> [[-] <uint>] - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - <SwitchParameter> - {Inclusion | Exclusion} [- <string>] [- <string>] [<>]

DESCRIPTION

Adds a user to an Inclusion/Exclusion List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults

PARAMETERS

-UserListType <> Specifies the 'User List Type'. Possible values: Inclusion, Exclusion

-Account <string> The name of the user/group account to add to the FSLogix Container.

-SID <string> The SID of the user/group account to add to the FSLogix Container.

-Name <string> The name or server for which to modify the FSLogix settings.

-SiteId <uint> Site ID from which to modify the FSLogix settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the FSLogix settings.

-InputObject <> An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the FSLogix settings.

-ObjType <> The Object Type for which to modify the FSLogix settings. Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool

-DefObjType <> The Default Object Type for which to modify the FSLogix settings. Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

-ProfileContainer <SwitchParameter> Set the Profile Container settings.

-OfficeContainer <SwitchParameter> Sets the Office Container settings.

-GeneralSettings <SwitchParameter> Sets the General settings.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASFSLogixUser -DefObjType RDSDef -ContainerType Profile -UserListType Inclusion -Account "JaneDoe" Adds a user to the Inclusion List of the Profile Container within the FSLogix Settings of the RDS Default Settings. ---------- EXAMPLE 2 ---------- Add-RASFSLogixUser -Name "RDSHostPool1" -ObjType RDSHostPool -ContainerType Profile -UserListType Exclusion -Account "SID://DOMAIN/JaneDoe" Adds a user to the Exclusion List of the Profile Container within the FSLogix Settings of the specified RDSHostPool by Name.

RELATED LINKS

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters . 
DefObjType
GeneralSettings
UserListType
Account
SID
SiteId
CommonParameters
DefObjType
OfficeContainer
UserListType
Account
SID
SiteId
CommonParameters
DefObjType
ProfileContainer
UserListType
Account
SID
SiteId
CommonParameters
Id
GeneralSettings
ObjType
UserListType
Account
SID
CommonParameters
Id
ObjType
OfficeContainer
UserListType
Account
SID
CommonParameters
Id
ObjType
ProfileContainer
UserListType
Account
SID
CommonParameters
InputObject
RASSerilazableObj
GeneralSettings
UserListType
Account
SID
CommonParameters
InputObject
RASSerilazableObj
OfficeContainer
UserListType
Account
SID
CommonParameters
InputObject
RASSerilazableObj
ProfileContainer
UserListType
Account
SID
CommonParameters
Name
SiteId
GeneralSettings
ObjType
UserListType
Account
SID
CommonParameters
Name
SiteId
ObjType
OfficeContainer
UserListType
Account
SID
CommonParameters
Name
SiteId
ObjType
ProfileContainer
UserListType
Account
SID
CommonParameters
FSLogixListType
RASSerilazableObj
FSLogixServerObjType
ServerDefObjType
Get-RASFSLogix
Set-RASFSLogix
Get-RASFSLogixUser
Remove-RASFSLogixUser