Category Archives: WIndows 8.1

Resolving Hyper-v Error: “‘Unnamed VM’ could not initialize… The security ID structure is invalid.”

While moving my Lab to a new environment using the Hyper-v Export and Import VM options, I ran into an “‘Unnamed VM’ could not initialize… The security ID structure is invalid” error when trying to start the Domain Controller Virtual … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v, PowerShell, Powershell 4.0, Uncategorized, VHDX, Virtual Machines, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , | 1 Comment

Interactive PowerShell 4.0 Script Automates Active Directory User and Mailbox Creation.

In line with the objective of streamlining and automating new employee/user creation process for help desk/level 1 support, I wrote the following PowerShell script to help precisely define the steps in the process, further reduce the chance for human error … Continue reading

Posted in Active Directory, PowerShell, Scripts, WIndows 8.1, Windows Server 2012 R2 | Tagged , , , | 2 Comments

Configuring Network Adapter TCP/IP Settings using Powershell 4.0 Cmdlets .

PowerShell 4.0 is a requirement for these cmdlets to work.The GUI( Graphic User Interface) is commonly used to configure network adapter settings or the good old netsh command. But if I had to work with Hyper-v core or Windows Server … Continue reading

Posted in Hyper-v 2012 R2, PowerShell, Powershell 4.0, WIndows 8.1, Windows Server 2012 R2 | Tagged , , , , , | Leave a comment

Deploying Windows Server 2012 R2 in Dual-Boot Configuration using Windows 8.1 Native Boot-to-VHD capability

In this post, I’ll be sharing my experience deploying Windows Server 2012 R2 in a dual-boot configuration leveraging Windows 8.1 Enterprise native boot-to-vhd feature. This enabled me setup a sort of Lab-to-go for WS2012 R2 Active Directory research on a … Continue reading

Posted in BCDEdit, PowerShell, PowerShell 3.0, VHDX, Virtual Machines, WIndows 8.1, Windows Server 2012 R2 | Tagged , , , , | 5 Comments

Converting a User Mailbox to Resource Room Mailbox using PowerShell.

In past versions of Exchange Server, specifically Exchange 2003, managing Resource Room mailboxes was not exactly a straight forward process. In my organization at the time, to manage room Calendars and bookings for Conference rooms (they were not referred to … Continue reading

Posted in Exchange 2010 SP2, Exchange Cmdlets, Exchange Management Shell, PowerShell, PowerShell 3.0, WIndows 8.1 | Tagged , | 1 Comment

Checking Available Disk Space and Memory with Powershell.

I frequently need to display the disk size, available disk space properties and Processor details of my remote Hyper-v 2012 Hosts servers. I could use the Computer Management snapin to do this, but it involves too many steps just to … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, PowerShell, PowerShell 3.0, Virtual Machines, WIndows 8.1, Windows Server 2012 R2 | Tagged , , , , , , , , | 1 Comment

Renaming AD User Object Surname Property.

The following script renames the Surname property of an Active Directory User Object. The script requires PowerShell 3.0. The only edit required is the organizational Exchange Server name specified in the New-PSSession cmdlet. The script accepts the Given Name, Surname … Continue reading

Posted in Active Directory, Exchange 2010 SP2, Exchange Cmdlets, Exchange Management Shell, PowerShell, PowerShell 3.0, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , | Leave a comment

Configuring Hyper-v Host Network Adapters for ISCSI Storage Connectivity with Powershell .

Windows Server 2012 R2 with PowerShell 4.0 has hugely expanded support for configuring multiple NICs on a Cluster/ISCSI Initiator node via command line. After deploying multiple Network Interface Cards on my Hyper-v host, it took me a while to figure … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, ISCSI Initiator, Microsoft Hyper-v, PowerShell, PowerShell 3.0, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , | 4 Comments

PowerShell 3.0 Script creates AD user and Exchange Mailbox.

This interactive script requires PowerShell 3.0 . It creates an Active Directory user and their corresponding mailbox using a remote session at the same time. It should work out of the box, but specific variables will have to be edited … Continue reading

Posted in Exchange 2010 SP2, Exchange Cmdlets, Exchange Management Roles, Exchange Management Shell, Microsoft Exchange, PowerShell, PowerShell 3.0, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , | 2 Comments