January 23, 2023

PowerShell script to find the users folder size and last modified then csv export

This script will loop through all the folders in the “C:\Users” directory and check if they are a container (i.e. a folder). If they are, it […]
January 23, 2023

PowerShell script to find the users folder size and last modified more than 90 days and csv export

$days = 90 $usersPath = "C:\Users" $outputFile = "C:\Users_Inactive_Over_90_Days.csv" $currentDate = (Get-Date).Date $users = Get-ChildItem -Path $usersPath $results = @() foreach ($user in $users) { if […]
January 23, 2023

Powershell script to find the users folder size and last modified

This script will loop through all the folders in the “C:\Users” directory and check if they are a container (i.e. a folder). If they are, it […]
January 23, 2023

PowerShell script to find user profile that not used for long time

This script will loop through all the folders in the “C:\Users” directory and check if they are a container (i.e. a folder). If they are, it […]