The error messages that are displayed when a script malfunctions range from effective to practically useless — especially when the scripts themselves are long ...
I regularly use Powershell to create a PSsession, for when I'm modifying groups of 20+ users. The verbose print and errors for debugging are quickly closed with the session when the script runs. Do we ...
If that doesn't fix it, check your internet security options in IE. If that section is grayed out (mine was here at work, bastages getting tricky on me and trying to debug every script), run ...