Category Archives: PowerShell

How to disconnect a mailbox & re-assign it to new user in a Hybrid Scenario

By | June 21, 2017

How to disconnect a mailbox & re-assign it to new user in a Hybrid Scenario Scenario objectives: We have an Exchange Hybrid setup between on-premises and Exchange Online (Office 365). All users are synced and the mailbox is located at Exchange Online. We need to separate an existing mailbox from its user account and re-connect… Read More »


Auto-Shutdown Hyper-V free with UPS

By | October 19, 2016

Auto-Shutdown Hyper-V free with USB UPS This post is about how to Auto Shutdown Hyper-v core with UPS using PowerShell and also send email notifications based to UPS battery level. Recently i installed a Windows Hyper-V 2012 R2 server (the free version) but my UPS doesn’t support Windows Core. No problem, we have PowerShell!! after some… Read More »


Match OnPrem Active Directory users to existing Office365 Users

By | July 29, 2016

Lets say you have an Office 365 account and cloud only users with mailboxes and now you decide that you want to sync it and match the Office 365 users with your Active Directory users. I prepared a lab with one DC and I created a trial Office 365 E3 account with custom domain. I created users… Read More »


Classic Azure VM Details

By | May 24, 2016

I was looking for a way to have a list with many details about VMs of Azure Classic deployment. Some of the details are VM Name, HostName, Service Name, IP address, Instance Size, Availability Set, Operating System, Disk Name (OS), SourceImageName (OS), MediaLink (OS), HostCaching (OS), Subnet, DataDisk Name, DataDisk HostCaching, DataDisk MediaLink, DataDisk Size.… Read More »


AzureRm | Create External Load Balancer with two VMs

By | March 22, 2016

After my previous post, the internal load balancer with two VMs, this is a scenario using the External Load Balancer. The configuration includes a Load Balancer with a Static Public IP at the frond end and two VMs at the back end. The load balancer has two static routes for RDP, one for each VM… Read More »