Category Archives: PowerShell

Retrieving the GUID of installed applications on you Windows Server/Workstation

If you are managing desktop applications or working on DSC packages, the GUID of installed application will be required at some point of your journey. Solution There are several ways…

Generating random numbers in PowerShell

When creating PowerShell scripts, very often we need to generate random numbers to use in several scenarios. In Today’s post, we are going a couple of examples how to use…

MethodNotAllowed when using Backup-AzureKeyVaultSecret

I’ve been working with Azure Automation in the last few days, and during the creation of the code I was using PowerShell ISE to backup and restore Azure Key Vault…

How to rename an AWS EC2 instance during provisioning using PowerShell

In the Cloud era the VM/instance name is not that important, especially when we have a fleet of servers doing the same work, and that is key for scenarios where…

Listing the drive letters, size and free space using PowerShell

Using PowerShell, the administrator is able to retrieve a lot of information from the operating system. In Today’s Tutorial, we are going the process to retrieve all volumes of any…

Script: Exchange Server 2016 Deployment (EXDeploy.ps1)

Hello folks, We created an automation script to deploy Exchange Server 2016 in a consistent way, and the script was published on our ITPROCentral at GitHub. You can find more…

How to remove the several Organization Units that are protected against accidental deletion

In some situation an entire structure of Organization Units must be deleted, and by default new OUs are automatic defined to protect them against deletion which requires the administrator to…

How to disable all accounts from an Organization Unit structure

In some cases, the administrator must disable all accounts from a specific Organization Unit. We can approach this task from either Active Directory Users and Computers or using PowerShell. Solution…

Installing Server Management tools

In this tutorial, we are going over the process to install the required software in a Windows Server 2012 or Windows Server 2012 R2 to support SMT (Server Management Tools)…

Using PowerShell to test SMTP

Using PowerShell to simplify the SMTP test in an Exchange Server or any other SMTP server.  Solution I’ve been using telnet for a while (since Exchange 5.5 to be honest)…