InstallByDAPrerequisiteChecks method of the PS_RemoteAccess class

This cmdlet does the following 1. Performs pre-requisite checks for DirectAccess to ensure that it can be installed2. Installs DirectAccess for remote access (includes management of remote clients) or for management of remote clients only3. Installs VPN (both Remote Access VPN and site-to-site VPN).

Syntax

uint32 InstallByDAPrerequisiteChecks(
  [in]  string  ComputerName,
  [in]  boolean Prerequisite,
  [out] boolean Status
);

Parameters

ComputerName [in]

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

Prerequisite [in]

Indicates that pre-requisite checks should be performed. This parameter is part of a separate parameter set used to only run the pre-requisite checks for DA

Status [out]

Returns True when all the pre-requisites have passed, and False when one or more have failed.

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_RemoteAccess