32 or 64 bit version of product:64
Operating system: Windows 8.1
32 or 64 bit OS: 64
Hello,
I try to open another Powershell Script from converted *.exe ( Powershell Script to exe)
If I am in Powershell Studio and working from the Script, I open another Script with double dot
- function Get-MyCredentials
- {
- . .\Credentials.ps1 -BackColor $BackColor # this opens my own created credential window, that I use often.
- $Credenials = New-Object System.Management.Automation.PSCredential -ArgumentList $Username, $Password
- Return $Credentials
- }
However if i convert my Powershell Application to an exe File, this does not work anymore.
How do I have to write the code in this case?
Greets and thanks in advance