Product, version and build: PowerShell Studio 2017 5.4.136
32 or 64 bit version of product: 64bit
Operating system: Windows 10
32 or 64 bit OS: 64bit
PowerShell Version:
Name Value
---- -----
PSVersion 5.1.14393.1358
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.1358
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Tab expansion of sub-variables works in console but not in the Script Editor. Easiest example is using a ForEach Loop. This works fine in PowerShell_ISE.
Example:
$users = get-aduser -Filter * -SearchBase "OU=ENDUSERS,DC=DOMAIN,DC=LOCAL" -SearchScope 2
foreach ($user in $users)
{
}
I can expand $user and get both tab completion (console,ISE) or drop down list (ISE Only) but using PSS I do not get tab completion.
PSS 2017 - Tab Completion of Sub Variables
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.
- joshua.staley
- Posts: 19
- Last visit: Thu Dec 05, 2019 1:46 pm
Re: PSS 2017 - Tab Completion of Sub Variables
The PowerShell session is running in a separate process that is not preserved. This is why it isn't able to provide the properties.
On our TODO list is the option to preserve this information to provide PrimalSense, but I can't provide any estimates as to when this will be implemented.
On our TODO list is the option to preserve this information to provide PrimalSense, but I can't provide any estimates as to when this will be implemented.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.