If you get the Access to the path is denied error output when you run the PowerShell Export-CSV cmdlet on a Windows client or server machine, then the easy fixes we ...
I'm trying to pull SIDs and usernames from the registry on a windows box for use later in a script, so I wrote a bit of powershell to pull those out, trim off the crap and feed them into an array. The ...