次の方法で共有


Get method of the PS_RemoteAccess class

This cmdlet displays the configuration of DirectAccess and VPN.

Syntax

uint32 Get(
  [in]  string             ComputerName,
  [in]  string             EntrypointName,
  [out] RemoteAccessCommon cmdletOutput
);

Parameters

ComputerName [in]

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

EntrypointName [in]

Entrypoint refers to the identity of a site in a multi-site deployment to which down-level clients are added, i.e., these clients can only connect to the specified site. If entrypoint parameter is not specified then the site to which the computer on which the cmdlet is executed belongs is used (user may or may not be specifying a ComputerName)

cmdletOutput [out]

Object consists of the following. 1. Status of DirectAccess - installed or uninstalled. 2. Deployment mode for DirectAccess - Remote Access and management of remote clients OR Management of remote clients. 3. DirectAccess configuration. 4. Status of VPN - installed or uninstalled. 5. VPN configuration. 6. Configuration common to DirectAccess and VPN. Note that if either VPN or DA is not installed its configuration is not displayed. The DirectAccess configuration will be a collation of the output of all other DirectAccess configuration cmdlets. The VPN configuration contains the following. 1. Address Assignment type - DHCP or StaticPool. 2. Static Pool - all the configured IP address ranges, if static pool address assignment is configured 3. Authentication type - Windows, LocalNPS or ExternalRADIUS 4. External RADIUS servers - IPv4/IPv6 address or hostname of the RADIUS servers used for authentication, if external RADIUS authentication is configured. The common configuration contains the following 1. Internet Interface - name of the Internet facing interface 2. Internal Interface - name of the intranet facing interface, this will not be displayed in case of single NIC config 3. ConnectTo address 4. SSL certificate

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