I have a powershell $profile that imports custom functions. This somehow breaks the following tabs in UA: Running Jobs, Past Jobs and Tags with the following error:
Cannot bind parameter 'Script'. Cannot convert the "D:\OneDrive - xxx\Source\PowerShell Functions\Write-Header.ps1" value of type "System.IO.FileInfo" to type "UniversalAutomation.Script".
The contents of my pscore 6 $profile is a dotsource of my regular windows powershell profile.
To Reproduce
Steps to reproduce the behavior: I removed my $profile
Expected behavior
It should show the correct information about the jobs etc w/o breaking over the presence of a $profile.
Screenshots
With a $profile:
Without a $profile (or empty):
Script Sample
Attempt to attach sample code that will allow others to reproduce the issue. NOTE: Generally speaking this is the MOST EFFECTIVE way to have your issue resolved.
Version Information
Host Operating System: Microsoft Windows Server 2019 Standard Build 17763
Describe the Issue
I have a powershell $profile that imports custom functions. This somehow breaks the following tabs in UA: Running Jobs, Past Jobs and Tags with the following error:
Cannot bind parameter 'Script'. Cannot convert the "D:\OneDrive - xxx\Source\PowerShell Functions\Write-Header.ps1" value of type "System.IO.FileInfo" to type "UniversalAutomation.Script".
The contents of my pscore 6 $profile is a dotsource of my regular windows powershell profile.
To Reproduce
Steps to reproduce the behavior: I removed my $profile
Expected behavior
It should show the correct information about the jobs etc w/o breaking over the presence of a $profile.
Screenshots
With a $profile:
Without a $profile (or empty):
Script Sample
Attempt to attach sample code that will allow others to reproduce the issue. NOTE: Generally speaking this is the MOST EFFECTIVE way to have your issue resolved.
Version Information