Brilliant little tool Hrisan Dzhankardashliyski at Powershell.com http://powershell.com/cs/media/p/49052.aspx Edit: updated the script block to enable copy & paste 😀 # Author: Hrisan Dzhankardashliyski # Date: 20/05/2015 # Inspiration from # # http://blogs.msdn.com/b/opticalstorage/archive/2010/08/13/writing-optical-discs-using-imapi-2-in-powershell.aspx</a> # # and # # http://tools.start-automating.com/Install-ExportISOCommand/</a> # # with help from # # http://stackoverflow.com/a/9802807/223837</a> $InputFolder
Read moreWhat I've been up to lately...
SCOM – Service Monitor & Remediation
How to create a custom service monitor and automatically restart it For this little demo, we will be using the Print Spooler service and targeting Windows Operating System This will target all version of Server and Client OS but I won’t go into rollups here
Read moreWAP – Deploying a VM Role, some VM’s prompt for product key
Simple one that new WAP users often miss when deploying VHD’s for VM Roles. When deploying a VM role with multiple instances, some instances get stuck during deployment with the VM waiting for a product key to be entered. Although the solution is clearly discussed here on TechNet I find that
Read moreQuick migrate multiple VM’s using PowerShell
As users of System Center Virtual Machine Manager would know, trying to quickly live migrate multiple VM’s can be a slow and tedious task. Whilst I always recommend to user of VMM to use the Migrate Virtual Machine function or the Start Maintenance Mode options, sometimes I need to react
Read moreMigrate Logical Networks from VMM to VMM with PowerShell – The Export
Fast publish! Had to migrate logical networks from an existing VMM 2012 instance into a new shiny VMM 2012 R2 deployment. This is the export from the existing VMM. The import script will follow shortly: Import-Module virtualmachinemanager # all Logical network definitions $LogicalNetsdef = Get-SCLogicalNetworkDefinition Foreach ($def in $LogicalNetsdef){
Read moreInstall Windows Features in Bulk with PowerShell
Quick Tip: Install Windows Features with PowerShell in bulk Using my current favourite PowerShell feature, Out-GridView, we can easily and quickly install windows features with a little gui.. The command: Get-WindowsFeature | Out-GridView –passthru | Install-WindowsFeature You will get an ogv window with the ability to select items to
Read moreDeleting Virtual Network fails due to assigned IP address – SCVMM
Had a request today where a tenant was trying to delete a virtual network but they received an error saying there were dependent IP addresses but they have no IP addresses listed in the network. Using my current favourite PowerShell feature, Out-GridView, we can quickly script the revocation of the
Read morePhysical, Logical & Virtual Networks in a Microsoft Cloud OS Environment
I had to give an overview of our Cloud OS network topology to our support and engineering guys to help them understand at high levels how it all fitted together. The below diagram hopefully demonstrates the 3 layers – physical, logical and virtual – and more importantly how the fit
Read moreAdding existing VM’s to WAP Subscription using PowerShell
Edit: added Cloud parameter to the script. Deploying WAP for clients, they start creating new clouds, plans and subscriptions which is great!! But how do they add existing VM’s to new users in WAP? Easy….. you guessed it…. PowerShell! So I can’t take the credit here, my sources are found
Read moreMigrate multiple VM’s from one Hyper-V cluster to another Hyper-V cluster with different Logical Switch using PowerShell.
Another fast publish! (I really should get back and clean these up…) Recently upgraded one of our Hyper-V clusters and had to migrate workloads to a new Hyper-V cluster. The naming conventions of our logical switches etc were different so when migrating a VM using Hyper-V manager we were prompted
Read more