How to Deploy and Update Azure VM Scale Sets with PowerShell
Performing an Azure VM Scale Set deployment is a great way to get autoscaling and high-availability out of the box. Azure VM Scale Sets have many baked-in features like automatically scaling to meet demand, deploying across availability zones and more.
PowerShell vs. Python: A Battle for the Ages
What's the best programming language? You might get ten different answers when asking ten different developers. In this article, we're going to compare two languages; PowerShell and Python. You will get a glimpse into each of these languages and understand how they compare and contrast in features such as syntax, availability across platforms, and more.
PowerShell Multithreading: A Deep Dive
At some point, most people will run into a problem that a basic PowerShell script is just too slow to solve. This could be collecting data from lots of computers on your network or perhaps creating a ton of new users in Active Directory at once. These are both great examples of where using more processing power would get your code to run faster. Let's get into how to solve this using multithreading in PowerShell!
Set-ADUser: Modifying Active Directory Users with PowerShell
Are you tired of going through the motions of making changes to an Active Directory account using the Active Directory (AD) Users and Computers (ADUC) console application? If so, why not save yourself time and automate the trivial process of updating AD objects with PowerShell using the Set-ADUser cmdlet!
Get-ADObject: Reporting on Active Directory with PowerShell
Are you looking for a quick way to create an Active Directory (AD) report using PowerShell? You’ve come to the right place! In this article, you will learn how to create custom reports of user accounts in your AD environment using the Get-ADObject cmdlet.
Build Better Scripts with PowerShell ArrayLists and Arrays
Often times when writing PowerShell scripts, you need a way to store a set of items. One common way to achieve this is with an array or specific type known as an ArrayList. But what is an array anyway? An array is a data structure that is designed to store a collection of items. This can include both same and different types of items.
PowerShell ValidateSet: Choosing from a List
When you are writing a PowerShell script or function you often want to accept user input via parameters. If you don't limit the values those parameters accept, you can guarantee that there will be situations where inappropriate values are supplied. In this article, learn how to use the ValidateSet parameter validation attribute to limit those values to only ones you define.
New-ADUser: Creating Active Directory Users with PowerShell
Are you tired of opening up Active Directory (AD) Users and Computers (ADUC), clicking around, making typos and going through the motions of creating a new user account for the sixth time today? If so, you need to automate the ever-so-common process of using Active Directory to add a user with PowerShell using the New-AdUser cmdlet!
PowerShell ValidateScript: Running Validation Code
When creating PowerShell functions, validating input to parameters is important. Parameter validation allows you to limit what is passed to functions. In this article, you're going to learn how to catch problems before they become one with the PowerShell ValidateScript validation attribute.
How to Build a PowerShell Menu GUI for your PowerShell Scripts
It's weekend project time again and today you will learn how to build a lightweight system tray context menu where you can quickly and easily launch your most coveted PowerShell scripts. You can see below the end result.
How To Build an Azure Usage Report with PowerShell
One of the most important aspects of running workloads in Azure is keeping track of expenses. How you do that is through tracking resource usage with an Azure usage report. In this article, you’ll learn how to create a PowerShell script to easily query resource usage across all of your Azure resources by date.
Understanding Variable Scope in PowerShell
When you write a PowerShell script with no functions and no external dependencies on other scripts, the concept of PowerShell scopes isn’t of much concern. But as you begin to build functions, modules and learn to call scripts from other scripts, the topic becomes more important.
How to Test Active Directory with a Health Check [In-Depth]: Part I
If you use, Active Directory (AD), it is probably the most important system you've got. Without it, users can't login, they probably can't browse the web, machines can't communicate and finance won't be able to generate their latest report. Be sure you test Active Directory with a health check script!
NuGet and IIS on Windows Server: The Ultimate Guide
So you've developed code. Great! Now you have to publish it to your users. But how There are many ways to accomplish this but one of the most used is NuGet. NuGet is a technology that allows you to publish code in the form of packages for others.
Psexec: The Ultimate Guide