# 安装DFS 命名空间、DFS 管理工具、DFS 复制
# author:lttr <www.cnblogs.com/GoCircle>
# date:2019-08-09 # eg. # setupdfs.ps1
-servers ("WIN01","WIN02") [CmdletBinding()] param ( # DFS成员列表 [Parameter(Mandatory=$true,Position=0)][String[]]$servers ) foreach ($server in $servers) {Install-WindowsFeature -Name "FS-DFS-Namespace" , "RSAT-DFS-Mgmt-Con" , "FS-DFS-Replication" –IncludeManagementTools –ComputerName $server}

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-09-04
猜你喜欢
  • 2022-12-23
  • 2021-04-16
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2021-09-18
相关资源
相似解决方案