Why FormatPX

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 7 years and 2 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
CermakPOI
Posts: 41
Last visit: Wed Jan 31, 2024 2:57 am

Why FormatPX

Post by CermakPOI »

Product, version and build: PowerShell Studio 2017 v5.4.134
32 or 64 bit version of product: 64
Operating system: Win10
32 or 64 bit OS: 64
PowerShell Version: 5.0


Why does PSS2016/2017 randomly add this directly after the Parameter block of a script?

Code: Select all

Import-Module FormatPX
Even if not _FormatPX is installed - it always produces Errors.
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: Why FormatPX

Post by DevinL »

Unfortunately, on my end I'm unable to reproduce this.

Can you specify what steps you take in order to make this appear?
DevinL
SAPIEN Technologies, Inc.
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: Why FormatPX

Post by DevinL »

I spoke with the developers and they suggested to verify the Auto-insert import commands for used modules option isn't abled. It's under File -> Options -> Editor.

If this is enabled, it will automatically add an import statement for a module used by the script even if it's not installed on the machine.
DevinL
SAPIEN Technologies, Inc.
This topic is 7 years and 2 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.