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 SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
gzygadlo@msn.com
Posts: 1
Joined: Wed Aug 22, 2012 1:45 pm

Powershell 3.0 Support

Post by gzygadlo@msn.com » Wed Aug 22, 2012 1:45 pm

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
Joined: Thu Aug 18, 2011 4:56 am

Powershell 3.0 Support

Post by davidc » Thu Aug 23, 2012 4:23 am

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
Joined: Thu Aug 18, 2011 4:56 am

Powershell 3.0 Support

Post by davidc » Thu Aug 23, 2012 4:24 am

Note: If you have v3 installed, the console will be v3. David
David
SAPIEN Technologies, Inc.

User avatar
StupidSexyFlanders
Posts: 107
Joined: Sun Nov 27, 2011 9:22 am

Powershell 3.0 Support

Post by StupidSexyFlanders » Wed Sep 26, 2012 9:17 am

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

Attached files
Mike

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Powershell 3.0 Support

Post by davidc » Wed Sep 26, 2012 9:20 am

You are running the script in the internal host and not the console.
David
SAPIEN Technologies, Inc.

User avatar
StupidSexyFlanders
Posts: 107
Joined: Sun Nov 27, 2011 9:22 am

Powershell 3.0 Support

Post by StupidSexyFlanders » Wed Sep 26, 2012 9:27 am

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