Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The answer to that, including robocopy as the direct example used, is at the bottom of that documentation I linked on $PSNativeCommandUseErrorActionPreference: you set it to $false before calling something like robocopy and then reset it when done.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: