Hello,
I create inside a poweshell studio project the file
configuration.ps1
There i wrote
$user1 = "Test"
on another powershell script or form i use
Param ($user1)
Why i cant get that value $user1 from configuration.ps1 ?
I think he missing that source script that he understand where $user1 setup but how to do it?
It seems that i cant get a variable inside a form from a ps1 script?
[solved] Load variable
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 40
- Last visit: Sun Jan 16, 2022 3:44 am
[solved] Load variable
Last edited by klarlichter on Thu Nov 28, 2019 10:29 am, edited 1 time in total.
-
- Posts: 40
- Last visit: Sun Jan 16, 2022 3:44 am