【问题标题】:Powershell Get a list of sites running under IIS on a remote Windows 2000 server?Powershell 获取在远程 Windows 2000 服务器上的 IIS 下运行的站点列表?
【发布时间】:2013-02-14 21:49:50
【问题描述】:

我有一台旧的 Windows 2000 服务器,它托管着多个网站。我想记录站点信息,以便将它们移至新的 Windows 2008 R2 服务器。

我可以使用 Get-Item IIS:\sites 命令在较新的服务器上获取我想要的信息。

获取项目 IIS:\Sites

那么我如何使用 Powershell 从旧的 Win2K 服务器获取这些信息?

【问题讨论】:

    标签: iis powershell


    【解决方案1】:

    很遗憾,您无法使用 WebAdministration 模块从 Win2k 机器中枚举网站,无论是否远程。不过总有WMI queries.

    如果您对迁移感兴趣,我会查看 WebDeploy ,它有很好的文档记录。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-03
      • 2020-10-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-23
      • 2020-08-31
      相关资源
      最近更新 更多