共用方式為


Web Deploy GetSystemInfo Operation

Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

getSystemInfo

The getSystemInfo operation returns system information.

Example

msdeploy -verb:getsysteminfo -source:webServer

The getSystemInfo method gathers IIS-related system information. This includes operating system version, Windows directory location, computer name, processor architecture, IIS version, ASP.NET version, and a list of installed IIS components. The information is returned in XML format.

Example Usages

1) Display IIS 6.0 system information from a local Web server.

msdeploy -verb:getsysteminfo -source:webServer60

2) Display IIS 6.0 system information from the remote computer named Server2.

msdeploy -verb:getsysteminfo -source:webServer60,computerName=Server2

3) Display IIS 7 system information from a local Web server.

msdeploy -verb:getsysteminfo -source:webServer

4) Display IIS 7 system information from the remote Web server named Server3.

msdeploy -verb:getsysteminfo -source:webServer,computerName=Server3

See Also

Web Deploy Operations

Web Deploy dump Operation

Web Deploy sync Operation

Web Deploy GetDependencies Operation