Check for administrator rights
Opened this issue · 3 comments
smurawski commented
Check for administrator rights
gaelcolas commented
I'm not sure this would be always relevant, such as on remote Hyper-V for instance. Better error handling (i.e. Access Denied) might more appropriate.
ebjornset commented
Yesterday I had a problem where test-kitchen was reporting "No default switch defined". This was caused by me running it from a normal (not elevated) Powershell window by a mistake. It would me much more helpful if the error message was something along the lines of "This command must be run elevated".
kdoores commented
I am actively working on this one. Should be in soon.