Win32_TSSessionDirectory Methods

The Win32_TSSessionDirectory class exposes the following methods.

In this section

CreateUserDiskTemplate method

Creates a user disk template.

DisableUserVhd method

Disables a user profile VHD.

EnableUserVhd method

Enables a user profile VHD on an RDSH server.

GetCurrentRedirectableAddresses method

Obtains the currently configured list of DNS eligible addresses that can be used for redirection.

GetRedirectableAddresses method

Obtains the entire list of DNS eligible addresses.

PingSessionDirectory method

Checks whether the Remote Desktop Connection Broker (RD Connection Broker) server is available.

SetCurrentRedirectableAddresses method

Sets the configured list of DNS eligible addresses that can be used for redirection.

SetLoadBalancingState method

Sets the value to indicate whether the server will participate in RD Connection Broker load balancing.

SetServerWeight method

Sets the server weight value for RD Connection Broker load balancing.

SetSessionDirectoryActive method

The SetSessionDirectoryActive method sets the SessionDirectoryActive property.

SetSessionDirectoryExposeServerIP method

Sets the SessionDirectoryExposeServerIP property.

SetSessionDirectoryProperty method

Sets the SessionDirectoryLocation property or the SessionDirectoryClusterName property for the class.

SetTSRedirectorMode method

Sets the value to indicate whether the server will act as a Remote Desktop Services redirector.