param : The term 'param' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\install_cert_and_exceptions.ps1:2 char:1 + param( + ~~~~~ + CategoryInfo : ObjectNotFound: (param:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException Exception calling "DownloadFile" with "2" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." At C:\install_cert_and_exceptions.ps1:9 char:1 + $webclient.DownloadFile($url,$file) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : WebException Exception calling "Import" with "1" argument(s): "The system cannot find the file specified. " At C:\install_cert_and_exceptions.ps1:14 char:3 + $cert.import($certPath) + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : CryptographicException Exception calling "Add" with "1" argument(s): "pCertContext is an invalid handle." At C:\install_cert_and_exceptions.ps1:17 char:3 + $store.add($cert) + ~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : CryptographicException Add-Content : Could not find a part of the path 'C:\Users\aburm\Application Data\Sun\Java\Deployment\security\exception.sites'. At C:\install_cert_and_exceptions.ps1:28 char:5 + Add-Content -Path "$env:USERPROFILE\Application Data\Sun\Java\Dep ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Users\aburm\...exception.sites:String) [Add-Content], DirectoryNotF undException + FullyQualifiedErrorId : GetContentWriterDirectoryNotFoundError,Microsoft.PowerShell.Commands.AddContentCommand Add-Content : Could not find a part of the path 'C:\Users\aburm\Application Data\Sun\Java\Deployment\security\exception.sites'. At C:\install_cert_and_exceptions.ps1:29 char:2 + Add-Content -Path "$env:USERPROFILE\Application Data\Sun\Java\Dep ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Users\aburm\...exception.sites:String) [Add-Content], DirectoryNotF undException + FullyQualifiedErrorId : GetContentWriterDirectoryNotFoundError,Microsoft.PowerShell.Commands.AddContentCommand