本文介绍了关于WMI Class IIsFtpService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个关于一个WMI类的查询。我有一台服务器机器,其操作系统是安装了IIS 10.0的Windows Server 2016机器。我已在该计算机上安装了Microsoft FTP服务。 

I have one query regarding one WMI Class. I have one server machine whose OS is windows server 2016 machine on which IIS 10.0 is installed. I have installed Microsoft FTP Service on that machine. 

在services.msc中可以看到"Microsoft FTP Service"。但是当我尝试使用WMI Class IIsFtpService通过PowerShell访问其名称时。我没有得到任何结果。 

In services.msc is am able to see "Microsoft FTP Service". But when i am trying to access its name through PowerShell using WMI Class IIsFtpService. I am not getting any result. 

我的PowerShell命令如下所示,

My PowerShell command is as shown below,

Get-WmiObject -class IIsFtpService -namespace  ; ROOT\MicrosoftIISv2

此命令适用于IIS 7.0 

This command works on IIS 7.0 

但上述命令在IIS 8.0上不起作用和IIS 10.0。

But the above mentioned command does not work on IIS 8.0 and IIS 10.0.

如果您遇到同样的问题,请帮助并告诉我解决方案。

Please help and let me know the solution if you have faced the same problem.

推荐答案

欢迎来到MSDN论坛。

Welcome to the MSDN forum.

根据你的描述,这个问题是关于IIS开发的,我们的论坛是讨论VS IDE,请重定向到这个适当的论坛:
https://forums.iis.net/default.aspx/41?IIS+7+and+Anove 以获得更好的支持,感谢您的理解。

According to your description, this issue is about the IIS development and our forum is to discuss the VS IDE, please redirect to this appropriate forum:https://forums.iis.net/default.aspx/41?IIS+7+and+Above for better support, thanks for your understanding.

祝你好运,

Sara


这篇关于关于WMI Class IIsFtpService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 03:04