If remote signed certificates are not enabled then you will get the error below:
File {filename} cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordExcept
ion
+ FullyQualifiedErrorId : UnauthorizedAccess