Category Archives: Powershell 4.0

Remove Active Directory Domain Services (ADDS) from a WS2012 R2 with PowerShell.

I decided to tear down my Azure Lab IaaS and ASR infrastructure and rebuild it. The process involves removing the ASR configurations, Recovery Vaults, S2S VPNs, VNets and Azure VM running as a Azure based Domain controller for resilience with … Continue reading

Posted in Active Directory, Active Directory Domain Services, Azure, Azure Site Recovery, Azure VPN, DCPromo, Domain Controller, FSMO, Microsoft Hyper-v, PowerShell, Powershell 4.0, Windows Server 2012 R2 | Tagged , , , , , , , , | Leave a comment

My Step-by-Step DirectAccess Configuration on Windows Server 2012 R2.

Windows Server DirectAccess is an awesome and exciting feature. It’s a Windows Server role service that enables windows domain-joined machines to have always on and seamless connection to the corporate infrastructure securely over the internet without the need for traditional … Continue reading

Posted in DirectAccess, Powershell 4.0, Remote Access, Windows Server 2012 R2 | Tagged , , , , , , , , , , , , , , , , , | 5 Comments

Moving a Hyper-V Virtual Machine Storage to a Cluster Volume using PowerShell.

I have a Virtual Machine ADS00 running a guest OS WS 2012 R2 .It’s vhdx file is located on a Failover Cluster node physical server running Hyper-V Core 2012 R2. As the services offered and requirements for this VM continued … Continue reading

Posted in Failover Cluster, Failover Cluster Manager, Generation 2 Virtual Machines, Hyper-v 2012 R2, Hyper-v Manager, Hypervisor Replication, Microsoft Hyper-v, Migration, PowerShell, Powershell 4.0, VHDX, Virtual Machines, VM Replica, Windows Server 2012 R2 | Tagged , , , , | Leave a comment

Configuring Coexistence between Legacy On Premise Public Folders and Office 365 Hybrid Configuration.

I’ve completed configuring Office 365 Hybrid Configuration with an on premise Exchange 2010 SP3 deployment. I’m in the process of migrating users’ mailboxes to Office 365 cloud in batches. At the same time, I’ve been doing some research and testing … Continue reading

Posted in Exchange Management Roles, Exchange Management Shell, Microsoft Exchange, Migration, Office 365, PowerShell, Powershell 4.0 | Tagged , , | 5 Comments

PowerShell Script to Bulk Update UPN (UserPrincipalName) Suffix in a Single Non-Routable Domain.

As part of the Office 365 Configuration and migration project, we’ve had to define and create an alternate upn (UserPrincipalName) suffix for an internal Active Directory domain that is not publicly routable. Updating the upn for every user in the … Continue reading

Posted in Active Directory Domain Services, Office 365, PowerShell, PowerShell 3.0, Powershell 4.0, Script, Scripts, Windows Server 2008 R2 Backup, Windows Server 2012 R2 | Tagged , , , , , , , , , | Leave a comment

Create a UPN Suffix using PowerShell for Office 365 Migration.

In preparation for Office 365 migration, we had to match the current on premise users’ logon name (UserPrincipalName) with their email addresses to eliminate any user confusion and ease the outlook authentication process .As an example, The on premise logon … Continue reading

Posted in Active Directory, Active Directory Domain Services, Azure Windows PowerShell, Office 365, PowerShell, PowerShell 3.0, Powershell 4.0 | Tagged , , , , , | 3 Comments

Raising Active Directory Forest and Domain Functional Levels Using PowerShell.

As part of the infrastructure clean up and upgrade plans, we have decided to raise the DFL and FFL of our domain to take advantage of new Windows Server features. The first step in the process is making sure all … Continue reading

Posted in Active Directory, Active Directory Domain Services, Active Directory Replication, AD Forest, Domain Controller, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2008 R2, Windows Server 2008 R2 Backup | Tagged , , , , , | Leave a comment