Skip to main content
Jorge Bernhardt Jorge Bernhardt

Microsoft Windows

2019

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.

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:
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.
How to disable preliminary lock screen background on Windows Server 2016
·197 words·1 min· 100 views · 5 likes
GPO Microsoft Microsoft Windows Registry Editor
In this post, I want to show you how to disable the preliminary lock screen background on Windows Server 2016 using Group Policy Management Console and Registry Editor. GPO Workaround> GPO Workaround # Open Local Group Policy Editor (gpedit.
How to create a Shared Folder using PowerShell
·182 words·1 min· 100 views · 5 likes
Get-Help Get-SmbShare Microsoft Microsoft Windows
In this post, I want to show how to create a shared folder using PowerShell. To do this, we can first check the PowerShell help to know the parameters of the New-SmbShare cmdlet To check the PowerShell help, we will use the Get-Help command with the following syntax.
How to force a network profile in Windows using PowerShell
·184 words·1 min· 100 views · 5 likes
Get-NetConnectionProfile Microsoft Microsoft Windows PowerShell
Windows classifies the networks into three different types: public, private and domain, and this allows different firewall configurations to be applied according to the established profile. If you want to force a network to be of a different profile, my recommendation is that you use PowerShell.