Exchange: Hide users in an Organizational Unit from the address book
In a company that manages an on-premises Exchange installation, it is common practice to keep the accounts of users who leave the company active for a few weeks after …
In a company that manages an on-premises Exchange installation, it is common practice to keep the accounts of users who leave the company active for a few weeks after …
Below you will find scripts that will allow you to mass change the owner of different Active Directory objects such as: Users Groups Organizational Unit Computers In a …
In this tutorial, I will explain how to display the members of an Active Directory group in PowerShell. I already see some reaction of the style, we can have it from the …
You want to increase the security level of your Active Directory environment, but historically the option: User cannot change password was enabled. The script below …
In this tutorial on “scripting”, I suggest you discover or see how to manage network drives with PowerShell and you will see that it is not that “simple”. In the …
The next two lines of code allow you to delete all files with a particular extension in a folder. Set obj = CreateObject("Scripting.FileSystemObject") …
The script allows you to delete all network printers on a workstation / server. ' ' RDR REMOVE NETWORK PRINTER ' ' ' Dim strComputer strComputer = "." Set objWMIService = …
In this tutorial, I will walk you through how to create a virtual machine on Hyper-V with PowerShell. The PowerShell commands of the tutorial, we were executed directly …
The following script migrates from print server A to server B with the following actions: Map printers to the new server Removal of the workstation printers that are …
I offer a script that will allow you to launch several Robocopy simultaneously, this use saves a lot of time when using robocopy on a folder with several subfolders. In …
The following script installs the FOG agent on fixed workstations at startup. The script must be placed in a group policy (GPO), which executes the script when the …
This script allows you to reboot a server RDS member of a farm with a broker session by closing the still open sessions. Use : Change the two variables $ServerBroker and …