Scripts working in PrimalScript - but not in PoSH
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
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 LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Scripts working in PrimalScript - but not in PoSH
Has anyone else experienced this problem? I have a script I spent a bit of time on, and it works great in PrimalScript, but when I run it from a powershell window - it gets different results. What is going on here?It is confusing me to no end though - why would it work in one environment and not the other? Does PrimalScript have a 'different' POSH shell when you hit F7 to run your script? The computer it is running on is a Windows XP Pro machine with all the latest security patches and updates. If anyone else has seen this - has a solution for me I would love to know. If you need the script posted, I can do that as well. Thanks,Chris
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Scripts working in PrimalScript - but not in PoSH
That is confusing, even for us, since normally it is the other way around, if there is a problem
PrimalScript does host the PowerShell engine itself, but except for the obvious user interface difference everything should run the same.
Please send the script to support@sapien.com (inside a zip file),
I will forward it to our resident PowerShell expert to see what is going on.
Alex
PrimalScript does host the PowerShell engine itself, but except for the obvious user interface difference everything should run the same.
Please send the script to support@sapien.com (inside a zip file),
I will forward it to our resident PowerShell expert to see what is going on.
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Scripts working in PrimalScript - but not in PoSH
Alex, Thanks for your quick response - the email was sent from my work account: Christopher_Alliey@Discovery.com (in case you have a filter on) Thanks,Chris
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Scripts working in PrimalScript - but not in PoSH
Got it. I forwarded your script to Jeffery Hicks to see what he can find out.
Alex
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Scripts working in PrimalScript - but not in PoSH
I forwarded Jeff's reply to you. Please let us know if that is of any help.
Alex
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Scripts working in PrimalScript - but not in PoSH
I've already read the reply - thank you for your assistance.Seems like you are up at all hours of the day / night answering questions.Thanks again!Chris