Tagged: PowerShell

PowerShell Gallery Login 1

PowerShell Gallery 101

What is the PowerShell Gallery? Microsoft states: The PowerShell Gallery is the central repository for PowerShell content. You can find new PowerShell commands or Desired State Configuration (DSC) resources in the Gallery. Wait a...

Hyper-V Automatic Stop Action Settings 2

Hyper-V VM BIN file and AutomaticStopAction

What is a Hyper-V VM BIN file? The .bin file is a Hyper-V VM associated file located inside the GUID folder of a VM. If a VM’s AutomaticStopAction is set to: Save the virtual...

Hyper-V Resource Allocation Check - Test-HyperVAllocation - Overprovisioning diagnostic for Hyper-V 3

Hyper-V resource allocation check

Using PowerShell to perform a Hyper-V resource allocation check This Powershell script determines the current resource allocation health of a Hyper-V server or nodes in a Hyper-V Cluster.  The script will automatically scan the...

1

Transfer all FSMO roles via PowerShell

PowerShell Automation Script: Transfer all FSMO roles from one DC to another DC If you prefer video over written format the corresponding video for this write-up can be viewed below: I came across an...

Hyper-V Manager - VM Settings - New Virtual Hard Disk Wizard - Disk Type 2

Create New-VHD via PowerShell or GUI

How To: Create New-VHD via PowerShell or GUI and attach to existing VM If you prefer video over written format the corresponding video for this write-up can be viewed below: Here is all the...

2012R2 Add Roles and Features - Hyper-V 1

Hyper-V Home Lab Setup and Configuration

Hyper-V Home Lab Setup – A How To If you prefer video over written format the corresponding video for this write-up can be viewed below: Here is all the PowerShell code required for the...

New-AzureQuickVM Service already exists, Location cannot be specified 1

New-AzureQuickVM Service already exists, Location cannot be specified

Resolved: New-AzureQuickVM Service already exists The New-AzureQuickVM cmdlet is a quick and easy way to create and provision a new Azure virtual machine. You may have a script setup to provision new Azure VM’s...

Remote PowerShell to Azure VM – automating certificate configuration 0

Remote PowerShell to Azure VM – automating certificate configuration

Automate Certificate Configuration to establish secure Remote PowerShell to Azure VM What better way to remotely manage Azure VMs than through the Powershell?  Once PSRemoting is enabled on your VM you may try to...

Get-AzureRemoteDesktopFile Access to the path is denied 0

Get-AzureRemoteDesktopFile Access to the path is denied

Get-AzureRemoteDesktopFile Access to the path is denied You can quickly and easily download .RDP connection files for VMs in Azure via powershell using the Get-AzureRemoteDesktopFile cmdlet. While using this cmdlet you may encounter an...

Hyper-V Server Configuration Screen 6

Hyper-V Core Cluster Home Lab Setup

This article will explore the setup and configuration of a Hyper-V Core cluster and the creation of high availability VMs. Hyper-V Server 2012 R2 (also referred to by some as Hyper-V Core) is a...