Force Parameter (Invoke-PowerShellServer Cmdlet)
Forces the component to accept the default behavior instead of querying the user.
Invoke-PowerShellServer -Force SwitchParameter
The Force parameter is especially useful in a script environment where user interaction is not an option. Certain cmdlets that are SSH and SSL based will query the user if the security credentials of the certificate presented by the server are not met. Setting this parameter will force the cmdlet to accept the certificate of the server unconditionally.