I have a simple inline powershell script that I am running to get the fully qualified domain name:
Code: Select all
$myFQDN=(Get-WmiObject win32_computersystem).DNSHostName+"."+(Get-WmiObject win32_computersystem).Domain
AI_SetMsiProperty FQDN $myFQDNCode: Select all
POWERSHELL_EXECUTION_LOG = File C:\Users\synergy\AppData\Local\Temp\pss1CEB.ps1 cannot be loaded. The file
C:\Users\synergy\AppData\Local\Temp\pss1CEB.ps1 is not digitally signed. You cannot run this script on the current
system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccessThis install is being built with version 20.0
Any help would be greatly appreciated.
FOLLOW US
Get the latest news in Application Packaging