WinRM seems a very complicated way to access a server. But it can be easier if you know the basics. Remote Machine – The Server you want to connect to To start on the machine you want to connect to, you need to set up WinRM and enable PSRemoting (PowerShell Remoting). This can be done […]
Author: realworldit
Story Points
User Stories are used in Agile to create work and for each story, you have to give it some points. A common point system to use is the Fibonacci sequence numbers. Story Points Corresponds to 1 A very small, low effort, low complexity piece of work that might take 1-2 hours 2 About twice the […]
Querying API’s using PowerShell Commands
It’s always useful to have these commands at your fingertips when you need to get or post some information to an API. I’m going to cover three of Microsoft API’s here. Azure DevOps API Azure Rest API Azure Graph API The Azure DevOps API is used to interact with Azure DevOps; you can create release […]
finding the right Azure Virtual Machine Extension
Azure virtual machine (VM) extensions are small applications that provide post-deployment configuration and automation tasks on Azure VMs. For example, if a virtual machine requires software installation, anti-virus protection, or to run a script inside of it, a VM extension can be used. The command below can be used to find the extension you are after.
Useful Azure Virtual Machine’s Images for Arm and Terraform Templates
I get stuck when considering which image to use for my virtual machines. Has a new image come out??? What options are available to me now? There are so many to choose from. To use virtual machine images, there are four parts that you need to find to reference them in your code. Publisher: The […]
Avaliable TimeZones for Azure Virtual Machines in Terraform
Below is a table of acceptable values you may use in your scripts to denote the proper time zone. Name of Time Zone Time Dateline Standard Time (UTC-12:00) International Date Line West UTC-11 (UTC-11:00) Coordinated Universal Time-11 Hawaiian Standard Time (UTC-10:00) Hawaii Alaskan Standard Time (UTC-09:00) Alaska Pacific Standard Time (Mexico) (UTC-08:00) Baja California Pacific […]
Create an Azure Service Principal for Terraform
To use Azure and Terraform together you need a way to authenticate against the Azure Tenant. Like you do as a user, applications need a way to do the same. But instead of creating a user account, we create a Service Principal account. To do this we need to register an application in Azure Active Directory. […]
Set DEBUG for Terraform
Terraform has detailed logs that can be enabled by setting the TF_LOG environment variable to any value. This will cause detailed logs to appear on stderr. You can set TF_LOG to one of the log levels TRACE, DEBUG, INFO, WARN or ERROR to change the verbosity of the logs. TRACE is the most verbose and it is the default if TF_LOG is […]
Set up WinRM for a Azure Virtual Machine using Terraform Code
How to set up Terraform to allow WinRM swift and easy.