Skip to main content
Jorge Bernhardt Jorge Bernhardt

Posts

2019

Create multiple identical VMs at once with Azure PowerShell
·438 words·3 mins· 100 views · 5 likes
Add-AzVMNetworkInterface Get-AzSubscription Login-AzAccount Microsoft
Hi, in this blog post, I want to show you a script that I used to implement several identical virtual machines at the same time with Azure PowerShell. Prerequisites> Prerequisites # This tutorial assumes that you already have a Microsoft Azure account set up and you have the PowerShell Azure module on your machine installed.
How to configure a Cloud Witness for a Failover Cluster
·559 words·3 mins· 100 views · 5 likes
Get-AzStorageAccount Get-AzStorageAccountKey Get-AzSubscription Get-ClusterQuorum
In the past week, I changed the configuration of a Failover Cluster in Windows Server 2016 that operated with a File share witness to use a Cloud Witness. In this post, I will show you how I configured a cloud witness for a failover cluster using Windows PowerShell and an Azure storage account.
Getting Started With Azure Sphere - Part 2
·482 words·3 mins· 100 views · 5 likes
azsphere Azure Sphere IoT Microsoft
This post is part of a series in which I will show how to set up and use your Azure Sphere. In my previous article, I showed you how to update the Azure Sphere OS.
How to prepare the Microsoft Exam AZ-900
·278 words·2 mins· 100 views · 5 likes
AZ-900 Certification Certifications Microsoft
In the last weeks, I have received many questions about how I prepared for Microsoft Azure Exam AZ-900. That’s why today I want to tell you in this article, the pages I consulted and the courses I have taken to prepare for the exam.
How to compact the Active Directory Database
·282 words·2 mins· 100 views · 5 likes
Active Directory Database Microsoft Microsoft Windows NtdsUtil.exe
In this mini-post, I want to show you how to perform an offline defragmentation of the Active Directory database. To perform the maintenance of the AD DS database offline, we will use the NtdsUtil.
How to create an Azure Load Balancer with PowerShell
·652 words·4 mins· 100 views · 5 likes
Azure PowerShell Get-AzLocation Get-AzResourceGroup Get-AzSubscription
This post is part of a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create an essential component: an Azure Load Balancer.
Getting Started With Azure Sphere - Part 1
·253 words·2 mins· 100 views · 5 likes
azsphere Azure Sphere IoT Microsoft
The people who follow @ me on Twitter know that I received an Azure sphere about a month ago. Due to certification exams and other issues, I have not been able to play with this board before.
How to create an Azure Recovery Services Vault
·574 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Get-AzRecoveryServicesVault
This post is part of a series in which I will show how to create different resources in Microsoft Azure. Today I will show you how to create a component that every Azure subscription should have: an Azure Recovery Service vault.
How to Implement Data Deduplication using PowerShell
·679 words·4 mins· 100 views · 5 likes
Enable-DedupVolume Get-DedupStatus Get-ScheduledTask Install-WindowsFeature
In this post, I want to show you how to install and configure the role of Data Deduplication in Windows Server 2016 using Windows PowerShell. Data Deduplication is a role service that conserves storage space on an NTFS volume by locating redundant data and storing one only copy of that data instead of multiple copies.
Passed Microsoft Exam AZ-900: Microsoft Azure Fundamentals
·117 words·1 min· 100 views · 5 likes
AZ-900 Certification Certifications Microsoft
Yesterday I passed the Microsoft exam AZ-900: Microsoft Azure Fundamentals. This exam is ideal to demonstrate basic knowledge of cloud services and how those services are provided with Microsoft Azure. This exam measures the following skills and knowledge:
Passed Microsoft Exam AZ-102: Microsoft Azure Administrator Certification Transition
·183 words·1 min· 100 views · 5 likes
Certification Certifications Microsoft Microsoft Azure
This morning I took the exam Microsoft AZ-102 Microsoft Azure Administrator Certification Transition, which is a composite of two standalone exams: AZ-100 Microsoft Azure Infrastructure and Deployment and AZ-101 Microsoft Azure Integration and Security.
How to use Hyper-V Resource Metering
·253 words·2 mins· 100 views · 5 likes
Disable-VMResourceMetering Enable-VMResourceMetering Measure-VM Microsoft
If you want to track the use of a virtual machine in your Hyper-v environment. This blog post may interest you. Resource metering uses PowerShell cmdlets to track various performance metrics for individuals VMs, such as:
How to Enable Group Policy Loopback Processing
·253 words·2 mins· 100 views · 5 likes
GPO Microsoft Microsoft Windows Windows
In this post, I want to show you how to use Group Policy Loopback processing to assign user policies to computer objects. As we know, A user GPO is applied to an organizational unit (OU) that contains users, and a computer GPO is applied to a UO that contains computers.
How to create and manage custom roles using Azure PowerShell
·414 words·2 mins· 100 views · 5 likes
Azure PowerShell Azure Role-based Access Control (RBAC) Azure governance Get-AzRoleDefinition
Sometimes it is necessary to create a new role to adjust it to our needs. Today, I want to show you how to create a custom role using Azure PowerShell with the JSON template.
How to use Azure Resource Locks with PowerShell
·436 words·3 mins· 100 views · 5 likes
Azure PowerShell Azure Resource Locks Get-AzResourceLock Get-AzSubscription
If you want to prevent accidental deletion or changes to resources in your Azure Resource Groups, Microsoft Azure offers a great solution: Azure Resource Locks. In this post, I want to show you how to use Azure Resource Locks in Microsoft Azure using Azure PowerShell.

2018

Tag Azure Resources using Az PowerShell cmdlets
·613 words·3 mins· 100 views · 5 likes
Azure PowerShell Get-AzResource Get-AzSubscription Get-AzTag
This post, shows, how to use Azure PowerShell to add tags to an Azure Resource. Tags are metadata that you can add to an Azure resource. You can tag resources with name/value pairs to organize and group resources in your subscription.
How to install the new Azure PowerShell "Az" Module
·206 words·1 min· 100 views · 5 likes
AZ Azure PowerShell Get-InstalledModule Install-Module
This quick blog post shows how to install the Azure Powershell Az module that replaces the AzureRM module. Before starting the module’s installation, it is important to know that Az and AzureRM modules cannot be imported in the same session or used in the same script.
How To use Set-ADObject cmdlet to Enable a Global Catalog on a DC
·155 words·1 min· 100 views · 5 likes
Get-ADDomainController Microsoft Microsoft Windows nltest.exe
In this mini-post, I want to show you how to enable or disable a global catalog on a Domain Controller (DC) using Windows PowerShell. To perform this task, use the Set-ADObject cmdlet with the following syntax:
Enable scavenging settings on a DNS server with PowerShell
·340 words·2 mins· 100 views · 5 likes
DNS Get-DnsServerScavenging Microsoft Microsoft Windows
It is likely that by using the BPA (Best Practices Analyzer) on a new DNS server, you will find the following warning. In this post, I want to show you how to use the Set-DnsServerScavenging cmdlet to correct this warning.
How to install the Windows PowerShell Web Access Gateway
·347 words·2 mins· 100 views · 5 likes
Add-PswaAuthorizationRule Get-WindowsFeature Install-PswaWebApplication Install-WindowsFeature
In this post, I want to show you how to install the Windows PowerShell Web Access gateway on a server that is running Windows Server 2016 by using Windows PowerShell cmdlets.