Using PowerShell to create an Azure Web App backup configuration. Post contains a complete script with examples.
A couple of nights a go I suddenly got the urge to write the “FizzBuzz” challenge with PowerShell. As I sat there I came up with four different ways to solve it, even tough three of them is quite similar.
Played around with role-based access control this weekend while learning more about Azure and the cloud. Thought I make a short post about the experimentation and some of the learnings a long the way.
Role-based access control (RBAC) facilitates Microsoft Azure delegated resource administration. It helps you manage who has access to Azure resources.
How to enable “Disk encryption should be applied on virtual machines” recommendation from Azure Security Center.
Azure policies ensures proper cloud governance by controlling resource deployment, usage and enforcing standards in your Azure Environment.
Tips and practices for writing better PowerShell scripts, like parameterization, advanced functions, shortcuts, cmdlets and more.
A brief explanation of the concept of tags in Azure, and a few scripts for managing tags. In this post I’m not focusing on how to manage tags manually in the Azure Portal, rather a possible way to manage tags with Azure PowerShell.
Infrastructure as Code (IaC) can be described with the following: IaC defines your environments, to include network, servers, storage and other computer resources as a text file, this can be in a form of a script or definition, which is checked into version control and used as the base source for creating or updating environments.
Good evening, though I should share some of my Visual Studio Extensions I use for PowerShell development in Visual Studio Code. This post will probably be updated when I find new cool and useful extensions. You probably have a few yourself?
A step-by-step approach from idea to the actions to take create a complete functioning PowerShell script.
The Resolve-DnsName cmdlet is a powerful network administration tool command-line tool in PowerShell, used for querying DNS to obtain domain names or IP addresses, mapping or for any other specific DNS Records
How you can use PowerShell to download invoice information from Azure subscriptions, so that you can verify your credit card bills
Tried out Azure Resource Management templates this evening, to learn more about the “Infrastructure as Code” topic. A Resource Manager template is a JSON file that defines the resources to be deployed together through a declarative syntax. A templates can then be deployed via code. I started simple by creating a Resource Group in Azure first and then deployed a Storage Account with Azure PowerShell and an ARM template.
Tested out PowerShell Desired State Configuration this morning, in this post I”m going step-by-step through my first script using “PowerShell Desired State Configuration (DSC)”. The project I created is a simple website to the Default website in my lab environment, running the Microsoft Internet information Services (IIS) Server.
Good evening, messed around on the computer the other day, ended up with creating a PowerShell script prompting you to create files and directories.
The other day I needed to lookup a lot of domains regarding changes to DNS. The list was long and contained plenty of IDN (International Domain Name) which contains special characters such as “æøå”. I used the command Resolve-DnsName, and for this to work one must use the ACE-encoded version of the domain to make it resolve. So, this ended with two small scripts that converts domains such as “krøllalfa.no” to “xn—krllalfa-64a.no” and “xn—krllalfa-64a.no” to “krøllalfa.no”
Played around with Python and TravisCI on a cabin trip this weekend, learning more about Continuous Integration, automatic builds and testing of code each time a change is committed to version control.
Find yourself repeatedly manually accessing often used folders by using cd and tab completion? For instance when you open a new console and have to access a file or folder like the “repo” folder or the “hosts” file. Instead of typing the path each time. I found that creating simple aliases for paths I often use spares a lot of punching.
Good evening folks! This evening I am going through 8 command line tools for you can use to diagnose and resolve many network-related issues. Are you new to networking like me and need a helping hand with troubleshooting? This post goes through 8 command line tools and what purpose their serve, to get you started with network troubleshooting in Windows.
Played around with PowerShell in the spare time during our yearly business trip. This year we went to Tallinn in Estonia. I wanted to automate look up changes for DNS, instead of typing commands like “nslookup” or “Resolve-DnsName” now and then, to see if the DNS cache got updated. This ended with this script.
Of all troubles you can stumble upon with a computer, network issues might be one of the most frustrating. First instinct when an issue occurs is, “Oh, let me Google that”, and your”e opening the browser to find the message “This site can”t be reached” and you feel kind of helpless.
DNSSEC is an security extension to the domain name system (DNS). This makes it possible to check the reply to a domain lookup comes from the original source and lookup remains unchanged. If you’re not familiar with the DNS term on before hand, Let’s start with a simple explanation to understand the aspects of implementing DNSSEC.