Web Application Proxy Cmdlets in Windows PowerShell

应用到: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Windows PowerShell® 是基于任务的命令行 shell 和脚本语言,专为系统管理而设计。本参考主题面向信息技术 (IT) 专业人员,可在利用 Windows PowerShell cmdlet 编写脚本和对任务实施自动化时提供协助。

Web Application Proxy Cmdlets

This reference provides cmdlet descriptions and syntax for all Web 应用程序代理 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 应用程序代理.

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 应用程序代理 settings.

Get-WebApplicationProxyHealth

Gets the health status of the Web 应用程序代理 server.

Get-WebApplicationProxySslCertificate

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

Install-WebApplicationProxy

Configures Web 应用程序代理 on the server.

Remove-WebApplicationProxyApplication

Removes web applications published in Web 应用程序代理.

Set-WebApplicationProxyApplication

Modifies settings of a web application published through Web 应用程序代理.

Set-WebApplicationProxyConfiguration

Modifies the configuration settings of a Web 应用程序代理 server.

Set-WebApplicationProxySslCertificate

Modifies the configuration settings of a Web 应用程序代理 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