Winrm command filters code review feedback

Fixed style issues from #3530