Product, version and build: PowerShell Studio 2016 5.2.128
(*** Please do not write "latest" as a version, specify a version number ***)
32 or 64 bit version of product: 64
Operating system: Win 10
32 or 64 bit OS: 64
PowerShell Version: 5.1.14393.206
I have "Alias Tab Expansion" enabled and would like to keep it enabled.
The Modulus % operator is sometimes (after an unspecific number of saves)
if (($NumProfileConnection) % 2 -eq 0) { $NetSuffix = 2 } else { $NetSuffix = 1 }
expanded to
if (($NumProfileConnection) Foreach-Object 2 -eq 0) { $NetSuffix = 2 } else { $NetSuffix = 1 }
Modulus operator expanded to Foreach-Object
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.
Re: Modulus operator expanded to Foreach-Object
Thank you for reporting this issue. It will be resolved in the next service release.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Modulus operator expanded to Foreach-Object
Hey CermakPOI,
I'd just like to let you know we've since released the latest version with the fix for this bug and if you have any further issues to please feel free to post again.
I'd just like to let you know we've since released the latest version with the fix for this bug and if you have any further issues to please feel free to post again.
DevinL
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.