How to Install Docker on Windows Without Internet Connection

If you don't have an internet connection on a Windows system, then you can download the Docker file from another (Internet enabled) machine and then copy it to target. Install Docker without Internet Connection Afterward, follow these steps: Execute the following commands to install docker packages: Install-PackageProvider -Name DockerMsftProvider Import-PackageProvider -Name DockerMsftProvider -Force List all Docker ... Read more

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 PowerShell commands. If you have already configured an AD Domain Service before, you may be aware that there are the following two high-level steps: Installing Active Domain itself. Promoting the server as domain controller. Install ... Read more

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 script. PowerShell: Check if AD User or Group Exists Step 1. Open PowerShell with elevated privileges. Step 2. Execute the following script: $userobj = Get-ADUser -LDAPFilter "(SAMAccountName=$username)" $vlanobj = Get-ADGroup -LDAPFilter "(SAMAccountName=$vlangroupname)" if ($userobj -eq ... Read more

How to Prevent Users from Shutting Down the Domain Joined Client Computers

Domain users are by default allowed to shutdown, restart, or put the domain-joined client computers to sleep. However, you can use a group policy to prevent them from shutting down or restarting the client computers. Following are step by step instructions written for this purpose. Prevent Users from Shutting Down their Computer Step 1. Open Group ... Read more

How to Hide Specific OU in Active Directory Users and Computers

When you open an active directory users and computers console, you will see some of the following containers or OUs. These are the available OUs or container types: Builtin Computers Domain Controllers ForeignSecurityPrincipals Managed Service Accounts Users Show all OU in Active Directory Console But these are not the only containers or organizational units in ... Read more