Web Application Proxy Cmdlets in Windows PowerShell

適用於: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Windows PowerShell® 是工作型命令列殼層和指令碼語言,專為系統管理所設計。本參考主題適用於資訊技術 (IT) 專業人員,提供利用 Windows PowerShell Cmdlet 以執行指令碼和自動化工作的協助。

Web Application Proxy Cmdlets

This reference provides cmdlet descriptions and syntax for all Web 應用程式 Proxy cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

重要

On Windows Server 2012 R2, you can’t download and install Help for WebApplicationProxy because of a Help file that already exists in the folder to which Update-Help copies files. You can instead view the Help on this webpage, or you can follow these instructions to manually delete the file that is causing the problem.  You must have Administrator rights to perform these steps. This issue will be fixed in a future release of Windows.

  1. Browse to the folder:   C:\Windows\System32\WindowsPower\v1.0\Modules\WebApplicationProxy\en-US

  2. Find the file Microsoft.IdentityServer.ApplicationProxy.Management.PowerShell.dll-help.xml

  3. Right-click the file, then click Properties.

  4. On the Security tab, click Advanced.

  5. Next to Owner, click Change.

  6. Click Locations, select your local computer, and then click OK.

  7. Enter Administrators, and then click OK twice.

  8. Back on the File Properties page, click Edit.

  9. Select Administrators, then click Allow next to Full Control.

  10. Click OK, click Yes to acknowledge the warning, and then click OK to close the Properties dialog.

  11. You can now delete the file, or allow Update-Help WebApplicationProxy to overwrite it.

If you remove the feature, and then reinstall it by using Server Manager or the Dism command-line tool, the original Help file is replaced, and you must repeat these steps.

Cmdlet Description

Add-WebApplicationProxyApplication

Publishes a web application through Web 應用程式 Proxy.

Get-WebApplicationProxyApplication

Gets published web applications.

Get-WebApplicationProxyAvailableADFSRelyingParty

Retrieves a list of available relying parties configured on a federation server.

Get-WebApplicationProxyConfiguration

Retrieves global Web 應用程式 Proxy settings.

Get-WebApplicationProxyHealth

Gets the health status of the Web 應用程式 Proxy server.

Get-WebApplicationProxySslCertificate

Gets binding information for an SSL certificate for the FS proxy for the Web Application Proxy.

Install-WebApplicationProxy

Configures Web 應用程式 Proxy on the server.

Remove-WebApplicationProxyApplication

Removes web applications published in Web 應用程式 Proxy.

Set-WebApplicationProxyApplication

Modifies settings of a web application published through Web 應用程式 Proxy.

Set-WebApplicationProxyConfiguration

Modifies the configuration settings of a Web 應用程式 Proxy server.

Set-WebApplicationProxySslCertificate

Modifies the configuration settings of a Web 應用程式 Proxy server.

Update-WebApplicationProxyDeviceRegistration

Configures the AD FS SSL endpoint listeners that correspond to the UPN suffixes.

注意

To list all the cmdlets that are available, use the Get-Command –Module WebApplicationProxy cmdlet.

如需有關任何 Cmdlet 的詳細資訊或其語法,請使用 Get-help <Cmdlet 名稱> Cmdlet,其中 *<Cmdlet 名稱>*是您想要研究的 Cmdlet 的名稱。如需詳細資訊,您可以執行下列任何 Cmdlet:

Get-Help <Cmdlet 名稱> -Detailed
Get-Help <Cmdlet 名稱> -Examples
Get-Help <Cmdlet 名稱> -Full

See Also

Other Resources

Web Application Proxy Overview
Publishing Internal Applications using Web Application Proxy
Best Practices Analyzer for Web Application Proxy
Overview: Connect to Applications and Services from Anywhere with Web Application Proxy