Category: Windows Server 2012
-
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…
-
PowerShell Script Monitors Security Logs and Sends Email Alerts.
I wrote this PowerShell script to send email alerts when Active Directory User Account, Security and Distribution Group Management events occur in the Security logs.A few parameters will need to be edited to adapt the script to any Active Directory domain environment.Also, the script will not work on Windows Server 2003 Active Directory Domain Controllers…
-
Uninstalling Software with Powershell.
I have a number of Hyper-v Windows Server 2012 R2 core host machines in my environment. Once in a while, I have to check for installed software and uninstall software for maintenance. The following WMIObject class helped me achieve the task in PowerShell. Check for installed software: Filter by Software to be Uninstalled: Locate the…
-
Setting Up a WS2012 R2 Windows Deployment Server (WDS) for Pre-Boot Execution Environment (PXE).
In this post I want to quickly go through my experience setting up a Windows Deployment Server for PXE Boot(Pre-Boot Execution Environment) for my lab servers. Platform is Windows Server 2012 R2 .I outline the steps as follows: 1) Open a PowerShell console and use the Install-WindowsFeature cmdlet to install the specific role as indicated…