windows-7 – windows 7 powershell找不到dsquery和dsget

前端之家收集整理的这篇文章主要介绍了windows-7 – windows 7 powershell找不到dsquery和dsget前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试着跑
dsquery group -samid "Development Environment" | dsget group -members -expand > C:\dev.txt

我有这个:

The term 'dsquery' is not recognized as the name of a cmdlet,function,script file,or operable program. Check the spe
lling of the name,or if a path was included,verify that the path is correct and try again.
At line:1 char:8
+ dsquery <<<<
    + CategoryInfo          : ObjectNotFound: (dsquery:String) [],CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

我已经安装了适用于Windows 7 Service Pack 1的Windows远程服务器管理工​​具.但它仍然无法正常工作.

请帮忙.

无法安装Active Directory管理中心.

安装后,您必须转到程序和功能(appwiz.cpl) – >打开或关闭Windows功能 – >并启用远程服务器管理工​​具.
原文链接:https://www.f2er.com/windows/363543.html

猜你在找的Windows相关文章