Windows Server 2012 上的 CSVDE

fis*_*g3r 2 windows windows-server-2012-r2

我有一个全新的 Win Server 2012 R2 映像。我想运行一些 csvde 脚本,但我得到:

'csvde' is not recognized as an internal or external command, operable program or batch file.
Run Code Online (Sandbox Code Playgroud)

在 Win 8 上,我曾经安装Remote Server Administration Tools可以使用 CSVDE,但现在我在 Server 2012 中找不到类似的东西。我该如何添加此功能?

jsc*_*ott 6

听起来您需要安装 RSAT Active Directory 工具。从提升的 Powershell 提示符尝试以下操作。

获取功能状态

 Get-WindowsFeature RSAT-AD-Tools
Run Code Online (Sandbox Code Playgroud)

应该显示这样的东西......

 Display Name                                            Name                         Install State
 ------------                                            ----                       -------------
    [ ] AD DS and AD LDS Tools                      RSAT-AD-Tools                  Available
Run Code Online (Sandbox Code Playgroud)

然后安装该功能:

 Install-WindowsFeature RSAT-AD-Tools
Run Code Online (Sandbox Code Playgroud)