What do you mean by cannot use it in a form? Can you please elaborate as to what you are doing? Are you getting errors when you attempt to run? If so, can you post the errors here? How are you adding it in the Globals.ps1 file?
With adding your $EmployeeRecord to a Globals.ps1 file of a newly created project, I have not found any issues with referencing the variable in another project file or running the project.
With adding your $EmployeeRecord to a Globals.ps1 file of a newly created project, I have not found any issues with referencing the variable in another project file or running the project.
Statistics: Posted by brittneyr — Wed Nov 20, 2024 11:38 am