- This topic has 12 replies, 8 voices, and was last updated 14 years, 2 months ago by .
-
Topic
-
I am being dragged, kicking and screaming, into the Windows world. I have a ton of maintenance and management scripts in Korn shell on my AIX Cloverleaf. I would like to rewrite/port them to Windows, and I have chosen to learn Powershell in the process. I am stuck.
Without executing a batch job (.bat) where I first perform a setroot, how do I get my environment variables (HCIROOT, etc) to populate inside the powershell environment. No fair using $env:hciroot… remember, those don’t exist yet even in the dos shell environment, as setroot hasn’t been done there, yet.
I am looking for the magical “eval” command or in KSH the . (dot) command to execute and source in variables.
TIA –
Viewing 11 reply threads
Viewing 11 reply threads
- The forum ‘Cloverleaf’ is closed to new topics and replies.