added exclusion logic

This commit is contained in:
poslop
2025-02-10 10:15:17 -06:00
parent 2f54d51b59
commit b540653fc3

View File

@@ -18,6 +18,7 @@ Get-WmiObject Win32_UserProfile | :Loop ForEach-Object {
foreach ($name in $excludedProfiles) {
if ($item -eq $userName) {
continue Loop
}
}
# Get the last logon time for the local user