Great post ... only one question .. how can I pass instance names .. if I multiple instances on same server and I want to only patch specific instance...
For a specific instance name, replace "/allinstances" with "/instancename=YourInstanceNameHere" and replace YourInstanceNameHere with the instance name you'd like to patch.
I believe, but am not 100% certain, that MSSQLSERVER would be the instance name for the default instance.
Thanks for the feedback,
Steve