Move it to a common method
one line if statement
Land #4460, @Meatballs1's ssl cert validation bypass on powershell web delivery