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...
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.
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.
For additional Parallels RAS documentation and resources, please visit https://www.parallels.com/products/ras/resources
© 2025 Parallels International GmbH. Parallels and the Parallels logo are trademarks or registered trademarks of Parallels International GmbH in Canada, the U.S., and/or elsewhere.
Get-RASAVDGallery
The cmdlet returns a list of Azure Virtual Desktop Galleries.
Get-RASAVDGallery -ProviderId** (uint) [(CommonParameters)]
The cmdlet returns a list of Azure Virtual Desktop Galleries.
Provider ID from which to retrieve the Azure Virtual Desktop Gallery information.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDGallery -ProviderId 2
Retrieves a list of Galleries which fall under the Provider specified.
-none-
Get-RASAVDCustomHost
The cmdlet returns a list of Azure Virtual Desktop Custom Hosts.
Get-RASAVDCustomHost -ProviderId (uint) [ShowHostsInHostPool (SwitchParameter)] [(CommonParameters)]
The cmdlet returns a list of Azure Virtual Desktop Custom Hosts.
Provider ID from which to retrieve the Azure Virtual Desktop Custom Host information.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Show Hosts in existing host pools.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDCustomHost -ProviderId 2 | Format-List
Retrieves all the Custom Hosts under the Provider with ID 2.
The Format-List cmdlet formats the display output to include all available properties.
-none-
Parallels RAS PowerShell requires 'Connection Broker' component of a matching version to communicate with.
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
To get started with Parallels RAS PowerShell, complete thefollowing steps:
Open the Windows PowerShell console.
In the console, type the following command to import the Parallels RAS PowerShell module:
Import-Module RASAdmin
Create a Parallels RAS session by executing the 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"
Execute the following cmdlet to see the list of cmdlets included in the Parallels RAS PowerShell module:
Get-Command -Module RASAdmin
Execute other cmdlets. For example, try executing the 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
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 cmdlet:
Invoke-RASApply
To activate a Parallels RAS license, use :
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.
© 2025 Parallels International GmbH. Parallels and the Parallels logo are trademarks or registered trademarks of Parallels International GmbH in Canada, the U.S., and/or elsewhere.
Add-RASPrintingAutoInstallFont
Adds an Auto install font to Parallels RAS Universal Printing settings.
Add-RASPrintingAutoInstallFont - (string) [ (SwitchParameter)] [ (uint)] [()]
Adds an Auto install font to Parallels RAS Universal Printing settings.
The site ID.
To obtain the ID of a desired site, use the Get-Sites cmdlet.
Auto Install Font Path.
Automatically Exclude Font from embedding.
(CommonParameters)
-none-
-none-
**---------- 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.
Get-RASAppPackageAvailVersions
Retrieves the application package version.
Get-RASAppPackageAvailVersions [] (string) [[-] (uint)] [()]
Retrieves the application package version.
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.
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.
(CommonParameters)
-none-
**---------- 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.
-none-
Get-RASAdminSession
Retrieves information about RAS Admin sessions.
-none-
Retrieves information about RAS Admin sessions.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAdminSession
Retrieves information about RAS Admin sessions.
Get-RASAVDVirtualNetwork
The cmdlet returns a list of Azure Virtual Desktop Virtual Networks.
Get-RASAVDVirtualNetwork - (string) - (uint) [()]
The cmdlet returns a list of Azure Virtual Desktop Virtual Networks.
Provider ID from which to retrieve the Azure Virtual Desktop Virtual Network information.
Location of the Azure Virtual Desktop Provider.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDVirtualNetwork -ProviderId 2 -Location "westeurope" | Format-List
Retrieves all the Virtual Networks found under the Provider with ID 2 and Location westeurope.
The Format-List cmdlet formats the display output to include all available properties.
-none-
Get-RASAVDSettings
Retrieves the Azure Virtual Desktop Features settings.
Get-RASAVDSettings [** (uint)] [()]
Retrieves the Azure Virtual Desktop Features settings.
Site ID from which to retrieve the AVD settings.
If the parameter is omitted, the Licensing Server site ID will be used.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDSettings
Retrieves the AVD Features Settings.
Get-RASAVDLocation
The cmdlet returns a list of Azure Virtual Desktop Locations.
Get-RASAVDLocation -** (uint) [()]
The cmdlet returns a list of Azure Virtual Desktop Locations.
Provider ID from which to retrieve the Azure Virtual Desktop Location information.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDLocation -ProviderId 2 | Format-List
Retrieves all the Locations under the Provider with ID 2.
The Format-List cmdlet formats the display output to include all available properties.
-none-
Get-RASAVDResourceGroup
The cmdlet returns a list of Azure Virtual Desktop Resource Groups.
Get-RASAVDResourceGroup - (uint) [()]
The cmdlet returns a list of Azure Virtual Desktop Resource Groups.
Provider ID from which to retrieve the Azure Virtual Desktop Resource Group information.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDResourceGroup -ProviderId 2 | Format-List
Retrieves all the Resource Groups under the Provider with ID 2.
The Format-List cmdlet formats the display output to include all available properties.
Get-RASAVDPredefinedImages
Retrieves the predefined Azure Virtual Desktop VM images.
-none-
The cmdlet returns the predefined Azure Virtual Desktop VM images.
To retrieve the AzureId of the Latest Predefined Image, use the Get-RASAVDVersion command and pass along the respective data.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDPredefinedImages
Retrieves information about the predefined AVD VM images.
Get-RASAWSSubnets
The cmdlet returns a list of Amazon Web Service Subnets.
Get-RASAWSSubnets -** (uint) - {RDSTemplate | VDITemplate} [()]
The cmdlet returns a list of Amazon Web Service Subnets.
Template ID from which to retrieve the Amazon Web Service Subtnets.
Template Type from which to retrieve the Amazon Web Service Subtnets.
Possible values: RDSTemplate, VDITemplate
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAWSSubnets -TemplateId 2 -TemplateType RDSTemplate
Retrieves a list of Subnets that are available to the specified Template.
-none-
Get-RASCurrentAdminPermissions
Retrieve information about the current admin permissions.
-none-
The cmdlet returns the current admin permissions.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASCurrentAdminPermissions
Retrieves information about the current admin permissions.
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
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 documentation.
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
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
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 documentation.
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
Add-RASExcludeADGroup
Adds an Exclude AD group entry.
Add-RASExcludeADGroup [Account (string)] [SID (string)] [SiteId (uint)] [(CommonParameters)]
Adds an Exclude AD group to the Exclude AD group settings list.
The name of the group account to add to the Exclude AD group list.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The SID of the group account to add to the Exclude AD group list.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Site ID in which to modify the specified Exclude AD group settings.
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 documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASExcludeADGroup -Account Guests
Adds an Exclude AD group to the Exclude AD group settings list for the current site.
Add-RASPubAppFileExt
Adds a file extension for the specified published application.
Add-RASPubAppFileExt [Id]** (uint) -Extension (string) [SiteId (uint)] [(CommonParameters)]
Add-RASPubAppFileExt [-InputObject] (PubItem) -Extension (string) [SiteId (uint)] [(CommonParameters)]
This cmdlet only allows you to add a file extension.
To modify other file extensions, use the Set-RASPubAppFileExt cmdlet.
The file extension that will be added/modified.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Published resource ID.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
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
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Add-RASPubAppFileExt -Id 3 -Extension "txt"
Adds the specified file extension for the resource specified by ID.
Get-RASADIntegrationSettings
Obtains AD integration settings.
Get-RASADIntegrationSettings [SiteId (uint)] [(CommonParameters)]
Obtains the active AD integration settings for the current site.
Site ID from which to retrieve the AD Integration Settings.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASADIntegrationSettings
Obtains the active AD integration settings for the current site.
Get-RASAVDDefaultSettings
Retrieves default settings used to configure an Azure Virtual Desktop.
Get-RASAVDDefaultSettings [[-SiteId] (uint)] -DefObjType {AVDMultiSessionDefaultSettings | AVDSingleSessionDefaultSettings} [(CommonParameters)]
Retrieves default settings used to configure an Azure Virtual Desktop.
Default settings are defined on a site level and are applied to an Azure Virtual Desktop when it is initially created.
Site ID from which to retrieve the defaults.
If the parameter is omitted, the site ID of the Licensing Server will be used.
Required? false
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The Default Object Type
Possible values: AVDMultiSessionDefaultSettings, AVDSingleSessionDefaultSettings
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 documentation.
-none-
**---------- 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.
Add-RASThemeCustomImage
Add a theme custom image.
Add-RASThemeCustomImage -ImageFile (string) [Name (string)] [SiteId (uint)] [(CommonParameters)]
Add a theme custom image.
Theme custom image name.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Image file path of the image to be added to the Theme Custom Images list.
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 documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASThemeCustomImage -ImageFile "C:\temp\image.png"
Add a theme custom image to the list of theme custome images of the Licensing site.
Get-RASAppPackageSettings
Retrieves Application Package settings.
Get-RASAppPackageSettings [SiteId (uint)] [(CommonParameters)]
Retrieves the active Application Package settings for the current site.
The ID of the Site from which to retrieve the application package settings.
To obtain the ID of the 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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAppPackageSettings
Obtains the active Application package settings for the current site.
Get-RASAllowedDevicesSetting
Returns settings for types of allowed clients.
Get-RASAllowedDevicesSetting [SiteId (uint)] [(CommonParameters)]
Returns settings for types of allowed clients.
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 documentation.
-none-
**---------- 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-RASBrokerAutoPromotionSettings
Obtains Parallels RAS Broker Auto Promotion settings.
Get-RASBrokerAutoPromotionSettings [[-SiteId] (uint)] [(CommonParameters)]
The Get-RASBrokerAutoPromotionSettings cmdlet obtains the complete set of Parallels RAS Broker Auto Promotion settings for the current session.
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.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASBrokerAutoPromotionSettings
Obtains Parallels RAS Auto Promote settings for the current session.
Get-RASAVDPublisher
The cmdlet returns a list of Azure Virtual Desktop Publishers.
Get-RASAVDPublisher -Location** (string) -ProviderId (uint) [(CommonParameters)]
The cmdlet returns a list of Azure Virtual Desktop Publishers.
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 of the Azure Virtual Desktop Provider.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDPublisher -ProviderId 2 -Location "westeurope"
Retrieves a list of Publishers which fall under the Provider and Location specified.
-none-
Get-RASAuthSettings
Retrieves connection settings for authentication.
Get-RASAuthSettings [SiteId** (uint)] [(CommonParameters)]
Retrieves all of the available connection settings for the Authentication category.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAuthSettings
Retrieves RAS authentication settings.
Get-RASClientPolicyConnection
Retrieves the connection list.
Get-RASClientPolicyConnection [Id] (uint) [(CommonParameters)]
Get-RASClientPolicyConnection [[-Name] (string)] [(CommonParameters)]
Retrieves the connection list.
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
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASClientPolicyConnection -Id 1
Retrieves the following client policy connection with Id=1.
Get-RASAVDSKU
The cmdlet returns a list of Azure Virtual Desktop Stock Keeping Units.
Get-RASAVDSKU -Location (string)** -Offer (string) -ProviderId (uint) -Publisher (string) [(CommonParameters)]
The cmdlet returns a list of Azure Virtual Desktop Stock Keeping Units.
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 of the Azure Virtual Desktop Provider.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The Azure Virtual Desktop Publisher.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
**---------- 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.
-none-
Get-RASAVDHostPool
Retrieves information about one or multiple Azure Virtual Desktop Host Pool properties.
Get-RASAVDHostPool [[-Id]** (uint)] [(CommonParameters)]
Get-RASAVDHostPool [[-Name]** (string)] [[-SiteId] (uint)] [(CommonParameters)]
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.
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
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
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 documentation.
-none-
**---------- 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-RASAVDOffer
The cmdlet returns a list of Azure Virtual Desktop Offers.
Get-RASAVDOffer -Location** (string) -ProviderId (uint) -Publisher (string) [(CommonParameters)]
The cmdlet returns a list of Azure Virtual Desktop Offers.
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 of the Azure Virtual Desktop Provider.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDOffer -ProviderId 2 -Location "westeurope" -Publisher "publisher-server"
Retrieves a list of Offers which fall under the Provider, Location and Publisher specified.
-none-
Get-RASClientSettings
Retrieves the Parallels RAS client settings.
Get-RASClientSettings [SiteId** (uint)] [(CommonParameters)]
Retrieves the Parallels RAS client settings.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASClientSettings
Retrieves the RAS Farm client settings. **---------- EXAMPLE 2 ----------
Get-RASClientSettings | Format-List
Retrieves the RAS client settings.
Get-RASCPUOptimizationSettings
Obtains Parallels RAS CPU Optimization settings.
Get-RASCPUOptimizationSettings [SiteId (uint)] [(CommonParameters)]
The Get-RASCPUOptimizationSettings cmdlet obtains the complete set of CPU optimization settings for the current session.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASCPUOptimizationSettings
Obtains Parallels RAS CPU optimization settings for the current session.
Get-RASCustomPermission
Retrieves the permissions of a RAS custom admin account.
Get-RASCustomPermission [AdminId] (uint) [(CommonParameters)]
Retrieves the permissions of a RAS custom admin account.
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASCustomPermission -AdminId 100
Retrieves the permissions of a custom administrator specified by ID.
Get-RASCustomRoute
Retrieves information about one or multiple custom routes.
Get-RASCustomRoute [[-Id]** (uint)] [(CommonParameters)]
Get-RASCustomRoute [[-Name]** (string)] [[-SiteId] (uint)] [(CommonParameters)]
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.
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
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
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 documentation.
-none-
**---------- 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.
Add-RASHALBDevice
Add a new HALB Device to the specific HALB Virtual Server instance.
Add-RASHALBDevice [[-]** (uint)] [] (string) [[-] (SwitchParameter)] [()]
Add-RASHALBDevice [-] () [] (string) [[-] (SwitchParameter)] [()]
Add-RASHALBDevice []** (string) [[-] (uint)] [] (string) [[-] (SwitchParameter)] [()]
Add a new HALB Device to the specific HALB Virtual Server instance.
An object of type HALBSettings.
The object is obtained using the Get-RASHALB cmdlet.
(CommonParameters)
-none-
**---------- 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.
Add-RASURLRedirectionEntry
Adds a URL redirection entry.
Add-RASURLRedirectionEntry - (string) [- {DoNotRedirect | Redirect}] [ (bool)] [ (uint)] [()]
Adds a URL redirection to the URL redirection settings list for the current site.
Whether the URL redirection will be enabled or disabled.
The URL to redirect or not.
The redirect action type.
Possible values: DoNotRedirect, Redirect
Site ID in which to modify the specified URL redirection settings.
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASURLRedirectionEntry -URL test.com
Adds a URL redirection for test.com to the URL redirection settings list for the current site.
Add-RASMFAUsers
Import MFA TOTP/EmailOTP users from a CSV file.
Add-RASMFAUsers -** (string) [ (uint)] [ (uint)] [- {GAuthTOTP | TOTP | MicrosoftTOTP | EmailOTP}] [()]
Import MFA TOTP/EmailOTP users from a CSV file.
File path to CSV containing user and secret.
Must be in the format "user,secret".
Site ID in where the users will be imported.
If the parameter is omitted, the site ID of the Licensing Server will be used.
The ID of the MFA Provider to be modified.
In case of TOTP Provider, the ID will always be 0. Default: 0.
The MFA Provider Type to be modified.
If the parameter is omitted, the site ID of the Licensing Server will be used.
Possible values: GAuthTOTP, TOTP, MicrosoftTOTP, EmailOTP
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASMFAUsers -FilePath "users.csv" -Type TOTP
Imports MFA TOTP users from file. Operation is done on licensing site. **---------- EXAMPLE 2 ----------
Add-RASMFAUsers -FilePath "users.csv" -Type EmailOTP -MFAId 1
Imports MFA EmailOTP users from file in MFA with Id 1. **---------- EXAMPLE 3 ----------
Add-RASMFAUsers -FilePath "users.csv" -SiteId 2 -Type TOTP
Imports MFA TOTP users from file. Operation is done on site 2.
Get-RASAdminAccount
Retrieves information about one or multiple Parallels RAS administrator accounts.
Get-RASAdminAccount [[-]** (uint)] [()]
Get-RASAdminAccount [[-]** (string)] [()]
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).
The username of a Parallels RAS administrator account for which to retrieve the information.
The ID of an administrator account for which to retrieve the information.
(CommonParameters)
-none-
**---------- 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.
Add-RASProviderAdminCredentials
Adds Admin Credential property to the list.
Add-RASProviderAdminCredentials [] (uint) [ (bool)] [ (string)] [ (string)] [()]
Add-RASProviderAdminCredentials [] (string) [[-] (uint)] [ (bool)] [ (string)] [ (string)] [()]
Adds Admin Credential to the following list.
The name of the Provider.
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.
The ID of the Provider server to modify. To obtain the ID, use the Get-RASProvider cmdlet.
Whether credentials are enabled or not
Username
Password
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASProviderAdminCredential -Id 1 -Enabled $true -Username "Administrator"
Adds the Admin Credentials to the property list
Get-RASAgentDiagnostic
Retrieves RAS Agent Diagnostic information.
Get-RASAgentDiagnostic - {RDS | Provider | Gateway | Guest | Broker | PA | HALBDevice | EnrollmentServer} - (string) [ (uint)] [()]
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.
The name of server from which to retrieve Agent information.
This must be the actual server name used in the RAS farm.
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.
() Specifies the server type for which to retrieve the information.
Possible values: RDS, Provider, Gateway, Guest, Broker, PA, HALBDevice, EnrollmentServer
(CommonParameters)
-none-
**---------- 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-RASAppPackage
Retrieves the application package settings.
Get-RASAppPackage [] (uint)** [()]
Get-RASAppPackage [[-]** (string)] [[-] (uint)] [()]
Retrieves the application package settings.
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.
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.
The ID of an application package from which to retrieve the information.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAppPackage
Retrieves the list of Application Packages. **---------- EXAMPLE 2 ----------
Get-RASAppPackage -Id 1
Retrieves the Application Package with Id 1.
Add-RASThemeGroupFilter
Adds a new group filter to the theme group filters.
Add-RASThemeGroupFilter []** (uint) [ (string)] [ (string)] [()]
Add-RASThemeGroupFilter [] (string) [[-] (uint)] [ (string)] [ (string)] [()]
Adds a new group filter to the theme group filters.
The name of the group list
The group SID
Name of the Theme policy to modify.
This must be the actual Theme policy name used in the RAS farm.
The site ID to which to add the specified server.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of the Theme policy to modify. To obtain the ID, use the Get-RASTheme cmdlet.
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASThemeGroupFilter -Id 1 -GroupName GroupListName
Adds a group filter with name GroupListName for theme with Id 1.
Get-RASAVDHostPoolAssignment
Retrieves the Azure Virtual Desktop Host Pool Assignment List.
Get-RASAVDHostPoolAssignment [[-] (uint)] [()]
Get-RASAVDHostPoolAssignment [[-] (string)] [[-] (uint)] [()]
Retrieves the Azure Virtual Desktop Host Pool Assignment List within an Azure Virtual Desktop Host Pool.
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.
Site ID from which to retrieve the AVD Host Pool information.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a Azure Virtual Desktop Host Pool for which to retrieve the information.
(CommonParameters)
-none-
**---------- 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-RASAVDVMSize
The cmdlet returns a list of Azure Virtual Desktop VM Sizes.
Get-RASAVDVMSize -** (string) - (uint) [()]
Get-RASAVDVMSize -** (string) - (uint) [()]
The cmdlet returns a list of Azure Virtual Desktop VM Sizes.
Provider ID from which to retrieve the Azure Virtual Desktop VMSize information.
Location of the Azure Virtual Desktop Provider.
Workspace ID from which to retrieve the Azure Virtual Desktop VMSize information.
Azure Virtual Desktop VM Id.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDVMSize -ProviderId 2 -Location westeurope | Format-List
Retrieves all the VM Sizes which fall under the AVD Provider and Location specified.
The Format-List cmdlet formats the display output to include all available properties. **---------- EXAMPLE 2 ----------
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 which fall under the AVD Workspace and VMAzure specified.
-none-
Get-RASClientPolicyAssignment
Retrieves information about a client policy assignment.
Get-RASClientPolicyAssignment [] (uint) [()]
Get-RASClientPolicyAssignment [] (string) [()]
Retrieves information about a client policy assignment.
Name of the client policy for which to retrieve the information.
The ID of the client policy for which to retrieve the information.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASClientPolicyAssignment -Name PDFPolicy
Retrieves information about the assignment from a client policy named PDFPolicy.
Get-RASClientPolicy
Retrieves information about one or all the client policies.
Get-RASClientPolicy []** (uint) [()]
Get-RASClientPolicy [[-]** (string)] [()]
Retrieves information about one or all the client policies.
Name of the client policy for which to retrieve the information.
The ID of the client policy for which to retrieve the information.
(CommonParameters)
-none-
**---------- 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-RASCertificate
Retrieves information about one or multiple Certificates.
Get-RASCertificate [[-]** (uint)] [()]
Get-RASCertificate [[-]** (string)] [[-] (uint)] [()]
Retrieves information about one or multiple Certificates.
The name of the Certificate for which to retrieve the information.
Site ID from which to retrieve the Certificate information.
The ID of a Certificate for which to retrieve the information.
(CommonParameters)
-none-
**---------- 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-RASAVDHostPoolStatus
Retrieves the status of one or multiple Azure Virtual Desktop Host Pools.
Get-RASAVDHostPoolStatus [[-] (uint)] [()]
Get-RASAVDHostPoolStatus [[-] ()] [()]
Get-RASAVDHostPoolStatus [[-] (string)] [[-] (uint)] [()]
Retrieves information about the status of one or multiple Azure Virtual Desktop 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.
The name of the AVD Host Pool for which to retrieve the status.
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.
The ID of the AVD Host Pool. To obtain the ID, use the Get-RASAVDHostPool cmdlet.
An object of type AVDHostPool representing the AVD Host Pool.
To obtain the object, use the Get-RASAVDHostPool cmdlet.
(CommonParameters)
**---------- EXAMPLE 1 ----------
Get-RASAVDHostPoolStatus "My AVD Host Pool" | Format-List
Retrieves the status of the AVD Host 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 the status information about the AVD Host Pool specified by Id from the Licensing Server site.
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 documentation.
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 documentation.
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? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Required? false
Position? named
Default value TOTP
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 documentation.
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 documentation.
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? false
Position? named
Default value False
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 documentation.
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 documentation.
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 documentation.
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
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
Add-RASClientPolicyConnection
Adds a new connection to the Connection List.
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)]
Adds a new connection to the Connection List
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
The Server which the user is going to connect to.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The port of the Server.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
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
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
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 documentation.
-none-
**---------- 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.
Get-RASAppPackageAssigned
Retrieves the assigned application package settings.
Get-RASAppPackageAssigned -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [SiteId (uint)] [(CommonParameters)]
Get-RASAppPackageAssigned [Id] (uint) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [(CommonParameters)]
Get-RASAppPackageAssigned [Name] (string) [[-SiteId] (uint)] -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [(CommonParameters)]
Retrieves the assigned application package settings.
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.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
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.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The ID from which to retrieve the assigned application package.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
(AppPackageAssignedObjType) The Object Type for which to retrieve the assigned application package 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
The Default Object Type for which to retrieve the application package 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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAppPackageAssigned -Id 1 -ObjType RDS
Retrieves the assigned application package settings for the object type RDS.
Get-RASAutoUpgrade
Retrieves the Auto-upgrade settings.
Get-RASAutoUpgrade -DefObjType** {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [SiteId (uint)] [(CommonParameters)]
Get-RASAutoUpgrade [Id] (uint)** -ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [(CommonParameters)]
Get-RASAutoUpgrade [Name]** (string) [[-SiteId] (uint)] -ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [(CommonParameters)]
Retrieves the Auto-upgrade settings from RDSHostPool, RDSDefaults, VDIHostPool, VDIDefaults, AVDHostPool or AVDDefaults (Single-Session/Multi-Session).
The name or server for which to retrieve the Auto-upgrade settings.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
Site ID from which to retrieve the Auto-upgrade 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
The ID of a server for which to retrieve the Auto-upgrade settings.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The Object Type for which to retrieve the Auto-upgrade settings.
Possible values: RDSHostPool, VDIHostPool, AVDHostPool
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The Default Object Type for which to retrieve the Auto-upgrade 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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAutoUpgrade -DefObjType RDSDef
Retrieves the Auto-upgrade settings of the RDS Default Settings. **---------- EXAMPLE 2 ----------
Get-RASAutoUpgrade -Name "VDIHostPool1" -ObjType VDIHostPool
Retrieves the Auto-upgrade settings of the specified VDIHostPool by Name. **---------- EXAMPLE 3 ----------
Get-RASAutoUpgrade -Id 1 -ObjType AVDHostPool
Retrieves the Auto-upgrade settings of the specified AVDHostPool by Id.
Get-RASAVDWorkspace
Retrieves information about an Azure Virtual Desktop Workspace.
Get-RASAVDWorkspace [[-Id]** (uint)] [(CommonParameters)]
Get-RASAVDWorkspace [[-Name]** (string)] [[-SiteId] (uint)] [(CommonParameters)]
Retrieves information about the specified Azure Virtual Desktop Workspace or all Azure Virtual Desktop Workspaces within a site.
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
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
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDWorkspace -SiteId 1
Retrieves information about all the AVD Workspaces found withing the site with ID 1. **---------- EXAMPLE 2 ----------
Get-RASAVDWorkspace "My AVDWorkspace" -SiteId 1 | Format-List
Retrieves information about the AVD 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 AVD Workspace specified by ID from the Licensing Server site.
To retrieve the info from a specific site, specify the -SiteId parameter.
Find-RASMFAUsers
Find MFA TOTP/EmailOTP users by matching substring.
Find-RASMFAUsers -Like (string)** [MFAId (uint)] [SiteId (uint)] [-Type {GAuthTOTP | TOTP | MicrosoftTOTP | EmailOTP}] [(CommonParameters)]
Find MFA TOTP/EmailOTP users by matching substring.
Site ID where the users will be searched.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Find users matching this pattern.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The ID of the MFA Provider to be modified.
In case of TOTP Provider, the ID will always be 0. Default: 0.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The MFA Provider Type to be modified.
If the parameter is omitted, the site ID of the Licensing Server will be used.
Possible values: GAuthTOTP, TOTP, MicrosoftTOTP, EmailOTP
Required? false
Position? named
Default value TOTP
Accept pipeline input? false
Accept wildcard characters? false
(CommonParameters)
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Find-RASMFAUsers -Like "@my.domain.local" -Type TOTP
Find MFA TOTP users matching the pattern "@my.domain.local". **---------- EXAMPLE 2 ----------
Find-RASMFAUsers -Like "@my.domain.local" -Type EmailOTP -MFAId 1
Find MFA EmailOTP users matching the pattern "@my.domain.local".
Copy-RASPubItem
Copy a Published item.
Copy-RASPubItem -Id (uint)** [ParentId (uint)] [PreviousId (uint)] [(CommonParameters)]
Copy-RASPubItem [-InputObject]** (PubItem) [ParentId (uint)] [PreviousId (uint)] [(CommonParameters)]
Copy (duplicate) a published item.
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
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
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
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 documentation.
**---------- 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.
Get-RASCriteriaGatewayIP
Retrieves the Criteria Gateway List.
Get-RASCriteriaGatewayIP -DefObjType {MFA} [SiteId (uint)] [(CommonParameters)]
Get-RASCriteriaGatewayIP [Id]** (uint) -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [RuleId (uint)] [(CommonParameters)]
Get-RASCriteriaGatewayIP [Name] (string) [[-SiteId] (uint)] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [RuleId (uint)] [(CommonParameters)]
Retrieves the Criteria Gateway List within the Criteria settings from a ClientPolicy, MFA or PubItem.
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
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
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
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
(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
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 documentation.
-none-
**---------- 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-RASBrokerStatus
Retrieves the RAS Connection Broker status information.
Get-RASBrokerStatus [[-Id]** (uint)] [(CommonParameters)]
Get-RASBrokerStatus [[-InputObject] (Broker)] [(CommonParameters)]
Get-RASBrokerStatus [[-Server]** (string)] [[-SiteId] (uint)] [(CommonParameters)]
Retrieves the RAS Connection Broker status information.
The name of the server for which to retrieve the information.
This must be the actual server name used in the RAS farm.
Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
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.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The ID of the server for which to retrieve the information. To obtain the ID, use the Get-RASBroker cmdlet.
Required? false
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
An object of type Broker representing a server for which to retrieve the information.
To obtain the object, use the Get-RASBroker 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 documentation.
**---------- 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-RASBroker
Retrieves information about one or multiple RAS Connection Broker servers.
Get-RASBroker [[-Id] (uint)]** [(CommonParameters)]
Get-RASBroker [[-Server]** (string)] [[-SiteId] (uint)] [(CommonParameters)]
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.
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
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
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 documentation.
-none-
**---------- 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.
Add-RASTemplateLicenseKey
Modifies properties of a RAS Template license key.
Add-RASTemplateLicenseKey [Id] (uint) -Key (string) -KeyLimit (uint) -ObjType {RDSTemplate | VDITemplate | AVDTemplate} [(CommonParameters)]
Add-RASTemplateLicenseKey [-InputObject] (Template) -Key (string) -KeyLimit (uint) [(CommonParameters)]
Modifies properties of a license key used by a RAS Template.
The ID of a RAS Template to modify.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The Object Type for which to add Template License Key.
Possible values: RDSTemplate, VDITemplate, AVDTemplate
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
An object of type Template representing a RAS Template.
The object is obtained using the Get-Template cmdlet.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
The license key.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The max limit for the license key.
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 documentation.
-none-
**---------- 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.
Get-RASAVDVersion
The cmdlet retrieves a list or the latest Azure Virtual Desktop Version.
Get-RASAVDVersion -Location** (string) -Offer (string) -ProviderId (uint) -Publisher (string) -RequestType {All | Latest} -SKU (string) [(CommonParameters)]
The cmdlet retrieves a list or the latest Azure Virtual Desktop Version.
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 of the Azure Virtual Desktop Provider.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The Azure Virtual Desktop Publisher.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The Azure Virtual Desktop Offer.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The Azure Virtual Desktop SKU.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Whether to retrieve a list of all available versions or just the latest version.
Possible values: All, Latest
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDVersion -ProviderId 2 -Location "westeurope" -Publisher "my-publisher" -Offer "my-offer" -SKU "my-sku" -RequestType All
Retrieves a list of Versions which fall under the Provider, Location, Publisher, Offer and SKU specified. **---------- EXAMPLE 2 ----------
Get-RASAVDVersion -ProviderId 2 -Location "westeurope" -Publisher "my-publisher" -Offer "my-offer" -SKU "my-sku" -RequestType Latest
Retrieves only the latest Version which falls under the Provider, Location, Publisher, Offer and SKU specified.
-none-
Get-RASAVDWorkspaceStatus
Retrieves the status of one or multiple Azure Virtual Desktop Workspaces.
Get-RASAVDWorkspaceStatus [[-Id] (uint)] [(CommonParameters)]
Get-RASAVDWorkspaceStatus [[-InputObject] (AVDWorkspace)] [(CommonParameters)]
Get-RASAVDWorkspaceStatus [[-Name] (string)] [[-SiteId] (uint)] [(CommonParameters)]
Retrieves information about the status of one or multiple Azure Virtual Desktop 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.
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
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
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
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 documentation.
**---------- EXAMPLE 1 ----------
Get-RASAVDWorkspaceStatus -ID 1 | Format-List
Retrieves the status of the AVD Workspace specified by Id.
The Format-List cmdlet formats the display output to include all available AVD Workspace properties.
Get-RASCriteriaDevice
Retrieves the Criteria Device List.
Get-RASCriteriaDevice -DefObjType {MFA} [SiteId (uint)] [(CommonParameters)]
Get-RASCriteriaDevice [Id]** (uint) -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [RuleId (uint)] [(CommonParameters)]
Get-RASCriteriaDevice [Name]** (string) [[-SiteId] (uint)] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [RuleId (uint)] [(CommonParameters)]
Retrieves the Criteria Device List within the Criteria settings from a ClientPolicy, MFA or PubItem.
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
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
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
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
(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
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 documentation.
-none-
**---------- 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-RASAVDHost
The cmdlet returns an object of type Azure Virtual Desktop Host properties.
Get-RASAVDHost [[-SiteId]** (uint)] [ProviderId (uint)] [(CommonParameters)]
Get-RASAVDHost [VMId] (string)** [[-SiteId] (uint)] -ProviderId (uint) [(CommonParameters)]
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.
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
Provider Id from which to retrieve the AVD Host.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
**---------- EXAMPLE 1 ----------
Get-RASAVDHost -VMID "42311235-09c5-ca15-337d-b9723015edf0" -ProviderID 1 | Format-List
Retrieves information about the AVD 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 AVD Hosts found within the Provider with Id 1.
Add-RASCriteriaHardwareID
Adds a Hardware ID to the Criteria Hardware ID List.
Add-RASCriteriaHardwareID [-] {MFA} [[-] (uint)] - (string) [()]
Add-RASCriteriaHardwareID [] (uint) - (string) - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Add-RASCriteriaHardwareID [-] () - (string) [ (uint)] [()]
Add-RASCriteriaHardwareID [] (string) [[-] (uint)] - (string) - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Adds a Hardware ID to the Criteria Hardware ID List within the Criteria settings of a ClientPolicy, MFA or PubItem.
The hardware ID to add to the Criteria.
The name or server for which to modify the Criteria settings.
Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to modify the Criteria settings.
An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
The Object Type for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to modify the Criteria settings.
Possible values: MFA
The ID of the Rule to modify.
(CommonParameters)
-none-
-none-
**---------- 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.
Add-RASProviderRemotePCStatic
Adds a Remote PC Static to a Provider.
Add-RASProviderRemotePCStatic [] (uint) - (string) [ (string)] [ (string)] [()]
Add-RASProviderRemotePCStatic [-] () - (string) [ (string)] [ (string)] [()]
Add-RASProviderRemotePCStatic [] (string) [[-] (uint)] - (string) [ (string)] [ (string)] [()]
Adds a Remote PC Static to a Provider.
Remote PC Static Name.
Remote PC Static MAC Address.
Remote PC Static Subnet. Default: 0.0.0.0
The name of the target Provider server.
This must be the actual server name used in the RAS farm.
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.
The ID of the Provider server to modify. To obtain the ID, use the Get-RASProvider cmdlet.
() An object representing the Provider server to modify.
To obtain the object, use the Get-RASProvider cmdlet.
(CommonParameters)
-none-
**---------- 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.
Get-RASAutoUpgradeMessage
Retrieves schedule message information from Auto-upgrade settings.
Get-RASAutoUpgradeMessage - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [ (uint)] [ (uint)] [()]
Get-RASAutoUpgradeMessage [] (uint) - {RDSHostPool | VDIHostPool | AVDHostPool} [ (uint)] [()]
Get-RASAutoUpgradeMessage [] (string) [[-] (uint)] - {RDSHostPool | VDIHostPool | AVDHostPool} [ (uint)] [()]
Retrieves schedule message information from Auto-upgrade settings.
Auto-upgrade job message ID.
The name or server for which to retrieve the Auto-upgrade settings.
Site ID from which to retrieve the Auto-upgrade settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to retrieve the Auto-upgrade settings.
The Object Type for which to retrieve the Auto-upgrade settings.
Possible values: RDSHostPool, VDIHostPool, AVDHostPool
The Default Object Type for which to retrieve the Auto-upgrade settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASAutoUpgradeMessage -DefObjType RDSDef
Retrieves the list of Messages from the Auto-upgrade settings of the RDS Default Settings. **---------- EXAMPLE 2 ----------
Get-RASAutoUpgradeMessage -Name "VDIHostPool1" -ObjType VDIHostPool
Retrieves the list of Messages from the Auto-upgrade settings of the specified VDIHostPool by Name. **---------- EXAMPLE 3 ----------
Get-RASAutoUpgradeMessage -Id 1 -ObjType AVDHostPool
Retrieves the list of Messages from the Auto-upgrade settings of the specified AVDHostPool by Id.
Add-RASAVDHostPoolAssignment
Adds a user or group to the Azure Virtual Desktop Host Pool Assignment List.
Add-RASAVDHostPoolAssignment [] (uint) [ (string)] [ (string)] [()]
Add-RASAVDHostPoolAssignment [-] () [ (string)] [ (string)] [()]
Add-RASAVDHostPoolAssignment [] (string) [[-] (uint)] [ (string)] [ (string)] [()]
Adds a user or group to the Azure Virtual Desktop Host Pool Assignment List within an Azure Virtual Desktop Host Pool.
ID for which to modify the Azure Virtual Desktop Host Pool settings.
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.
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.
An object of type AVDHostPool for which to modify settings.
The name of the account to add to the Assignments.
The SID of the account to add to the Assignments.
(CommonParameters)
-none-
-none-
**---------- 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.
Get-RASAgent
Retrieves RAS Agent information by server type or server name.
Get-RASAgent [] (string)** [ (uint)] [()]
Get-RASAgent [[-]** {RDSHost | RDS | Provider | Gateway | Guest | VDITemplate | RDSTemplate | AVDTemplate | VDITemplateVersion | AVDTemplateVersion | RDSTemplateVersion | Broker | PA | Site | VDIHostPool | RDSHostPool | RDSGroup | HALBDevice | HALB | Enrollment | TenantBroker | VDIHost | AVDHost | AVDHostPool | AVDWorkspace | All}] [ (uint)] [()]
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.
The name of server from which to retrieve Agent information.
This must be the actual server name used in the RAS farm.
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.
Specifies the server type for which to retrieve the information.
Possible values: RDSHost, RDS, Provider, Gateway, Guest, VDITemplate, RDSTemplate, AVDTemplate, VDITemplateVersion, AVDTemplateVersion, RDSTemplateVersion, Broker, PA, Site, VDIHostPool, RDSHostPool, RDSGroup, HALBDevice, HALB, Enrollment, TenantBroker, VDIHost, AVDHost, AVDHostPool, AVDWorkspace, All
(CommonParameters)
-none-
**---------- 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-RASCriteriaHardwareID
Retrieves the Criteria Hardware ID List.
Get-RASCriteriaHardwareID - {} [ (uint)] [()]
Get-RASCriteriaHardwareID [] (uint) - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Get-RASCriteriaHardwareID [] (string) [[-] (uint)] - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Retrieves the Criteria Hardware ID List within the Criteria settings from a ClientPolicy, MFA or PubItem.
The name or server for which to retrieve the Criteria settings.
Site ID from which to retrieve the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to retrieve the Criteria settings.
The Object Type for which to retrieve the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to retrieve the Criteria settings.
Possible values: MFA
The ID of the Rule to retrieve.
(CommonParameters)
-none-
**---------- 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.
Add-RASWinDeviceGroupInboundPort
Adds the Windows device group Inbound ports.
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)] [()]
Adds the Windows device group Inbound ports.
The Port to add to the windows device group.
The Protocol to add to the windows device group.
Possible values: TCP, UDP
The Profile to add to the windows device group.
Possible values: Domain, Private, Public, All
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.
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.
The ID of a windows device group from which to add the Inbound Port.
The Windows Device Group to modify.
(CommonParameters)
-none-
**---------- 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.
Get-RASCriteriaIP
Retrieves the Criteria IP List.
Get-RASCriteriaIP -** {} [ (uint)] [()]
Get-RASCriteriaIP [] (uint)** - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Get-RASCriteriaIP []** (string) [[-] (uint)] - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Retrieves the Criteria IP List within the Criteria settings from a ClientPolicy, MFA or PubItem.
The name or server for which to retrieve the Criteria settings.
Site ID from which to retrieve the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to retrieve the Criteria settings.
The Object Type for which to retrieve the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to retrieve the Criteria settings.
Possible values: MFA
The ID of the Rule to retrieve.
(CommonParameters)
-none-
**---------- 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.
Get-RASCriteriaTheme
Retrieves the Criteria Theme List.
Get-RASCriteriaTheme - {} [ (uint)] [()]
Get-RASCriteriaTheme []** (uint) - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Get-RASCriteriaTheme []** (string) [[-] (uint)] - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Retrieves the Criteria Theme List within the Criteria settings from a ClientPolicy, MFA or PubItem.
The name or server for which to retrieve the Criteria settings.
Site ID from which to retrieve the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to retrieve the Criteria settings.
The Object Type for which to retrieve the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to retrieve the Criteria settings.
Possible values: MFA
The ID of the Rule to retrieve.
(CommonParameters)
-none-
**---------- 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.
Get-RASCriteriaSecurityPrincipal
Retrieves the Criteria Security Principal List.
Get-RASCriteriaSecurityPrincipal - {} [ (uint)] [()]
Get-RASCriteriaSecurityPrincipal [] (uint) - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Get-RASCriteriaSecurityPrincipal [] (string) [[-] (uint)] - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Retrieves the Criteria Security Principal List within the Criteof MFAria settings from a ClientPolicy, MFA or PubItem.
The name or server for which to retrieve the Criteria settings.
Site ID from which to retrieve the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to retrieve the Criteria settings.
The Object Type for which to retrieve the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to retrieve the Criteria settings.
Possible values: MFA
The ID of the Rule to retrieve.
(CommonParameters)
-none-
**---------- 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-RASCriteriaOS
Retrieves the Operating System Criteria.
Get-RASCriteriaOS -** {} [ (uint)] [()]
Get-RASCriteriaOS [] (uint)** - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Get-RASCriteriaOS []** (string) [[-] (uint)] - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [()]
Retrieves the Operating System Criteria within the Criteria settings from a ClientPolicy, MFA or PubItem.
The name or server for which to retrieve the Criteria settings.
Site ID from which to retrieve the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to retrieve the Criteria settings.
The Object Type for which to retrieve the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to retrieve the Criteria settings.
Possible values: MFA
The ID of the Rule to retrieve.
(CommonParameters)
-none-
**---------- 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.
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 documentation.
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 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 documentation.
Required? false
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? 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 documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
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 documentation.
Add-RASCriteriaDevice
Adds a Client Device to the Criteria Device List.
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)]
Adds a Client Device to the Criteria Device List within the Criteria settings of a ClientPolicy, MFA or PubItem.
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
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
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
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
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
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
(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
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 documentation.
-none-
-none-
**---------- 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.
Add-RASImageOptimizationWindowsService
Adds Windows Custom Services.
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)]
Adds Windows Custom Service to the following list.
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
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
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
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
(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
(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
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 documentation.
-none-
-none-
**---------- 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.
Add-RASPubItemPreferredRoute
Adds a preferred route to the specified published resource.
Add-RASPubItemPreferredRoute [Id] (uint) -Name (string) -ReferenceId (uint) -ReferenceType {Gateway | HALB | Custom} [Description (string)] [Enabled (bool)] [SiteId (uint)] [(CommonParameters)]
Add-RASPubItemPreferredRoute [-InputObject] (PubItem) -Name (string) -ReferenceId (uint) -ReferenceType {Gateway | HALB | Custom} [Description (string)] [Enabled (bool)] [SiteId (uint)] [(CommonParameters)]
This cmdlet allows you to add a preferred route to the specified published resource.
To modify preferred route options, use the Set-RASPubItemPreferredRoute cmdlet.
The Name of the Preferred Route
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Description of the Preferred Route
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Whether the Preferred Route is enabled or not
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
Reference Type of the Preferred Route
Possible values: Gateway, HALB, Custom
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Reference ID of the Preferred Route
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Published resource ID.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
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
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 documentation.
-none-
**---------- 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.
Add-RASScheduleMessage
Adds schedule message information for a Schedule.
Add-RASScheduleMessage [Id]** (uint) -Message (string) -MessageTitle (string) -ObjType {RDS | VDI | AVD} [Enabled (bool)] [SendMsgSecs (uint)] [-SendMsgWhen {Before | After}] [(CommonParameters)]
Add-RASScheduleMessage [Name]** (string) [[-SiteId] (uint)] -Message (string) -MessageTitle (string) -ObjType {RDS | VDI | AVD} [Enabled (bool)] [SendMsgSecs (uint)] [-SendMsgWhen {Before | After}] [(CommonParameters)]
Adds schedule message information for a Schedule.
Whether to enable or disable the message.
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
The title of the message.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
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
Scheduler job name.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
Site ID to modify the schedule job.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Scheduler job ID.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Schedule message object type.
Possible values: RDS, VDI, AVD
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 documentation.
-none-
**---------- 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 before 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 before schedule trigger.
Add-RASRule
Adds a Rule to the Rule List.
Add-RASRule [Id] (uint)** [[-SiteId] (uint)] -ObjType {ClientPolicy | PubItem} -RuleName (string) [Description (string)] [Enabled (bool)] [(CommonParameters)]
Add-RASRule [-InputObject]** (RASListObj) [[-SiteId] (uint)] -RuleName (string) [Description (string)] [Enabled (bool)] [(CommonParameters)]
Add-RASRule [Name] (string)** [[-SiteId] (uint)] -ObjType {ClientPolicy | PubItem} -RuleName (string) [Description (string)] [Enabled (bool)] [(CommonParameters)]
Adds a Rule to the Rule List within Published Items.
Whether the new rule will be enabled or disabled.
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
The name of the rule to add to the Criteria.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Description for the new rule.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The name or server for which to modify the Rule settings.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
Site ID for which to modify the Rule 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
The ID of a server for which to modify the Rule settings.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
An object of type ClientPolicy or PubItem for which to modify the Rule settings.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
The Object Type for which to modify the Rule settings.
Possible values: ClientPolicy, PubItem
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 documentation.
-none-
-none-
**---------- 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.
Add-RASImageOptimizationWindowsScheduledTask
Adds Windows Schedule Task.
Add-RASImageOptimizationWindowsScheduledTask -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -Location (string) -Task (string) [SiteId (uint)] [(CommonParameters)]
Add-RASImageOptimizationWindowsScheduledTask [Id] (uint) -Location (string) -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} -Task (string) [(CommonParameters)]
Add-RASImageOptimizationWindowsScheduledTask [-InputObject] (RASSerilazableObj) -Location (string) -Task (string) [(CommonParameters)]
Add-RASImageOptimizationWindowsScheduledTask [Name] (string) [[-SiteId] (uint)] -Location (string) -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} -Task (string) [(CommonParameters)]
Adds Windows Schedule Task to the following list.
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
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
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
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
(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
(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
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 documentation.
-none-
-none-
**---------- 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.
Get-RASAVDHostStatus
Retrieves the list of, or a specific, Azure Virtual Desktop Host status.
Get-RASAVDHostStatus [ProviderId] (uint) [[-SiteId] (uint)] -HostId (string) [-StatusLevel {Level1 | Level2 | Level3}] [User (string)] [(CommonParameters)]
Get-RASAVDHostStatus [-InputObject] (AVDHost) [ProviderId] (uint) [[-SiteId] (uint)] [-StatusLevel {Level1 | Level2 | Level3}] [User (string)] [(CommonParameters)]
Get-RASAVDHostStatus [[-ProviderId] (uint)] [[-SiteId] (uint)] [-StatusLevel {Level1 | Level2 | Level3}] [User (string)] [(CommonParameters)]
Retrieves the list of, or a specific, Azure Virtual Desktop Host status.
The ID of a Provider server from which to obtain the AVD Host list.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
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.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The ID of the AVD Host. To obtain the ID, use the Get-RASAVDHost cmdlet.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
An object of type AVDHost representing a AVD Host for which to retrieve the information.
To obtain the object, use the Get-RASAVDHost cmdlet.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
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.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
Required? false
Position? named
Default value Level1
Accept pipeline input? false
Accept wildcard characters? false
(CommonParameters)
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
**---------- 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 status from the specified Provider server from the specified site.
Get-RASCriteria
Retrieves the Criteria settings.
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)]
Retrieves the Criteria settings from a ClientPolicy, MFA or PubItem.
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
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
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
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
(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
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 documentation.
-none-
**---------- 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.
Add-RASThemeFooterURL
Adds a new footer URL to the footer URLs list.
Add-RASThemeFooterURL [Id]** (uint) -Text (string) -URL (string) [Tooltip (string)] [(CommonParameters)]
Add-RASThemeFooterURL [Name]** (string) [[-SiteId] (uint)] -Text (string) -URL (string) [Tooltip (string)] [(CommonParameters)]
Adds a new footer URL to the footer URLs list.
The URL
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The text
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The tooltip
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
The site ID to which to add the specified server.
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
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 documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASThemeFooterURL -Id 1 -URL link -Text text -Tooltip tooltip
Adds a footer URL to theme with Id 1.
Add-RASAppPackageAssigned
Assigns an application package to an object type.
Add-RASAppPackageAssigned - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - (string) - (string) [ (uint)] [()]
Add-RASAppPackageAssigned [] (uint) - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - (string) - (string) [()]
Add-RASAppPackageAssigned [-] () - (string) - (string) [()]
Add-RASAppPackageAssigned [] (string) [[-] (uint)] - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - (string) - (string) [()]
Adds assigned application package to an object type.
The name for which to modify the application package assigned settings.
Site ID from which to modify the application package assigned settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID for which to modify the Application Package assigned settings.
() The Object Type for which to modify the assigned application package settings.
Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool
The Default Object Type for which to modify the application package settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
() An object of type RDS, RDSHostPool or VDIHostPool for which to modify the Assigned Application settings.
The application package name.
This must be the actual application package name used in the RAS farm.
The version of the application package.
This must be the actual application package version used in the RAS farm.
(CommonParameters)
-none-
-none-
**---------- 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.
Add-RASCriteriaGatewayIP
Adds a Gateway IP to the Criteria Gateway List.
Add-RASCriteriaGatewayIP [-] {MFA} [[-] (uint)] [ (uint)] [ (string)] [()]
Add-RASCriteriaGatewayIP []** (uint) - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [ (string)] [ (uint)] [()]
Add-RASCriteriaGatewayIP [-] () [ (uint)] [ (string)] [ (uint)] [()]
Add-RASCriteriaGatewayIP [] (string) [[-] (uint)] - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [ (string)] [ (uint)] [()]
Adds a Gateway IP to the Criteria Gateway List within the Criteria settings of a ClientPolicy, MFA or PubItem.
The IP of the gateway to add to the Criteria.
The ID of the gateway to add to the Criteria.
The name or server for which to modify the Criteria settings.
Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to modify the Criteria settings.
An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
The Object Type for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to modify the Criteria settings.
Possible values: MFA
The ID of the Rule to modify.
(CommonParameters)
-none-
-none-
**---------- 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.
Add-RASCriteriaTheme
Adds a Theme to the Criteria Theme List.
Add-RASCriteriaTheme [-] {MFA} [[-] (uint)] [ (uint)] [ (string)] [()]
Add-RASCriteriaTheme []** (uint) - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [ (uint)] [ (string)] [()]
Add-RASCriteriaTheme [-] () [ (uint)] [ (uint)] [ (string)] [()]
Add-RASCriteriaTheme []** (string) [[-] (uint)] - {ClientPolicy | PubItem | MFA | LogonHours} [ (uint)] [ (uint)] [ (string)] [()]
Adds a Theme to the Criteria Theme List within the Criteria settings of a ClientPolicy, MFA or PubItem.
The name of the theme to add to the Criteria.
The ID of the theme to add to the Criteria.
The name or server for which to modify the Criteria settings.
Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to modify the Criteria settings.
An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
The Object Type for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
() The Default Object Type for which to modify the Criteria settings.
Possible values: MFA
The ID of the Rule to modify.
(CommonParameters)
-none-
-none-
**---------- 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.
Add-RASMFARadiusAuto
Adds automation settings to Radius provider settings.
Add-RASMFARadiusAuto []** (uint) - (string) - (string) [ (string)] [ (string)] [ (bool)] [- {Alert | Message | Email | Call | Chat | Flag}] [()]
Add-RASMFARadiusAuto [-] () - (string) - (string) [ (string)] [ (string)] [ (bool)] [- {Alert | Message | Email | Call | Chat | Flag}] [()]
Add-RASMFARadiusAuto []** (string) [[-] (uint)] - (string) - (string) [ (string)] [ (string)] [ (bool)] [- {Alert | Message | Email | Call | Chat | Flag}] [()]
The cmdlet appends new attribute settings to existing ones. All parameters are mandatory.
RADIUS Automation command
Whether the RADIUS Automation is enabled/disabled
RADIUS Automation image
Possible values: Alert, Message, Email, Call, Chat, Flag
RADIUS Automation title
RADIUS Automation action message
RADIUS Automation description
The name of the target multi-factor authentication .
This must be the actual multi-factor authentication name used in the RAS farm.
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.
The ID of the multi-factor authentication to modify. To obtain the ID, use the Get-RASMFA cmdlet.
The multi factor authentication to modify.
To obtain an object of type MFA, use the Get-RASMFA cmdlet.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Add-RASMFARadiusAuto -SiteId 2 -Command Test -Title Test
Adds a new entry to the Radius automation list on Site 2. [Radius Setting]
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 documentation.
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 documentation.
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 documentation.
Required? true
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? false
Position? named
Default value Alert
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? 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 documentation.
Add-RASCriteriaIP
Adds an IP to the Criteria IP List.
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)]
Adds an IP to the Criteria IP List within the Criteria settings of a ClientPolicy, MFA or PubItem.
Value that represents the IP
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
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
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
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
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
(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
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 documentation.
-none-
-none-
**---------- 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.
Add-RASScheduleTarget
Adds a new Schedule target.
Add-RASScheduleTarget [Id]** (uint) -ObjType {RDS | VDI | AVD} -TargetID (uint) [-TargetType {Host | HostPool}] [(CommonParameters)]
Add-RASScheduleTarget [Id]** (uint) -HostAzureID (string) -ObjType {RDS | VDI | AVD} -PoolId (uint) [-TargetType {Host | HostPool}] [(CommonParameters)]
Add-RASScheduleTarget [Id]** (uint) -GuestName (string) -GUID (string) -ObjType {RDS | VDI | AVD} -PoolId (uint) [-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) -HostAzureID (string) -ObjType {RDS | VDI | AVD} -PoolId (uint) [-TargetType {Host | HostPool}] [(CommonParameters)]
Add-RASScheduleTarget [Name]** (string) [SiteId] (uint) -GuestName (string) -GUID (string) -ObjType {RDS | VDI | AVD} -PoolId (uint) [-TargetType {Host | HostPool}] [(CommonParameters)]
Creates a new Schedule property.
Scheduler job name.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
Site ID to modify the schedule job.
Required? true
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Scheduler job ID.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Schedule object type.
Possible values: RDS, VDI, AVD
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
(ScheduleTargetType) Schedule target type.
Possible values: Host, HostPool
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
**---------- 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.
Add-RASImageOptimizationWindowsComponent
Adds Windows Custom Component.
Add-RASImageOptimizationWindowsComponent -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [Aliases (string)] [ComponentName (string)] [DisplayName (string)] [SiteId (uint)] [(CommonParameters)]
Add-RASImageOptimizationWindowsComponent [Id] (uint) -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [Aliases (string)] [ComponentName (string)] [DisplayName (string)] [(CommonParameters)]
Add-RASImageOptimizationWindowsComponent [-InputObject] (RASSerilazableObj) [Aliases (string)] [ComponentName (string)] [DisplayName (string)] [(CommonParameters)]
Add-RASImageOptimizationWindowsComponent [Name] (string) [[-SiteId] (uint)] -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [Aliases (string)] [ComponentName (string)] [DisplayName (string)] [(CommonParameters)]
Adds Windows Component to the following list.
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
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
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
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
(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
(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
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 documentation.
-none-
-none-
**---------- 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.
Get-RASAVDGalleryImage
The cmdlet returns a list of Azure Virtual Desktop Gallery Images.
Get-RASAVDGalleryImage -Location (string) -Name (string) -ProviderId (uint) -ResourceGroup (string) [(CommonParameters)]
The cmdlet returns a list of Azure Virtual Desktop Gallery Images.
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 of the Azure Virtual Desktop Gallery.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Resource Group of the Azure Virtual Desktop Gallery Image.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
**---------- 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.
-none-
Add-RASImageOptimizationRegistry
Adds Registry property to the list.
Add-RASImageOptimizationRegistry - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - (string) - (string) [- {Add | Modify | Delete}] [ (uint)] [- {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [ (string)] [- {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [ (uint)] [ (string)] [()]
Add-RASImageOptimizationRegistry [] (uint) - (string) - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} - (string) [- {Add | Modify | Delete}] [ (uint)] [- {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [ (string)] [- {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [ (string)] [()]
Add-RASImageOptimizationRegistry [-] () - (string) - (string) [- {Add | Modify | Delete}] [ (uint)] [- {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [ (string)] [- {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [ (string)] [()]
Add-RASImageOptimizationRegistry [] (string) [[-] (uint)] - (string) - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} - (string) [- {Add | Modify | Delete}] [ (uint)] [- {HKEY_CURRENT_CONFIG | HKEY_USERS | HKEY_LOCAL_MACHINE | HKEY_CLASSES_ROOT}] [ (string)] [- {REG_SZ | REG_DWORD | REG_QWORD | REG_MULTI_SZ | REG_EXPAND_SZ}] [ (string)] [()]
Adds Registry to the following list.
Possible values: Add, Modify, Delete
Possible values: HKEY_CURRENT_CONFIG, HKEY_USERS, HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT
Possible values: REG_SZ, REG_DWORD, REG_QWORD, REG_MULTI_SZ, REG_EXPAND_SZ
The name or server for which to modify the Image Optimization settings.
Site ID from which to modify the Image Optimization settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to modify the Image Optimization settings.
() An object of type RDS, VDITemplate or VDIDesktop for which to modify the Image Optimization settings.
() The Object Type for which to modify the Image Optimization settings.
Possible values: RDSHost, RDS, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate
The Default Object Type for which to modify the Image Optimization settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
(CommonParameters)
-none-
-none-
**---------- 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'.
Add-RASPubRDSAppServerAttr
Adds RDS application attributes to specific server from where the application is hosted.
Add-RASPubRDSAppServerAttr [] (uint) - (uint) [ (string)] [ (uint)] [ (string)] [ (string)] [()]
Add-RASPubRDSAppServerAttr [-] () - (uint) [ (string)] [ (uint)] [ (string)] [ (string)] [()]
Adds RDS application attributes to a specific server from where the application is hosted.
RDS server ID on which the attributes will be updated.
Application target file. (i.e. calc.exe, file.txt, etc.)
Application working directory.
Application parameters.
Published resource ID.
An object specifying the published resource.
To obtain the object, use the Get-PubItem cmdlet.
Site ID.
(CommonParameters)
-none-
**---------- 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.
Required? false
Position? named
Default value Add
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 0
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 HKEY_CURRENT_CONFIG
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 REG_SZ
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 documentation.
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? false
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 documentation.
Add-RASFSLogixUser
Adds a user to an Inclusion/Exclusion List of the Profile Container.
Add-RASFSLogixUser -DefObjType** {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -GeneralSettings (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [SiteId (uint)] [(CommonParameters)]
Add-RASFSLogixUser -DefObjType** {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -OfficeContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [SiteId (uint)] [(CommonParameters)]
Add-RASFSLogixUser -DefObjType** {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -ProfileContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [SiteId (uint)] [(CommonParameters)]
Add-RASFSLogixUser [Id] (uint)** -GeneralSettings (SwitchParameter) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [Id] (uint)** -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -OfficeContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [Id] (uint)** -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [-InputObject] (RASSerilazableObj) -GeneralSettings (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [-InputObject] (RASSerilazableObj) -OfficeContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [-InputObject] (RASSerilazableObj) -ProfileContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [Name]** (string) [[-SiteId] (uint)] -GeneralSettings (SwitchParameter) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [Name]** (string) [[-SiteId] (uint)] -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -OfficeContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Add-RASFSLogixUser [Name]** (string) [[-SiteId] (uint)] -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer (SwitchParameter) -UserListType {Inclusion | Exclusion} [Account (string)] [SID (string)] [(CommonParameters)]
Adds a user to an Inclusion/Exclusion List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults
Specifies the 'User List Type'.
Possible values: Inclusion, Exclusion
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The name of the user/group account to add to the FSLogix Container.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The SID of the user/group account to add to the FSLogix Container.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
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
(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
(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
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
Set the Profile Container settings.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
Sets the Office Container settings.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASFSLogixUser -DefObjType RDSDef -ProfileContainer -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 -ProfileContainer -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.
Add-RASFSLogixVHDLocation
Adds a VHDLocation to a VHDLocation List of the Profile Container.
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)]
Adds a VHDLocation to a VHDLocation List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults
Specifies the 'VHDLocation' path to add to the VHDLocation List.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
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
(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
(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
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
Set the Profile Container settings.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
Sets the Office Container settings.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASFSLogixVHDLocation -DefObjType RDSDef -ProfileContainer -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.
Add-RASFSLogixCCDLocation
Adds a CCDLocation to a CCDLocation List of the Profile Container.
Add-RASFSLogixCCDLocation -CCDLocation (string) -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -GeneralSettings (SwitchParameter) [SiteId (uint)] [(CommonParameters)]
Add-RASFSLogixCCDLocation -CCDLocation (string) -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -OfficeContainer (SwitchParameter) [SiteId (uint)] [(CommonParameters)]
Add-RASFSLogixCCDLocation -CCDLocation (string) -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -ProfileContainer (SwitchParameter) [SiteId (uint)] [(CommonParameters)]
Add-RASFSLogixCCDLocation [Id] (uint) -CCDLocation (string) -GeneralSettings (SwitchParameter) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [(CommonParameters)]
Add-RASFSLogixCCDLocation [Id] (uint) -CCDLocation (string) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -OfficeContainer (SwitchParameter) [(CommonParameters)]
Add-RASFSLogixCCDLocation [Id] (uint) -CCDLocation (string) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer (SwitchParameter) [(CommonParameters)]
Add-RASFSLogixCCDLocation [-InputObject] (RASSerilazableObj) -CCDLocation (string) -GeneralSettings (SwitchParameter) [(CommonParameters)]
Add-RASFSLogixCCDLocation [-InputObject] (RASSerilazableObj) -CCDLocation (string) -OfficeContainer (SwitchParameter) [(CommonParameters)]
Add-RASFSLogixCCDLocation [-InputObject] (RASSerilazableObj) -CCDLocation (string) -ProfileContainer (SwitchParameter) [(CommonParameters)]
Add-RASFSLogixCCDLocation [Name] (string) [[-SiteId] (uint)] -CCDLocation (string) -GeneralSettings (SwitchParameter) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [(CommonParameters)]
Add-RASFSLogixCCDLocation [Name] (string) [[-SiteId] (uint)] -CCDLocation (string) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -OfficeContainer (SwitchParameter) [(CommonParameters)]
Add-RASFSLogixCCDLocation [Name] (string) [[-SiteId] (uint)] -CCDLocation (string) -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -ProfileContainer (SwitchParameter) [(CommonParameters)]
Adds a CCDLocation to a CCDLocation List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults
Specifies the 'CCDLocation' path to add to the CCDLocation List.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
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
(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
(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
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
Set the Profile Container settings.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
Sets the Office Container settings.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
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 documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASFSLogixCCDLocation -DefObjType RDSDef -ProfileContainer -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.
Add-RASFSLogixFolder
Adds a folder to an Inclusion/Exclusion List of the Profile Container.
Add-RASFSLogixFolder - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - (string) - {Inclusion | Exclusion} [- {None | CopyBase | CopyBack}] [ (uint)] [()]
Add-RASFSLogixFolder - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - (string) - {Inclusion | Exclusion} [- {None | CopyBase | CopyBack}] [ (uint)] [()]
Add-RASFSLogixFolder - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - (string) - {Inclusion | Exclusion} - (SwitchParameter) [- {None | CopyBase | CopyBack}] [ (uint)] [()]
Add-RASFSLogixFolder []** (uint) - (string) - {Inclusion | Exclusion} - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder []** (uint) - (string) - {Inclusion | Exclusion} - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder []** (uint) - (string) - {Inclusion | Exclusion} - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - (SwitchParameter) [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder [-] () - (string) - {Inclusion | Exclusion} [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder [-] () - (string) - {Inclusion | Exclusion} [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder [-] () - (string) - {Inclusion | Exclusion} - (SwitchParameter) [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder []** (string) [[-] (uint)] - (string) - {Inclusion | Exclusion} - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder []** (string) [[-] (uint)] - (string) - {Inclusion | Exclusion} - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} [- {None | CopyBase | CopyBack}] [()]
Add-RASFSLogixFolder []** (string) [[-] (uint)] - (string) - {Inclusion | Exclusion} - {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} - (SwitchParameter) [- {None | CopyBase | CopyBack}] [()]
Adds a folder to an Inclusion/Exclusion List of the Profile Container within the FSLogix settings of RDSH, RDSHostPool, RDSDefaults, VDIDesktop, VDITemplate or VDIDesktopDefaults.
() Specifies the 'Exclude Folder Copy', in case of adding to the Exclude Folder List.
Possible values: None, CopyBase, CopyBack
() Specifies the 'Folder List Type'.
Possible values: Inclusion, Exclusion
Specifies the 'Folder' path to add to the Include/Exclude Folder List.
The name or server for which to modify the FSLogix settings.
Site ID from which to modify the FSLogix settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to modify the FSLogix settings.
() An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the FSLogix settings.
() The Object Type for which to modify the FSLogix settings.
Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool
The Default Object Type for which to modify the FSLogix settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
Set the Profile Container settings.
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASFSLogixFolder -DefObjType RDSDef -ProfileContainer -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 -ProfileContainer -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.
Add-RASMFARadiusAttr
Adds attribute settings to Radius provider settings.
Add-RASMFARadiusAttr [-] {Number | String | IP | Time} [] (uint) - (uint) - (string) - (string) - (string) - (uint) [()]
Add-RASMFARadiusAttr [-] {Number | String | IP | Time} [-] () - (uint) - (string) - (string) - (string) - (uint) [()]
Add-RASMFARadiusAttr [-] {Number | String | IP | Time} [] (string) [[-] (uint)] - (uint) - (string) - (string) - (string) - (uint) [()]
The cmdlet appends new attribute settings to existing ones. All parameters are mandatory.
RADIUS attribute vendor ID
RADIUS attribute ID
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.
RADIUS attribute name
RADIUS attribute vendor name
RADIUS attribute type. IP, string, number, or time
Possible values: Number, String, IP, Time
The name of the target multi-factor authentication .
This must be the actual multi-factor authentication name used in the RAS farm.
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.
The ID of the multi-factor authentication to modify. To obtain the ID, use the Get-RASMFA cmdlet.
The multi factor authentication to modify.
To obtain an object of type MFA, use the Get-RASMFA cmdlet.
(CommonParameters)
-none-
**---------- 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.
Required? false
Position? named
Default value CopyBase, CopyBack
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? 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
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
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
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? true
Position? 0
Default value String
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 documentation.
Add-RASVDIHostPoolMember
Adds one or multiple VDI Host Pool Members to a standalone VDI Host Pool.
Add-RASVDIHostPoolMember [VDIHostPoolId] (uint) -Name (string) -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} [NativePoolId (string)] [NoInstall (SwitchParameter)] [ProviderId (uint)] [VMId (string)] [-VMIds (List`1)] [(CommonParameters)]
Add-RASVDIHostPoolMember [VDIHostPoolId] (uint) -Name (string) -Password (SecureString) -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} -Username (string) [NativePoolId (string)] [ProviderId (uint)] [VMId (string)] [-VMIds (List`1)] [(CommonParameters)]
Add-RASVDIHostPoolMember [-InputObject] (VDIHostPool) -Name (string) -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} [NativePoolId (string)] [NoInstall (SwitchParameter)] [ProviderId (uint)] [VMId (string)] [-VMIds (List`1)] [(CommonParameters)]
Add-RASVDIHostPoolMember [-InputObject] (VDIHostPool) -Name (string) -Password (SecureString) -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} -Username (string) [NativePoolId (string)] [ProviderId (uint)] [VMId (string)] [-VMIds (List`1)] [(CommonParameters)]
Add-RASVDIHostPoolMember [VDIHostPoolName] (string) [[-SiteId] (uint)] -Name (string) -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} [NativePoolId (string)] [NoInstall (SwitchParameter)] [ProviderId (uint)] [VMId (string)] [-VMIds (List`1)] [(CommonParameters)]
Add-RASVDIHostPoolMember [VDIHostPoolName] (string) [[-SiteId] (uint)] -Name (string) -Password (SecureString) -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} -Username (string) [NativePoolId (string)] [ProviderId (uint)] [VMId (string)] [-VMIds (List`1)] [(CommonParameters)]
Adds one or multiple VDI Host Pool Members to an existing standalone VDI Host Pool.
The VDI Host Pool name.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
Site ID where the VDI Host Pool is located.
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
The VDI Host Pool ID.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
An object of type VDIHostPool identifying the target VDI Host Pool.
The object is obtained using the Get-RASVDIHostPool cmdlet.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
The VDI Host Pool Member Type.
The type can either be: ALLGUESTSINPROVIDER, GUEST, NATIVEPOOL, TEMPLATEGUEST or TEMPLATEVERSION.
Possible values: AllHostsInProvider, AllGuestsInProvider, Host, Guest, NativePool
Required? true
Position? named
Default value AllHostsInProvider
Accept pipeline input? false
Accept wildcard characters? false
The VDI Host Pool Member Name.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The VDI Host Pool Member Provider ID.
This parameter is only accepted with Types: ALLGUESTSONPROVIDER, GUEST or NATIVEPOOL.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The VDI Host Pool Member Guest ID.
This parameter is only accepted with Type: GUEST.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The VDI Host Pool Member Native Pool ID.
This parameter is only accepted with Type: NATIVEPOOL.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
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.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The password of the account specified in the Username parameter.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The VDI Host Pool Member Desktops IDs.
This parameter is only accepted with Type: ALLDESKTOPSONPROVIDER.
Required? false
Position? named
Default value System.Collections.Generic.List`1[System.String]
Accept pipeline input? false
Accept wildcard characters? false
(CommonParameters)
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
-none-
**---------- 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 standalone 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 standalone 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 standalone VDI Host Pool.
The Type NATIVEPOOL requires the ProviderId and NativePoolId to be specified.
Add-RASCriteriaSecurityPrincipal
Adds a user, group or machine to the Criteria Security Principal List.
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)]
Adds a user, group or machine to the Criteria Security Principal List within the Criteria settings of a ClientPolicy, MFA or PubItem.
The name of the account to add to the Criteria.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The SID of the account to add to the Criteria.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
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
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
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
(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
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 documentation.
-none-
-none-
**---------- 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.
Add-RASAutoUpgradeMessage
Adds schedule message information within Auto-upgrade settings.
Add-RASAutoUpgradeMessage -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} -Message (string) -MessageTitle (string) [Enabled (bool)] [SendMsgSecs (uint)] [-SendMsgWhen {Before | After}] [SiteId (uint)] [(CommonParameters)]
Add-RASAutoUpgradeMessage [Id] (uint) -Message (string) -MessageTitle (string) -ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [Enabled (bool)] [SendMsgSecs (uint)] [-SendMsgWhen {Before | After}] [(CommonParameters)]
Add-RASAutoUpgradeMessage [-InputObject] (RASSerilazableObj) -Message (string) -MessageTitle (string) [Enabled (bool)] [SendMsgSecs (uint)] [-SendMsgWhen {Before | After}] [(CommonParameters)]
Add-RASAutoUpgradeMessage [Name] (string) [[-SiteId] (uint)] -Message (string) -MessageTitle (string) -ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [Enabled (bool)] [SendMsgSecs (uint)] [-SendMsgWhen {Before | After}] [(CommonParameters)]
Adds schedule message information within Auto-upgrade settings.
Whether to enable or disable the message.
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
The title of the message.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
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
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
Whether the message is sent Before/After the AutoUpgrade 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
The name or server for which to modify the Auto-upgrade settings.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
Site ID from which to modify the Auto-upgrade 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
The ID of a server for which to modify the Auto-upgrade settings.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
(RASSerilazableObj) An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the Auto-upgrade settings.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
The Object Type for which to modify the Auto-upgrade settings.
Possible values: RDSHostPool, VDIHostPool, AVDHostPool
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
The Default Object Type for which to modify the Auto-upgrade 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 documentation.
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASAutoUpgradeMessage -DefObjType RDSDef -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Adds a message to the Auto-upgrade settings of the RDS Default Settings. **---------- EXAMPLE 2 ----------
Add-RASAutoUpgradeMessage -Name "VDIHostPool1" -ObjType VDIHostPool -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Adds a message to the Auto-upgrade settings of the specified VDIHostPool by Name. **---------- EXAMPLE 3 ----------
Add-RASAutoUpgradeMessage -Id 1 -ObjType AVDHostPool -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Adds a message to the Auto-upgrade settings of the specified AVDHostPool by Id.