Tag Archives: PowerShell

Active Directory Scripting Highlight: Test Basic Network Connectivity with PowerShell

Throughout my work with domain migrations, there are inevitably some very basic steps before getting deep into User attributes, Groups, Computers, and the myriad of ways that client applications use Active Directory that need to be transitioned to a new … Continue reading

Posted in Active Directory, ADMT, PowerShell | Tagged , , , , , , | Leave a comment

Active Directory Script Highlight: Group Policy Object Cleanup and Efficiency

Going a step further from the previous post with a little more detail, the script below adds of GPOStatus, and version increment number for Computer and Users section for each Group Policy. Get-GPO -All | Sort GPOStatus | Format-Table Displayname, … Continue reading

Posted in Active Directory, Group Policy, PowerShell | Tagged , , , , , , , , , | 3 Comments

Active Directory Script Highlight: Disable and Move Users Who Have Not Logged on In 180 Days

In my last post I showed a simple script to identify users that have not logged on in the last 180 days and export basic information to a CSV file.  This allowed you to look through the list and determine … Continue reading

Posted in Active Directory, PowerShell | Tagged , , , , , , | 1 Comment

Latest Article – Preserve Hyper-V security from Meltdown and Spectre vulnerabilities

A complementary article to my last blog post here, but this time focusing on how to protect Hyper-V VMs from the Meltdown and Spectre vulnerabilities. The Spectre and Meltdown vulnerabilities have admins scrambling for safety, and virtualization presents a particular … Continue reading

Posted in Hyper-V, MVP, PowerShell | Tagged , , , , , , , | Leave a comment

PowerShell Snip of the Week (Get-SCVirutalNetworkAdapter)

  Ben Armstrong recently posted a method on Listing all the IP Addresses used by VMs.  The Method was pretty straight forward and gave back some great information.  It got me thinking of how enterprise customers could do this using … Continue reading

Posted in Hyper-V, PowerShell, SCVMM, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , , , , , | Leave a comment

PowerShell Snip of the Week – (Get-VMIntegrationService)

Finding the status of a VMs or all your VMs Integration Components can be a very useful troubleshooting tool when you are having various VM management issues.  Examples could be that VMs that have the correct Integration Components versions are … Continue reading

Posted in Backup, Hyper-V, PowerShell, Windows Server 2012 R2 | Tagged , , , , , | Leave a comment

PowerShell Snip of the Week (Get-WinEvent)

VMs that went into Saved State in the Last Day During the migration of VMs to a Hyper-V in Windows Server 2012 R2 environment you may find that some of your VMs go in to Saved State when the backup … Continue reading

Posted in Hyper-V, PowerShell, Virtual Server Technology, Windows Server 2012 R2 | Tagged , , , , , , , | Leave a comment

PowerShell Snip of the Week (SCVMM)

  Here is this weeks PowerShell Snip of the Week. Using Get-VirtualNetworkAdapter. When looking into a recent issue with a NIC Team on a host, I had a need for a quick way to identify which VMs were using a … Continue reading

Posted in Hyper-V, PowerShell, SCVMM | Tagged , , , , | 1 Comment