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 moreTag: powershell
Migrate 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 moreChange default PHP settings in Windows Azure Pack (IIS WebFarm)
Had a user try to upload a theme to a WordPress site they had published using Windows Azure Pack but were getting a file exceeded size limit error as exampled below. “The uploaded file exceeds the upload_max_filesize directive in php.ini” Typically you would just go into the php.ini located on
Read moreVM Template network settings for WAP
Quick scribble: add images and detail 3 steps 1) Template > NIC > Set Connected > Set static IP & Static MAC > OK 1) Template > NIC > Set No Connected > Confirm static IP & Static MAC > OK 1) Template > NIC >
Read moreSCOM 2012 R2 – Enable Agent Proxy
Just a quick note on how to enable agent proxy via PowerShell Assumptions in this scenario: SCOM 2012 R2 – UR3 Using Operations Manager Shell You want all Agents with proxy enabled Some basics: Get-SCOMAgent Let’s limit our scope.. Get-SCOMAgent | where {$_.ProxyingEnabled -match $False} Let’s enable the proxy for all
Read more