<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>RDR-IT - Scripts</title><link>https://rdr-it.com/en/category/scripts/</link><description>System administration, virtualization, security and tools for IT professionals.</description><language>en-US</language><lastBuildDate>Fri, 09 Oct 2026 17:31:24 +0000</lastBuildDate><atom:link href="https://rdr-it.com/en/category/scripts/index.xml" rel="self" type="application/rss+xml"/><item><title>Exchange: Hide users in an Organizational Unit from the address book</title><link>https://rdr-it.com/en/exchange-hide-users-in-an-organizational-unit-from-the-address-book/</link><pubDate>Fri, 07 Aug 2026 05:00:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/exchange-hide-users-in-an-organizational-unit-from-the-address-book/</guid><description>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 …</description></item><item><title>Active Directory: Change Object Owner in Bulk</title><link>https://rdr-it.com/en/active-directory-change-object-owner-in-bulk/</link><pubDate>Wed, 11 Dec 2024 05:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/active-directory-change-object-owner-in-bulk/</guid><description>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 …</description></item><item><title>View Active Directory Group Members in PowerShell</title><link>https://rdr-it.com/en/view-active-directory-group-members-in-powershell/</link><pubDate>Wed, 17 May 2023 04:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/view-active-directory-group-members-in-powershell/</guid><description>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 …</description></item><item><title>Active Directory: mass change the option: The user cannot change the password</title><link>https://rdr-it.com/en/active-directory-mass-change-the-option-the-user-cannot-change-the-password/</link><pubDate>Wed, 13 Oct 2021 04:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/active-directory-mass-change-the-option-the-user-cannot-change-the-password/</guid><description>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 …</description></item><item><title>PowerShell and network drives</title><link>https://rdr-it.com/en/powershell-and-network-drives/</link><pubDate>Wed, 12 May 2021 04:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/powershell-and-network-drives/</guid><description>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 …</description></item><item><title>Vbs : delete all files with the same extension in a folder</title><link>https://rdr-it.com/en/vbs-delete-all-files-with-the-same-extension-in-a-folder/</link><pubDate>Thu, 01 Apr 2021 04:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/vbs-delete-all-files-with-the-same-extension-in-a-folder/</guid><description>The next two lines of code allow you to delete all files with a particular extension in a folder.
Set obj = CreateObject("Scripting.FileSystemObject") …</description></item><item><title>Remove all network printers from a workstation</title><link>https://rdr-it.com/en/remove-all-network-printers-from-a-workstation/</link><pubDate>Tue, 30 Mar 2021 04:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/remove-all-network-printers-from-a-workstation/</guid><description>The script allows you to delete all network printers on a workstation / server.
' ' RDR REMOVE NETWORK PRINTER ' ' ' Dim strComputer strComputer = "." Set objWMIService = …</description></item><item><title>Hyper-V: create a virtual machine in PowerShell</title><link>https://rdr-it.com/en/hyper-v-create-a-virtual-machine-in-powershell/</link><pubDate>Mon, 01 Mar 2021 05:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/hyper-v-create-a-virtual-machine-in-powershell/</guid><description>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 …</description></item><item><title>Print server migration</title><link>https://rdr-it.com/en/print-server-migration/</link><pubDate>Thu, 10 Dec 2020 05:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/print-server-migration/</guid><description>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 …</description></item><item><title>PowerShell: run multiple parallel robocopy</title><link>https://rdr-it.com/en/powershell-run-multiple-parallel-robocopy/</link><pubDate>Thu, 26 Dec 2019 15:29:41 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/powershell-run-multiple-parallel-robocopy/</guid><description>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 …</description></item><item><title>FOG agent installation script</title><link>https://rdr-it.com/en/fog-agent-installation-script/</link><pubDate>Thu, 26 Dec 2019 11:39:59 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/fog-agent-installation-script/</guid><description>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 …</description></item><item><title>Restart an RDS server member of a farm</title><link>https://rdr-it.com/en/restart-an-rds-server-member-of-a-farm/</link><pubDate>Mon, 21 Oct 2019 08:34:10 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/restart-an-rds-server-member-of-a-farm/</guid><description>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 …</description></item><item><title>WSUS: Remove Drivers from Updates</title><link>https://rdr-it.com/en/wsus-remove-drivers-from-updates/</link><pubDate>Thu, 25 Jul 2019 02:00:25 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/wsus-remove-drivers-from-updates/</guid><description>Not long ago, I wanted to enable driver updates through WSUS. When I saw the amount of drivers to download compared to the percentage used, I wanted to backtrack. The …</description></item><item><title>PowerShell: Force password change of users in an OU</title><link>https://rdr-it.com/en/powershell-force-password-change-of-users-in-an-ou/</link><pubDate>Tue, 16 Jul 2019 02:00:39 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/powershell-force-password-change-of-users-in-an-ou/</guid><description>The following script allows you to force the password change at the next logon.
# Removing the password not expiring Get-ADUser -Filter * -SearchBase …</description></item><item><title>Alert users to change their password</title><link>https://rdr-it.com/en/alert-users-to-change-their-password/</link><pubDate>Fri, 21 Jun 2019 16:45:30 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/alert-users-to-change-their-password/</guid><description>The following VBS script displays an alert to users at login that the password is soon to expire.
The script ' Days before to alert user QtDiasAviso = 7 RedirectRdWeb = …</description></item><item><title>Google Analytics: track outgoing clicks with jQuery</title><link>https://rdr-it.com/en/google-analytics-track-outgoing-clicks-with-jquery/</link><pubDate>Mon, 27 May 2019 16:32:34 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/google-analytics-track-outgoing-clicks-with-jquery/</guid><description>The script below allows you to track clicks to external links to your website.
In addition, I leave you the code to track PNG image openings and zip file downloads.</description></item><item><title>Wordpress: show similar articles without plugins</title><link>https://rdr-it.com/en/wordpress-show-similar-articles-without-plugins/</link><pubDate>Sat, 13 Apr 2019 08:45:38 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/wordpress-show-similar-articles-without-plugins/</guid><description>Introduction In this article, I propose a PHP function to display similar articles on your Wordpress site.
Following the hacking of the plugin Yuzo Related Post that I …</description></item><item><title>Powershell: Automatically decline ARM64 Updates on WSUS</title><link>https://rdr-it.com/en/powershell-automatically-decline-arm64-updates-on-wsus/</link><pubDate>Tue, 18 Dec 2018 11:01:25 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/powershell-automatically-decline-arm64-updates-on-wsus/</guid><description>The PowerShell script below allows you to automatically decline ARM64 updates from Windows 10 into WSUS.
The script can be started manually or by a scheduled task.
The …</description></item><item><title>PRTG: Hyper-V Statistics CPU and RAM Resource Allocation</title><link>https://rdr-it.com/en/prtg-hyper-v-statistics-cpu-and-ram-resource-allocation/</link><pubDate>Fri, 30 Nov 2018 12:13:01 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/prtg-hyper-v-statistics-cpu-and-ram-resource-allocation/</guid><description>This script creates a sensor in PRTG that displays the allocation of physical resources to virtual machines.
Scripts can be used to monitor a standalone / clustered …</description></item><item><title>Powershell: Automatically decline Itanium Updates on WSUS</title><link>https://rdr-it.com/en/powershell-automatically-decline-itanium-updates-on-wsus/</link><pubDate>Mon, 26 Nov 2018 13:23:31 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/powershell-automatically-decline-itanium-updates-on-wsus/</guid><description>The PowerShell script below allows you to automatically decline Itanium updates in WSUS.
The script can be started manually or by a scheduled task.
The script must be run …</description></item></channel></rss>