70-411

70-411 DFS and PowerShell

Posted on

70-411 DFS and PowerShell by edgoad ##############################################Setup file shares#Execute on Server1New-Item C:Sales -Type directoryNew-SmbShare -Name “Sales” -Path “C:Sales” -ReadAccess “Everyone” #Execute on Server2New-Item C:Marketing -Type directoryNew-SmbShare -Name “Marketing” -Path “C:Marketing” -ReadAccess “Everyone” ##############################################Install DFSInstall-WindowsFeature “FS-DFS-Replication”, “FS-DFS-Namespace” -IncludeManagementToolsInstall-WindowsFeature -Computername 411Server2-00 “FS-DFS-Replication” -IncludeManagementTools #Setup DFS NamespaceNew-Item C:DFSRootsCompany -Type directoryNew-SmbShare -Name “Company” -Path “C:DFSRootsCompany” -ReadAccess “Everyone”New-DfsnRoot -TargetPath “\411server1Company” […]