PSS 2017 - Tab Completion of Sub Variables
Posted: Wed Jul 05, 2017 8:54 am
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.
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.