Problem when program is run from EXE vs IDE
Posted: Wed Jun 12, 2019 9:10 am
To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.164
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17134.0
*** Please add details and screenshots as needed below. ***
I have a form in my program that will copy all AD groups with their descriptions to the clipboard.
When I launch this from the IDE, it copies perfectly. Has the group names and group descriptions like this:
When I launch it from the EXE I built, it does this:
IdentityAccessManagement FA-RW \\fileserver\IT FileShare\W...
See the "..." -- It truncates the description.
Why would it do this from the EXE (I freshly built it and ran the new EXE build) but not when I press "Run" in the IDE?
Thanks for your help!
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.164
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17134.0
*** Please add details and screenshots as needed below. ***
- $GROUPS = Get-ADPrincipalGroupMembership $adUser | select name, @{ name = "Desc1"; expression = { (get-adgroup -filter { name -eq $_.name } -Properties description).description } } | sort name | ft -AutoSize
- $copyMe = $GROUPS | FT | Out-String
- Set-Clipboard -Value $copyMe
When I launch this from the IDE, it copies perfectly. Has the group names and group descriptions like this:
- name Desc1
- ---- -----
- Domain Users All domain users
IdentityAccessManagement FA-RW \\fileserver\IT FileShare\W...
See the "..." -- It truncates the description.
Why would it do this from the EXE (I freshly built it and ran the new EXE build) but not when I press "Run" in the IDE?
Thanks for your help!