- name Desc1
- ---- -----
- Domain Users All domain users
*** 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:
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!