From 5b6b97aeacbf3d2f855f466b0f065c29857710a6 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Wed, 10 Sep 2025 20:26:25 -0600 Subject: [PATCH] Update Scripts/Powershell/General Purpose/Inactive User Profile Data Cleanup.md --- .../Inactive User Profile Data Cleanup.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/Powershell/General Purpose/Inactive User Profile Data Cleanup.md b/Scripts/Powershell/General Purpose/Inactive User Profile Data Cleanup.md index 13a13db..4b44f00 100644 --- a/Scripts/Powershell/General Purpose/Inactive User Profile Data Cleanup.md +++ b/Scripts/Powershell/General Purpose/Inactive User Profile Data Cleanup.md @@ -7,12 +7,12 @@ This script is designed to iterate over every computer device within an Active D !!! example "Commandline Arguments" You can execute the script with the following arguments to change the behavior of the script: `.\UserProfileDataPruner.ps1` - - `-DryRun`: Do not Delete Data, just report on what (would) be deleted. - - `-InactiveDays 90`: Adjust the threshold of the pruning cutoff. (Default 90 Days) - - `-PilotTestingDevices`: Optional comma-separated list of devices to target instead of all workstations in Active Directory + - `-DryRun` : Do not Delete Data, just report on what (*would*) be deleted. + - `-InactiveDays 90` : Adjust the threshold of the pruning cutoff. (*Default 90 Days*) + - `-PilotTestingDevices` : Optional comma-separated list of devices to target (*instead of all workstations in Active Directory*) -### Powershell Script -You can find the full script below: +### Script +You can find the full script below, save it as `UserProfileDataPruner.ps1`: ```powershell <# UserProfileDataPruner.ps1