PowerShell: How to Create an AD User in a Specific OU

You can create a Windows Active Directory (AD) user in a specific OU by using the -path parameter in 'New-ADuser' PowerShell command. The following example will create a user in the 'students' OU of the 'pel.com' Active Directory domain. New-ADUser -Name “Karim Buzdar" -GivenName Karim -Surname Buzdar -SamAccountName kbuzdar -UserPrincipalName kbuzdar@pel.com -path "OU=students, DC=pel, DC=com

How to Change Your IP Address in Windows Using PowerShell

Set IP address with PowerShell

You may know how to change the IP address via the GUI. It's pretty simple. Just go to Control Panel > Network and Internet, select the IPv4 properties and change the IP address. The whole process takes about a minute. But what if you have to do this on multiple systems and repeat all these ... Read more

Windows Powershell – “Running scripts is disabled on this system”

PowerShell

Powershell scripts can be run on any Windows server or desktop as long as they are run from the ISE by pushing the green play button. As soon as you want to run it from the cmd or the desktop file you'll get this error: script1.ps1 cannot be loaded because running scripts is disabled on ... Read more

How to Exclude a User or Computer from Group Policy Object in Windows Server

Group Policy

When you apply a group policy on a container or OU, it applies to all users or computers in that container. However, you can exclude single or multiple users or containers from the policy applied. This tutorial is written to show you how to exclude a single user from a group policy object. Exclude a ... Read more

Windows 10 Secure Sign-In

Windows secure login

Windows is the most guided operating system in the world. That is, you can strengthen your PC's security to keep it safe both online and offline. This article will walk you through the whole process of enabling or disabling Windows 10 secure sign-in. 3 Ways to enable or disable Windows 10 Secure login You can ... Read more