You can run this PowerShell script via a GPO at shutdown or with a PowerShell script in Task Scheduler. Write-host $LocalProfile.LocalPath, "profile deleted” -ForegroundColor Magenta Get-CimInstance -Class Win32_UserProfile | Where-Object įoreach ($LocalProfile in $LocalProfiles) ![]() imported into PowerShell: Session New-PSSession ConfigurationName Microsoft. You can also delete a specific user’s profile using PowerShell: For Exchange On-Premises and Office 365 Michel de Rooij, Jaap Wesselius.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |