Skip to main content
Jorge Bernhardt Jorge Bernhardt

Windows Server

2019

Implement Offline Domain Join
·233 words·2 mins· 100 views · 5 likes
djoin.exe Microsoft Microsoft Windows Windows
Today, in this mini-post, I want to show you how to perform an offline domain join. During this process, a computer is configured to join a domain without network access to the active directory.
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.
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 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.

2018

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 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 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.
How to set the system time zone with PowerShell
·135 words·1 min· 100 views · 5 likes
Get-TimeZone Microsoft Microsoft Windows PowerShell
If you need to configure a Server Core or simply because you want to configure with PowerShell. In this post, I show you how to set the system time zone using the Set-TimeZone cmdlet.
How to Manage WinRM with PowerShell
·131 words·1 min· 100 views · 5 likes
Microsoft Microsoft Windows PowerShell Windows
Windows Remote Management (WinRM) allows you to manage a server from a remote location using PowerShell and WMI-based tools. In this post, I want to show you how to manage WinRM from a PowerShell session.
How to Managing Non-Domain joined Server using Server Manager
·416 words·2 mins· 100 views · 5 likes
Get-ChildItem Microsoft Microsoft Windows PowerShell
Today I want to show you how to manage non-domain joined servers or Workgroup servers using Server Manager. This can be very useful when working with multiple domains and managing all from the same computer.
How to share a Printer with PowerShell
·233 words·2 mins· 100 views · 5 likes
Get-Printer Microsoft Microsoft Windows PowerShell
Hi, today I want to show you how to share a printer using PowerShell. The cmdlet I will use is Set-Printer. This cmdlet allows to establish or update the configuration of a specified printer.
How to install the PowerShell Active Directory Module in Windows Server
·142 words·1 min· 100 views · 5 likes
Add-WindowsFeature Get-WindowsFeature Microsoft Microsoft Windows
Jorge here again. In this post, I want to show how to install the Active Directory Module for PowerShell. The AD module is already installed on domain controllers on Windows Server but on member servers, you can add the module as a feature in Server Manager or using PowerShell.
How to add Computer to a Domain using PowerShell
·285 words·2 mins· 100 views · 5 likes
Add-Computer Microsoft Microsoft Windows PowerShell
Suppose you want to add a computer to a domain using the command line, either when no GUI (Server Core) or just when configuring multiple computers in a script. This post can be interesting for you.