Category: 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 machines. After doing some research, I found out that after a VM Import, Hyper-v doesn’t…
-
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 and cut down time to finish the task. The interactive PowerShell script accepts user input…
-
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 2012 R2 core, there’s a number of PowerShell cmdlets that could be used in place…
-
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 laptop. The steps are as follows: Create a WS 2012 Server VM. I already have…
-
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 as Resource Rooms at the time), we had to create mailboxes to represent the conference…
-
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 and new Surname parameters’ input from the console,executes the rename of the Active Directory object…
-
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 out how to properly configure the NICS with PowerShell . Prior to Windows Server 2012,…
-
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 to reflect the Active Directory configuration of the organization in question. function New-Employee { Param…