Partager via


Set method of the PS_DAClient class

This cmdlet configures the properties related to a DA client.

Syntax

uint32 Set(
  [in]  string           ComputerName,
  [in]  string           ForceTunnel,
  [in]  string           OnlyRemoteComputers,
  [in]  string           Downlevel,
  [in]  boolean          PassThru,
  [out] DAClientSettings cmdletOutput
);

Parameters

ComputerName [in]

IPv4/IPv6 address or hostname of the machine on which the remote access server machine specific tasks should be executed

ForceTunnel [in]

Indicates whether force tunneling should be enabled or disabled. Can take one of the following values: Enable, Disable

Enabled ("Enabled")

Disabled ("Disabled")

OnlyRemoteComputers [in]

Allows a user to enable or disable deployment of DA only on laptops and notebooks (essentially, remote computers). Can take one of the following values: Enable, Disable

Enabled ("Enabled")

Disabled ("Disabled")

Downlevel [in]

Indicates whether appropriate policies should be deployed on downlevel clients (W7) clients such that they too can connect to the W8 DA Server. Can take one of the following values: Enable, Disable. This property can be configured only when multi-site is not deployed. If a user tries to configure it in a multi-site deployment the cmdlet throws an error

Enabled ("Enabled")

Disabled ("Disabled")

PassThru [in]

Returns the client settings object. By default this cmdlet does not generate any output

cmdletOutput [out]

  1. Status of force tunneling 2. NRPT object corresponding to force tunneling 3. Status of policy to deploy DA only on laptops and notebooks and not on all computers in the domain 4. Status of whether appropriate policies should be deployed on downlevel clients (W7) clients such that they too can connect to the W8 DA Server

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll

See also

PS_DAClient