It can sometimes be useful to get a list of Office 365 users with a specific license type via PowerShell. Instead of logging into the Office 365 portal and using a filtered view in the admin center, you can do it straight from the command line. Connect to Office 365 via Powershell. If this cmdlet […]
Category: Scripting
Hyper-V Replication Powershell Script
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 […]
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 […]