Last active
March 28, 2018 12:57
-
-
Save Celoxocis/bf6a73a512483312191330a7e4ae3622 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install-WindowsFeature -Name Storage-Replica,FS-FileServer -IncludeManagementTools -Restart | |
$mySourceReplServer = "NE-SVR1" | |
$myDestinationReplServer = "NE-SVR2" | |
$mySourceReplGroupName = "SyncReplSiteA" | |
$myDestinationReplGroupName = "SyncReplSiteB" | |
New-SRPartnership -ReplicationMode Synchronous -SourceComputerName $mySourceReplServer -SourceRGName $mySourceReplGroupName -SourceVolumeName E: -SourceLogVolumeName F: -DestinationComputerName $myDestinationReplServer -DestinationRGName $myDestinationReplGroupName -DestinationVolumeName E: -DestinationLogVolumeName F: -LogSizeInBytes 8GB | |
Install-WindowsFeature –ComputerName localhost –Name Storage-Replica,FS-FileServer -IncludeManagementTools -restart | |
Get-WindowsFeature *cluster* | Install-WindowsFeature;Restart-Computer –force | |
Get-ClusterAvailableDisk -All | Add-ClusterDisk | |
Copy-Item C:\Windows\System32\Drivers \\stretchfiles\appshare\ –Recurse –verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment