As mentioned in the previous blog post, as an IT Pro you are usually executing commands within the NT System\Administrator account, meaning you cannot delete files simply on the current logged in user. But fear not, we can fix this with the following PowerShell code: $users = Get-ChildItem “Registry::HKEY_USERS” | […]
delete file
1 post