Quantcast
Channel: faultbucket
Browsing index pages (108 articles)
↧

Update SCCM Maintenance Window through PowerShell

Sometimes trying to stay bleeding edge is tough – today’s example is when you want to install updates through SCCM a day or two after Patch Tuesday, particularly using Maintenance Windows to allow...

View Article


Image may be NSFW.
Clik here to view.

Azure Site Recovery – ARM template

Programmatic deployment of Azure Site Recovery for Azure VMs – that’s the target I started with for a project a little while ago. There is a large amount of information for Azure Site Recovery on...

View Article


Invoke-AzVMRunCommand log output

While working with the Invoke-AzVmRunCommand cmdlet, I encountered a problem, receiving the following error: Invoke-AzVMRunCommand : Long running operation failed with status 'Failed'. Additional...

View Article

Image may be NSFW.
Clik here to view.

Testing an ARM Template function

While working on an Azure ARM Template, particularly one which references pre-existing resources rather than ones created within the template itself, I realized I needed to do more to make my code...

View Article

Image may be NSFW.
Clik here to view.

Validate Azure resource move with REST API

If you find yourself needing to move resources in Azure, whether between resource groups or subscriptions, you may find the Portal doesn’t offer a very good validation tool to build a plan for a large...

View Article


Pass multi value parameters to Azure Runbook

I learned something recently about calling an Azure Automation Runbook through PowerShell, particularly around how to pass multi-value entries in a single parameter. The original concept was that I...

View Article

Terraform refactor to modules deletes resources

I’ve finally got a use-case for using Modules in Terraform, and so I’m beginning to dip into testing with them. I’ve got a bunch of Azure resources (VNET, subnet, NSG, etc) that already exist in my...

View Article

Image may be NSFW.
Clik here to view.

SCVMM – Change VM NIC from Static to Dynamic IP

Just a quick post to document how to make a change with System Center Virtual Machine Manager. I have a VM with a NIC attached to a VM Network that has a Static IP Pool. For a few not-so-great reasons,...

View Article


Image may be NSFW.
Clik here to view.

Use Azure Function to start VMs

A use-case came up recently to provide a little bit of self-service to some users with an occasionally used Virtual Machine in Azure. I have configured Auto-Shutdown on the VM, but want an ability for...

View Article


Azure Site Recovery learnings – Azure-To-Azure

A few things I’ve learned about Azure Site Recovery (ASR) recently, while doing an Azure-to-Azure DR design – some quite surprising: Both your Recovery Services Vault AND it’s resource group must be...

View Article

SCVMM VM Network dependency for Hyper-V replica

Encountered a weird issue today with SCVMM. I can’t provide screenshots since I’d have to white out object names, making it without purpose. I wanted to delete a VM Network, however when I looked at...

View Article

Image may be NSFW.
Clik here to view.

Job I want to have

I was looking through my Google Drive recently, doing some cleanup and pruning. I came across a document I had created in June 2016, called “Job I want to have”. I don’t remember creating this document...

View Article

Image may be NSFW.
Clik here to view.

Azure NSG Update issue with PowerShell

Today I’m working on creating and updating Azure Network Security Group rules from the Az PowerShell module. However I hit a bit of a bump. I’m trying to do something simple like add 1 rule to an...

View Article


Image may be NSFW.
Clik here to view.

Get Azure VM Uptime – sorta

Let’s say you have a few virtual machines in Azure, that should only be running for a limited period of time. You want to ensure that they are stopped after that period of time, but you aren’t the one...

View Article

Run script inside Azure VM from PowerShell

Today I was working on a way to initialize and format disks inside an Azure VM from PowerShell, specifically outside the VM itself. The two most common ways to accomplish this are:...

View Article


PSKoans – Going deeper with PowerShell

I learned about PSKoans while attending a PowerShell Deep Dive put on by Mike Pfeiffer and Cloudskills.io. It came up in the chat from one of the attendees, while we were discussing tools to assist...

View Article

Azure VPN Gateway Connection with custom IPSEC Policy

I was recently setting up a VPN tunnel between an Azure VPN Gateay and an on-premise location, and ran into issues with the tunnel connecting. The connection in Azure kept saying “connecting”. I was...

View Article


Azure Application Gateway learnings

I’ve been fine-tuning some Terraform config for Azure Application Gateway lately, and have thus been fine-tuning my understanding of its components. This Microsoft Doc about the App Gateway...

View Article

Image may be NSFW.
Clik here to view.

VMM Service Fails to start after DB Migration

I migrated a System Center Virtual Machine Manager (VMM) installation to a new virtual machine today. I used this TechGenix article as a guide. Most things went quite smoothly, however when I completed...

View Article

Image may be NSFW.
Clik here to view.

Azure Monitor Alert rule not stopping

I discovered something interesting while working with Azure Monitor alert rules recently. If you have an alert that is firing based on a condition, it will continue to fire until the condition is...

View Article
Browsing index pages (108 articles)


Latest Images