RAS PowerShell Reference
Commands
Add-RAS2FAExcludeGWIPList
Add-RAS2FAExcludeIPList
Add-RAS2FAExcludeMACList
Add-RAS2FAExcludeUserGroupList
Add-RAS2FARadiusAttribute
Add-RAS2FARadiusAutomation
Add-RASClientPolicyConnection
Add-RASClientPolicyGW
Add-RASClientPolicyMAC
Add-RASClientPolicyUserGroup
Add-RASFSLogixCCDLocation
Add-RASFSLogixFolder
Add-RASFSLogixUser
Add-RASFSLogixVHDLocation
Add-RASHALBDevice
Add-RASPrintingAutoInstallFont
Add-RASProviderRemotePCStatic
Add-RASPubAppFileExt
Add-RASPubItemClientFilter
Add-RASPubItemGWFilter
Add-RASPubItemIPFilter
Add-RASPubItemMACFilter
Add-RASPubItemPreferredRoute
Add-RASPubItemUserFilter
Add-RASPubRDSAppServerAttr
Add-RASRDSGroupMember
Add-RASRDSScheduleMessage
Add-RASThemeFooterURL
Add-RASThemeGroupFilter
Add-RASTOTPUsers
Add-RASVDIPoolMember
Add-RASVDITemplateLicenseKey
Copy-RASPubItem
Find-RASTOTPUsers
Get-RAS2FAExcludeGWIPList
Get-RAS2FAExcludeIPList
Get-RAS2FAExcludeMACList
Get-RAS2FAExcludeUserGroupList
Get-RAS2FARadiusAttribute
Get-RAS2FARadiusAutomation
Get-RAS2FASetting
Get-RASAdminAccount
Get-RASAdminSession
Get-RASAgent
Get-RASAgentDiagnostic
Get-RASAllowedDevicesSetting
Get-RASAuthSettings
Get-RASCertificate
Get-RASClientPolicy
Get-RASClientPolicyConnection
Get-RASClientPolicyUserGroup
Get-RASCPUOptimizationSettings
Get-RASCurrentAdminPermissions
Get-RASCustomPermission
Get-RASCustomRoute
Get-RASFarmSettings
Get-RASFSLogix
Get-RASFSLogixCCDLocation
Get-RASFSLogixFolder
Get-RASFSLogixSettings
Get-RASFSLogixUser
Get-RASFSLogixVHDLocation
Get-RASGW
Get-RASGWDefaultSettings
Get-RASGWStatus
Get-RASHALB
Get-RASHALBDevice
Get-RASHALBStatus
Get-RASInvitationEmailSettings
Get-RASLBSettings
Get-RASLicenseDetails
Get-RASMailboxSettings
Get-RASNotification
Get-RASNotificationDefaults
Get-RASNotificationEvent
Get-RASNotificationResource
Get-RASNotificationScript
Get-RASPA
Get-RASPAStatus
Get-RASPerformanceMonitorSettings
Get-RASPowerPermission
Get-RASPrintingAutoInstallFont
Get-RASPrintingSettings
Get-RASProvider
Get-RASProviderRemotePCStatic
Get-RASProviderStatus
Get-RASPubAppFileExt
Get-RASPubDefaultSettings
Get-RASPubFolder
Get-RASPubItem
Get-RASPubItemClientFilter
Get-RASPubItemGWFilter
Get-RASPubItemIcon
Get-RASPubItemIPFilter
Get-RASPubItemMACFilter
Get-RASPubItemPreferredRoute
Get-RASPubItemStatus
Get-RASPubItemUserFilter
Get-RASPubRDSApp
Get-RASPubRDSAppServerAttr
Get-RASPubRDSDesktop
Get-RASPubVDIApp
Get-RASPubVDIDesktop
Get-RASRDS
Get-RASRDSDefaultSettings
Get-RASRDSession
Get-RASRDSGroup
Get-RASRDSGroupMember
Get-RASRDSSchedule
Get-RASRDSScheduleDisable
Get-RASRDSScheduleMessage
Get-RASRDSScheduleReboot
Get-RASRDSStatus
Get-RASReportingSettings
Get-RASScanningSettings
Get-RASSessionSetting
Get-RASSite
Get-RASSiteStatus
Get-RASSystemSettings
Get-RASTheme
Get-RASThemeFooterURL
Get-RASThemeGroupFilter
Get-RASThemeImage
Get-RASVDIGuest
Get-RASVDIGuestDefaultSettings
Get-RASVDIPersistentGuest
Get-RASVDIPool
Get-RASVDIPoolMember
Get-RASVDISettings
Get-RASVDITemplate
Get-RASVDITemplateLicenseKey
Get-RASVDITemplateSettings
Get-RASVDITemplateStatus
Get-RASVersion
Get-RASVM
Invoke-RASAdminSessionCmd
Invoke-RASApply
Invoke-RASClearAgentLogs
Invoke-RASClearSessionsIDCache
Invoke-RASDuplicateClientPolicy
Invoke-RASExportCertificate
Invoke-RASExportClientPolicy
Invoke-RASExportSettings
Invoke-RASImportClientPolicy
Invoke-RASImportProviderRemotePCStatic
Invoke-RASImportSettings
Invoke-RASLicenseActivate
Invoke-RASLicenseDeactivate
Invoke-RASPAPromoteToPrimary
Invoke-RASPubItemCmd
Invoke-RASRDSCmd
Invoke-RASRDSProcessCmd
Invoke-RASRDSSessionCmd
Invoke-RASRetrieveAgentLogs
Invoke-RASVDIProcessCmd
Invoke-RASVDISessionCmd
Invoke-RASVDITemplateCmd
Move-RASPubItem
New-RASAdminAccount
New-RASCertificate
New-RASClientPolicy
New-RASCustomRoute
New-RASFarm
New-RASGW
New-RASHALB
New-RASNotificationEvent
New-RASNotificationResource
New-RASNotificationScript
New-RASPA
New-RASProvider
New-RASPubFolder
New-RASPubRDSApp
New-RASPubRDSDesktop
New-RASPubVDIApp
New-RASPubVDIDesktop
New-RASRDS
New-RASRDSGroup
New-RASRDSScheduleDisable
New-RASRDSScheduleReboot
New-RASSession
New-RASSite
New-RASTheme
New-RASVDIGuest
New-RASVDIPool
New-RASVDITemplate
Remove-RAS2FAExcludeGWIPList
Remove-RAS2FAExcludeIPList
Remove-RAS2FAExcludeMACList
Remove-RAS2FAExcludeUserGroupList
Remove-RAS2FARadiusAttribute
Remove-RAS2FARadiusAutomation
Remove-RASAdminAccount
Remove-RASAgent
Remove-RASCertificate
Remove-RASClientPolicy
Remove-RASClientPolicyConnection
Remove-RASClientPolicyGW
Remove-RASClientPolicyMAC
Remove-RASClientPolicyUserGroup
Remove-RASCustomRoute
Remove-RASFarm
Remove-RASFSLogixCCDLocation
Remove-RASFSLogixFolder
Remove-RASFSLogixUser
Remove-RASFSLogixVHDLocation
Remove-RASGW
Remove-RASHALB
Remove-RASHALBDevice
Remove-RASNotification
Remove-RASNotificationEvent
Remove-RASNotificationResource
Remove-RASNotificationScript
Remove-RASPA
Remove-RASPrintingAutoInstallFont
Remove-RASProvider
Remove-RASProviderRemotePCStatic
Remove-RASPubAppFileExt
Remove-RASPubFolder
Remove-RASPubItem
Remove-RASPubItemClientFilter
Remove-RASPubItemGWFilter
Remove-RASPubItemIPFilter
Remove-RASPubItemMACFilter
Remove-RASPubItemPreferredRoute
Remove-RASPubItemUserFilter
Remove-RASPubRDSApp
Remove-RASPubRDSAppServerAttr
Remove-RASPubRDSDesktop
Remove-RASPubVDIApp
Remove-RASPubVDIDesktop
Remove-RASRDS
Remove-RASRDSGroup
Remove-RASRDSGroupMember
Remove-RASRDSSchedule
Remove-RASRDSScheduleDisable
Remove-RASRDSScheduleMessage
Remove-RASRDSScheduleReboot
Remove-RASSession
Remove-RASSite
Remove-RASTheme
Remove-RASThemeFooterURL
Remove-RASThemeGroupFilter
Remove-RASVDIGuest
Remove-RASVDIPersistentGuest
Remove-RASVDIPool
Remove-RASVDIPoolMember
Remove-RASVDITemplate
Remove-RASVDITemplateLicenseKey
Reset-RASTOTPUsers
Reset-RASVM
Restart-RASVM
Send-RASInvitationEmail
Send-RASSupportRequest
Send-RASTestEmail
Set-RAS2FARadiusAutomation
Set-RAS2FASetting
Set-RASAdminAccount
Set-RASAgentLogLevel
Set-RASAllowedDevicesSetting
Set-RASAuthSettings
Set-RASCertificate
Set-RASClientPolicy
Set-RASClientPolicyOrder
Set-RASCPUOptimizationSettings
Set-RASCustomPermission
Set-RASCustomRoute
Set-RASFarmSettings
Set-RASFSLogix
Set-RASFSLogixFolderExclusion
Set-RASFSLogixSettings
Set-RASGW
Set-RASGWDefaultSettings
Set-RASHALB
Set-RASHALBDevicePriority
Set-RASInvitationEmailSettings
Set-RASLBSettings
Set-RASMailboxSettings
Set-RASNotificationDefaults
Set-RASNotificationEvent
Set-RASNotificationResource
Set-RASNotificationScript
Set-RASPA
Set-RASPAPriority
Set-RASPerformanceMonitorSettings
Set-RASPowerPermission
Set-RASPrintingSettings
Set-RASProvider
Set-RASProviderRemotePCStatic
Set-RASPubAppFileExt
Set-RASPubDefaultSettings
Set-RASPubFolder
Set-RASPubItem
Set-RASPubItemClientFilter
Set-RASPubItemClientOSFilter
Set-RASPubItemGWFilter
Set-RASPubItemIPFilter
Set-RASPubItemMACFilter
Set-RASPubItemPreferredRoute
Set-RASPubItemUserFilter
Set-RASPubRDSApp
Set-RASPubRDSAppServerAttr
Set-RASPubRDSDesktop
Set-RASPubVDIApp
Set-RASPubVDIDesktop
Set-RASRDS
Set-RASRDSDefaultSettings
Set-RASRDSGroup
Set-RASRDSScheduleDisable
Set-RASRDSScheduleMessage
Set-RASRDSScheduleReboot
Set-RASReportingSettings
Set-RASScanningSettings
Set-RASSessionSetting
Set-RASSite
Set-RASSystemSettings
Set-RASTheme
Set-RASVDIGuest
Set-RASVDIGuestDefaultSettings
Set-RASVDIPersistentGuest
Set-RASVDIPool
Set-RASVDISettings
Set-RASVDITemplate
Set-RASVDITemplateSettings
Start-RASVM
Stop-RASVM
Suspend-RASVM
Update-RASAgent
Classes
AdminAccount
AdminSession
AdvancedSettings
AllowedIPs
AllowedOperatingSystems
Audio
Browser
Certificate
ClientOptions
ClientOptionsPrinting
ClientPolicy
ClientPolicyAllowedOperatingSystems
ClientRules
Clipboard
Colors
Compression
ComputerName
Connection
ConnectionAdvancedSettings
Connections
ContainerAdvancedSettings
ContainerSettings
ControlSettings
CPUOptimizationSettings
CurrentAdminPermissions
CustomMenu
CustomPermission
CustomRoute
DeepnetSettings
DesktopOptions
Devices
DiskDrives
EmailSupportRequest
FileTransfer
FolderExclusion
FooterURL
FSLogixFeaturesSettings
FSLogixSettings
GlobalPermission
GlobalPermissions
GlobalPolicy
GroupFilter
GuestAgentDiagnostic
GW
GWAgentDiagnostic
GWDefaultSiteSettings
GWSysInfo
HALBClientManagerConfigSettings
HALBDevice
HALBDeviceAgentDiagnostic
HALBGWConfigSettings
HALBSettings
HALBSSLConfigSettings
ImportExport
InputPrompt
InvitationEmailSettings
IP4Range
IP4RangeList
IP6Range
IP6RangeList
Keyboard
LanguageBar
LanguageInputPrompt
Languages
LBSettings
LegalPolicies
License
LocalProxyAddress
Logging
MaintenanceMessages
MultiFactorAuthentication
MultiMonitor
Network
NotificationDefaults
NotificationEvent
NotificationResource
NotificationScript
ObjectPermission
PA
PAAgentDiagnostic
Password
PASysInfo
PCKeyboard
Performance
PerformanceMonitorSettings
Ports
PrimaryConnection
PrintingSettings
ProfileContainerAdvancedSettings
ProfileContainerSettings
Provider
ProviderAgentDiagnostic
ProviderGuest
ProviderGuestApp
ProviderSysInfo
ProviderSysInfoGuest
ProviderSysInfoGuestApp
PubAppAttr
PubDefaultSettings
PubFileExtSettings
PubFolder
PubItem
PubItemStatus
PublishedApplications
PubPreferredRoute
PubRDSApp
PubRDSDesktop
PubVDIApp
PubVDIDesktop
PubVDIGuestObj
RadiusAttrInfo
RadiusAutoInfo
RadiusSettings
RASAgentInfo
RASAllowedDevicesSetting
RASAuthSettings
RASFarmSettings
RASFiles
RASMailboxSettings
RASPowerPermission
RASSerilazableObj
RASSessionSetting
RASSystemSettings
RDPSession
RDS
RDSAgentDiagnostic
RDSDefaultSettings
RDSDefaultSiteSettings
RDSession
RDSGroup
RDSSchedGroupRebootItem
RDSSchedItem
RDSSchedMsg
RDSSchedServerGroupDisableItem
RDSSchedServerRebootItem
RDSSessionApp
RDSSysInfo
RDSSysInfoSession
RDSSysInfoSessionApp
Reconnection
Redirection
RemoteFxUsbRedirection
RemotePCStatic
ReportingSettings
RouteFlowInfoEntry
SafeNetSettings
SaveZipSupportRequest
Scanning
ScanningSettings
SecondaryConnection
SecondaryConnections
SectionPermission
SectionPermissions
SendSupportReport
ServerAppInfo
ServerAuthentication
Session
SessionPolicy
SessionPrelaunch
SessionsPrinting
Settings
SingleSignOn
Site
SitePermission
SiteSysInfo
SiteTypePermission
SmartCards
Theme
ThemeHTML5Branding
ThemeHTML5Client
ThemeHTML5Gateway
ThemeHTML5Messages
ThemeWindowsBranding
ThemeWindowsClient
ThemeWindowsMessages
TOTPSettings
TwoFactorAuthSetting
Update
Url
UserFilter
VDIAzureInfo
VDIGuest
VDIGuestDefaultSettings
VDIPersistentGuest
VDIPool
VDIPoolMember
VDIRDPSession
VDIServerAppInfo
VDISettings
VDITemplate
VDITemplateLicKey
VDITemplateSettings
VDITemplateStatus
VideoCaptureDevices
VM
WebAuthentication
WindowsClient
WindowsTouchInput
Enums
AccelerationMode
AcceptedSSLVersion
ActionType
AdminNotify
AdminType
AgentState
AllocationType
AllowClientMode
AllowMultiMonitor
AllowURLAndMailRedirection
AudioMode
AudioQuality
AuthenticationTypes
AuthType
CertificateKeySize
CertificateStatus
CertificateUsages
CipherStrength
ClientPolicyInputMethod
ClipboardDirections
ColorDepth
CompressionType
ConnectionBannerType
ConnectionBar
ConnectionMode
ConnMode
DeepnetAuthMode
DeepnetType
DesktopSize
DiagnosticState
DisableAction
DragAndDropModeValue
EnableState
ExcludeCommonFolders
ExcludeFolderCopy
FarmMode
FileTransferControlMode
FIPSMode
FIPSModeSett
FSLogixListType
FSLogixReasonCode
FSLogixStatusCode
GatewayMode
GWRuleType
GWSecurityMode
HAMode
HypervisorType
HypervisorTypeAll
IconFormat
IconSizes
IfAuthenticationFail
ImageType
InstallType
InviteConnMode
InviteTargetDev
IPVersion
KeyboardLayout
KeyboardType
Language
LanguageType
LaunchMethod
LaunchSession
LBMethod
LicenseType
LimitNotify
LoadBalancingAlgorithm
LoadBalancingSSLMode
LocationType
LogLevelsType
LogonStatus
MACRuleType
MailboxTLS
MainAuthenticationMode
Mode
MoveDirection
NetworkType
NotificationType
OpenApplicationsIn
OSType
PADiagnosticState
PasswordEncoding
PendingScheduleType
PerformAction
PermissionFlags
PermissionObjectType
PermissionType
PrinterRetentionMode
PrintingTechnologyUse
PrnDriverAllowMode
PrnNameFormat
ProfileDiskFormat
ProfileType
ProviderDiagnosticState
ProviderType
ProxyMode
ProxyType
PubItemCmd
PublishFrom
PubResourceEnabledMode
QualityLevel
RadiusAttrType
RadiusType
RASAdminSessionProcessCmd
RASAgentDiagnosticType
RASLogLevel
RASLogSrvType
RASNotificationEventType
RASNotificationResourceType
RASPubObject
RASServerType
RDSCmd
RDSessionSource
RDSProcessCmd
RDSSessionCmd
RedirectScanner
RepeatSpecificDays
RepeatType
RestrictionMode2FA
RouteFlowHopType
RoutingType
SafeNetAuthMode
ScanningTechnologyUse
ScanType
SchedTargetType
SendMsgWhen
ServerDefObjType
ServerObjType
SessionAction
SessionColorDepth
SessionLoginStatus
SessionMode
SessionProtocol
SessionState
SessionType
SessionUPDStatus
SettingsColorDepth
SmartSizing
StatusLevel
SupportType
TempFolderRedirectionMode
ThemeImageTypes
ThresholdDirection
TokenType
UniversalPrinting
UPDMode
UPDRoamingMode
UPDStatus
UserEnrollment
UserGroupType
UserProfileTech
UserProfileType
UserType
VDICloneMethod
VDIGuestConn
VDIGuestState
VDIImagePrepTool
VDILicenseType
VDIMatchingMode
VDIPoolMemberType
VDIProcessCmd
VDIPubGuestType
VDISessionCmd
VDITemplateCmd
VDITemplateState
VDITemplateType
VMState
WindowType