Schedule VM Downtime with Azure Automation and PowerShell

Editor’s note: The following post was written by Cloud and Datacenter Management MVP Timothy Warner as part of our Technical Tuesday series. Albert Duan of the MVP Award Blog Technical Committee served as the technical reviewer for this piece. To save money, you want to shut down some of your Windows Server and Linux VMs running in Azure during…


Doing More With Functions: Comment-Based Help

I just wanted to throw together a post highlighting how cool and easy it is to add help data to your own Functions and scripts. The help data gets added via comments. For functions the help data can go in three places: Before the function keyword (I like it up here) Between the open curly…


AWS: Obtain BlendedCost billing data

There may be a case when you might want to use Get-CECostAndUsage Cmdlet, however I thought it might be helpful to document some examples. The AWS documentation doesn’t display any example. Below is my attempt to come up with some examples, which I found useful for me, may be someone else does too.   Running…


Inserting new elements into XML files

The Goal: Insert nodes into a specific place in XML config files The Motivation: I had a coworker a while back working with App Fabric. He needed to insert a particular chunk of XML into a specific spot inside of the config file. This had to be done on a bunch of different machines, but…

2

Ramping up on Powershell & CLI

In this post, Senior Application Development Manager, Danny Kolke, gives a practical guide on getting started with PowerShell and Azure CLI. “For the things we have to learn before we can do them, we learn by doing them.” Aristotle In working with my customers I often run into those who want to get started with…


Kali Linux for Windows

This is pretty cool as I am very interested in this specific flavor of Linux.  I have installed it and it’s very cool.  You can down load this from the Microsoft Store. Then search for “Kali” and install it. Here is the description: “The Kali for Windows application allows one to install and run the…

1

Lesson Learned #39: Best Practices using BCP in Azure SQL Database

In multiple support cases our customers asked questions about what are the best practices to avoid fill up the transaction log or temporal database when they are importing a high number of rows using BCP. In this new video in Spanish and English you could find these best practices, also, how to check the compatibility…


Create/Update AD users and Group Membership

Many of the times, you need to create users, groups, (test)OU for quick setting up environment. You may have a list of users and attributes in a CSV file for this purpose. However, generally the need to add certain users to be part of certain groups is based of of some logic. For example: HR,…


Compare two text files with PowerShell

Many of the times, we have need to compare 2 code files which are identical but some minor differences, mainly due to spelling/typing mistakes. This script tries to attend this issue by comparing 2 files line by line ignoring white space, tabs, line breaks. Here is sample output: Download Link: Script