Powershell 3.0 Support

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 11 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
gzygadlo@msn.com
Posts: 1
Last visit: Mon Feb 09, 2015 3:55 pm

Powershell 3.0 Support

Post by gzygadlo@msn.com »

Does the current version of Primal Script/Powershell Studio 2012 support powershell 3.0?

I was trying the command get-nettcpconnection and that command does not seem to be available, but if I run it from a command prompt that command is available.

Not sure if I need to load some type of module into Powershell studio.

thanks
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Powershell 3.0 Support

Post by davidc »

Please refer to the following blog article: http://www.sapien.com/blog/2012/07/25/w ... rshell-v3/ David
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Powershell 3.0 Support

Post by davidc »

Note: If you have v3 installed, the console will be v3. David
David
SAPIEN Technologies, Inc.
StupidSexyFlanders
Posts: 107
Last visit: Thu Apr 29, 2021 8:47 am

Powershell 3.0 Support

Post by StupidSexyFlanders »

I do and it doesn't. See attached...

Attached files
Mike
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Powershell 3.0 Support

Post by davidc »

You are running the script in the internal host and not the console.
David
SAPIEN Technologies, Inc.
StupidSexyFlanders
Posts: 107
Last visit: Thu Apr 29, 2021 8:47 am

Powershell 3.0 Support

Post by StupidSexyFlanders »

Indeed! Thanks for the clarification. I have always assumed the internal host was just an embedded console displaying the output of the PS engine installed on the OS.
Mike
This topic is 11 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.