Quick tip for all potential Azure Stack Cloud Operators As you’d be aware, essentially the majority of the Azure Stack extended setup requires PowerShell. Not only does managing Azure Stack require PowerShell, it requires specific modules, tools and PowerShell profiles… Oh, did I mention Azure Stack management requires PowerShell? This
Read moreTag: powershell
Azure Application Gateway with WAP and HTTPS using PowerShell
So over the last year or so I’ve had a lot of fun extending client environments to Azure. One of the methods I’ve used has been leveraging Azure Application Gateway (AAG) with Web Application Firewall (WAF) to protect these services. The AAG’s with WAF have been a very fast and
Read moreQuick tip: Add second NIC to ARM VM using PowerShell
This is one I use regularly, so thought it might come in handy for you.. Assumption here is you are connected via PowerShell to your intended subscription.. A few key points: The VM will need to be stopped to execute Check the Azure VM sizing to see how
Read moreExport DHCP and import Reverse DNS zones using PowerShell
Had a fun one for a client recently whereby they were standing up some new DNS servers for a segment of their network. The forward lookup zones were very easy, import csv and PowerShell them in without much fuss at all.. Next came the Reverse DNS Zones. Now
Read moreAdd networks to HP OneView 3.00 using REST API via PowerShell
I recently had the task of creating a PowerShell script to call REST API for adding Networks to an uplink set in HP OneView. A quick overview of the environment. Our enclosures have 4x FlexFabrics, 2 used to plumb an access port to the LOMs and 2 used
Read moreDisable all alerts for a SCOM management pack using PowerShell
So use this wisely… This script will use Out-Gridview to prompt the operator for the management pack to disable the alerts for and the override management pack to save those overrides in. Enjoy! Dan First, the script to do this for all monitors: Import-module operationsmanager $SCOMServer = “<SCOMServerName>” New-SCOMManagementGroupConnection -ComputerName
Read moreCreate empty overrides Management Pack for SCOM via PowerShell
Along the same line as this post, the below will create an empty overrides management pack based on a source management pack and client number These are meant for the SCOM operators to use for consistent management pack naming. Enjoy Dan! $ManagementServer = “SCOM01” $orgmanagementpackname = read-host “Enter Search Criteria”
Read moreCreate empty custom Management Pack from SCOM via PowerShell
Found this one in my toolkit recently and thought I’d share. It’s a little old so the code could do with some optimizing.. What it does: Prompts the script runner for a client number and then asks them to confirm the name for new management pack. If the operator types
Read moreUpdating uri’s for HA WAP deployment via PowerShell
Another quick one, just to share…. 🙂 For a HA WAP deployment you will need to update each service of the pertinent url to ensure they are using the NLB endpoint rather than going direct to one of the servers.. This is one that catches a few people out when
Read moreSCVMM DataSize Property
Quick Tip!! So I was asked to create a custom property that gives a quick overview of the total size for the virtual disks on a VM So, leveraging of my DataStore script, I came up with the below.. Enjoy Note: This assumes you have created your custom property already
Read more