Power Shell Script to show the status of Hyper Replication. $ReplicatedVMs = Get-VMReplication; If ($ReplicatedVMs.Length -GT 0) { # VMs with replication enabled found # Document VM replication health ForEach ($VM in $ReplicatedVMs) { If (($VM.ReplicationHealth -Eq “Warning”) -Or ($VM.ReplicationHealth -Eq “Critical”)) { # Current VM has replication issues # Add current broken VM’s […]
Category: Scripting
Mapping Network Drives
This tutorial will show two ways you can map a network share as a network drive. By mapping a network drive in this fashion, it will have a drive letters just like a local harddrive. This make access more efficient and convenient. Some programs that are unable to use network shares will function when […]