Skip to main content
Jorge Bernhardt Jorge Bernhardt

Microsoft

2019

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.
How to create a VPN S2S in Microsoft Azure
·578 words·3 mins· 100 views · 5 likes
Get-AzureRmLocalNetworkGateway Get-AzureRmVirtualNetworkGateway Get-AzureRmVirtualNetworkGatewayConnection Microsoft
This quick blog post, shows, how to use Azure PowerShell to deploy a site-to-site VPN Gateway between Azure and On-Premise. Requirements: 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 Audit PowerShell Usage Using Transcription
·253 words·2 mins· 100 views · 5 likes
GPO Microsoft Microsoft Windows PowerShell
Hello, today I want to show you how to use the group policy to configure the registry transcription to audit the use of PowerShell on servers. Requirements: This tutorial assumes that the target system already has WMF 5.
How to export Azure Resource Groups to ARM Templates
·409 words·2 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Export-AzureRmResourceGroup
In this post, I want to show you how to export a Resource Group to an ARM template using the command line. This tutorial assumes that you already have a Microsoft Azure account set up.
How to create a Virtual Network in Microsoft Azure
·741 words·4 mins· 100 views · 5 likes
Add-AzureRmVirtualNetworkSubnetConfig Azure CLI Azure PowerShell Get-AzureRmLocation
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: a Virtual Network.
How to create a Group Managed Service Accounts (gMSA)
·410 words·2 mins· 100 views · 5 likes
Install-ADServiceAccount Microsoft Microsoft Windows New-ADServiceAccount
In this post, I want to show you how to create and use Group managed service accounts (gMSA). Before starting, I would like to identify the basic concepts and requirements.
How To Register the Active Directory Schema MMC Snap-in
·170 words·1 min· 100 views · 5 likes
Active Directory schema Microsoft Microsoft Windows Regsvr32
In this post, I want to show you how to use the Active Directory schema plugin on a domain controller. First, you must register a DLL (schmmgmt.dll). Use the Regsvr32 utility with the following syntax:
Passed Microsoft Exam 70-744 Securing Windows Server 2016
·134 words·1 min· 100 views · 5 likes
Certification Certifications Microsoft Windows
Yesterday I passed the Microsoft exam 70-744: Securing Windows Server 2016. I am very excited to obtain a Microsoft security certification. This certification requires a lot of practice and setting up a testing environment that allows us to “play” and gain experience in all the technologies that are part of the exam.
How to rename a Network Adapter using Rename-NetAdapter cmdlet
·126 words·1 min· 100 views · 5 likes
Get-NetAdapter Microsoft Microsoft Windows PowerShell
Today I want to show you how to rename network interfaces using the Rename-NetAdapter cmdlet. It is a good practice to change the name of the network interfaces to facilitate the management of servers with several network cards.
How to create a KDS root key using PowerShell
·215 words·2 mins· 100 views · 5 likes
Add-KdsRootKey dssite.msc Get-KdsRootKey Microsoft
If you want to use the Group Managed Service Accounts feature, you must first create a root key for the group key distribution service within Active Directory. This is used by the KDS service in Domain Controllers to generate passwords.
How to create a Virtual Disk using PowerShell
·316 words·2 mins· 100 views · 5 likes
Format-Volume Get-VirtualDisk Initialize-Disk Microsoft
In a previous post I showed you how to create a storage pool, today I want to show you how to use PowerShell to create a virtual disk in your Storage Pool.
Azure DNS now provides 100% Service Level Agreement
·146 words·1 min· 100 views · 5 likes
DNS Microsoft Microsoft Azure News
With this update, Azure DNS guarantees that DNS requests will receive a response from at least one name server 100% of the time. If you don’t know, Azure DNS is a hosting service for DNS domains, providing name resolution using Microsoft Azure infrastructure.
Azure Cloud Shell editor in collaboration with Visual Studio Code
·143 words·1 min· 100 views · 5 likes
Azure Cloud Shell Microsoft Microsoft Azure News
Excellent news for all users who use the cloud shell editor. Microsoft announced that Azure Cloud Shell now uses Project Monaco. The Monaco code editor is an open-source code editor that is found in Visual Studio.