How to Exclude a User or Computer from Group Policy Object

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 a 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

How to Configure a Scheduled Task Item using Group Policy

Windows Scheduled Tasks

Sometimes you may be required to automatically shut down domain-joined client computers or you may be required to run a script at some specific time. Group policies and task scheduling can help you in such situations. This tutorial will help you to learn how to schedule a task using group policies in domain controller on Windows ... Read more

How to Create a PowerShell Session on a Remote Computer

PowerShell Remote Session

To execute PowerShell commands or scripts on a remote computer, you need to create a session. This is also known as PowerShell remoting and it is just like an SSH session to an operating system. There are several ways to create a PowerShell session. I'll list one of the easiest methods here. These are the required ... Read more

How to Append Data to a Text File Using PowerShell

You can use the PowerShell add-content cmdlet to append data to a text file. Here are an example and the command-line options that you can use. Powershell add-content example Step 1. Open PowerShell with elevated privileges Step 2. Execute the following command, (change the file path) Add-Content c:\scripts\test.txt "The End" By default, the data is appended after ... Read more

ERR2: 7621 Failed to move source object. Verify that the caller’s account is not marked sensitive and therefore cannot be delegated. hr=0x8009030e No credentials are available in the security package.

When you are migrating objects from child domain to parent domain using ADMT v 3.2, you may get the following error, ERR2: 7621 Failed to move source object. Verify that the caller’s account is not marked sensitive and therefore cannot be delegated. hr=0x8009030e No credentials are available in the security package. Solution Check if the ... Read more

The following error was generated when “$error.Clear(); install-adam -Port $RoleAdamLdapPort -SslPort $RoleAdamSslPort ” was run: “Microsoft.Exchange.Management.Edge.SetupTasks.AdamSetAclsProcessFailureException: Active Directory Lightweight Directory Service (AD LDS) process dsacls.exe failed with error code 58 when setting the access control list (ACL) on OU=MSExchangeGateway.    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)

While installing Edge Transport Server role on Windows Server 2016, if you get the following error: Error: The following error was generated when “$error.Clear(); install-adam -Port $RoleAdamLdapPort -SslPort $RoleAdamSslPort ” was run: “Microsoft.Exchange.Management.Edge.SetupTasks.AdamSetAclsProcessFailureException: Active Directory Lightweight Directory Service (AD LDS) process dsacls.exe failed with error code 58 when setting the access control list (ACL) on ... Read more

How to Create NIC Teaming With PowerShell

To create NIC teaming with PowerShell, follow this step-by-step tutorial: Step 1. Open PowerShell with elevated privileges Step 2. Execute the following command, new-NetLBFOTeam [TEAMNAME] “[NIC1]”, “[NIC2]” [TEAMNAME] the name of team of network adapters. [NIC1] the name of first NIC adapter. [NIC2] the name of second NIC adapter. Example: If you have two network ... Read more