Many network problems is caused by name resolution, such as a wrong server IP address is return, or a services has not been registered correctly with a DNS server, or not at all, or you forgot that you made changes to your host file. There can be plenty of resons for why name resolution can …
Posts about IT professional related topics.
Short post today about how you can get, add and remove bindings with PowerShell on Windows Server running IIS (Internet Information Server). I find it more effective to add bindings through PowerShell rather than clicking through the user interface, especially if a website contains a lot of bindings and you have to scroll and look through the list manually to find the binding you want to delete.
Created a simple script for listing and exporting Custom Domains from an Azure Web App.
Need to exclude files from your Web App Backup? Then you can use a file called _backup.filter and add it to the D:homesitewwwroot folder of your app. In this file you specify the files and folders you want to exclude. Further in this post I show you how to add this file to a Web App using PowerShell.
Experimented with a backup solution for Azure Web Apps this rainy Saturday. The backup solution I wanted to create consisted of a Resource Group with a Storage Account containing backups from any Web Apps regarding Resource Group they where located in. What I created was a Resource Group containing a Web App, and a Resource …
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.
Want to know best practices for creating PowerShell scripts? In this post I give you some of my tips and practices I use when developing scripts. Something to keep in mind when creating scripts is: a script saves time, automation can mean freedom where you get time to do higher value tasks, less time on boring aspects of the job, and more time on valuable tasks that benefits the organization.’
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?
When you’re given a task or you have a task you want to automate, what approach do you take? What kind of steps do you do? Let’s say you want to copy files from one directory to another. I will go through this in this post.
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 to use PowerShell to bulk resolve DNS information for domain names.
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 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.