X

PowerShell

How to Add a User to a Group Using PowerShell

You can add a user into a group using active directory users and computer (ADUC) mmc snap in or by…

How to Delete Multiple DHCP Scopes Using PowerShell

You can remove multiple scopes from your DHCP server by using this simple script which uses the Remove-DhcpServerv4Scope PowerShell cmdlet. The…

How to Send an Email from Gmail Account Using PowerShell

You can send an email from your Gmail account using only a single command in PowerShell. There are several ways to achieve…

How to Downgrade Forest and Domain Functional Levels

Downgrade the Forest Functional Level Step 1. Open PowerShell with elevated privileges. Step 2. Execute the following command, replace the…

Error when Executing a PowerShell Script for the First Time

When you are executing a PowerShell script for the first time you may encounter the following error: .... cannot be loaded…

How to Fix WinRm Firewall Exception Rule When Enabling PS Remoting

When you are enabling PowerShell remoting using the command Enable-PSRemoting, you may get the following error because your system is…

How to Configure an IP Address Using PowerShell on Windows

If you are coming from Linux to Windows and you are used to working on the shell, then the following…

How to Set Up an Active Directory on Windows Server 2016 Using PowerShell

In this tutorial, I will explain how to install an active directory on Windows Core Server 2016 using a few…

How to Check if a User or Group Exists in AD using PowerShell

If you want to check the existence of any user or group in Windows Active Directory, use the following PowerShell…

How to Prompt a User for Input using PowerShell

You can use the read-host command-let to get an input from a user during program execution. PowerShell Input Example Here is…

X

Headline

You can control the ways in which we improve and personalize your experience. Please choose whether you wish to allow the following:

Privacy Settings