PowerShell V3 Console improvement

This may not seem earth shattering, but it’s major news in my world (I’m a 1 finger typist)

In the V3 CTP, you now have the ability to use autocomplete in the console, in the middle of a line without losing the rest of the line.

This allows you to do this:

Get-Mailbox |Select-Object Name, Alias, Office, Database
WARNING: By default, only the first 1000 items are returned. Use the ResultSize parameter to specify the number of
items returned. To return all items, specify “-ResultSize Unlimited”.

Now, a normal typist would probably type in the whole ResultSize parameter, but I’m lazy, so I just go back to the Get-Mailbox and insert a -R<tab> to select from the available “R” parameters.
Of course, I still need to type “Unlimited” after the ResultSize, so perhaps this isn’t the best example Smile

Play with the <tab> within the console, and see what you think.


  1. #1 by Doug Finke on January 7, 2012 - 18:09

    It’s absolutely an excellent new feature.


  2. #2 by Jrich on January 25, 2012 - 05:15

    Have you tried tab with unlimited? I know struct types usually work. Also try typing correctly for 3 days, I bet you pick it up 🙂

    • #3 by Karl Mitschke on January 25, 2012 - 08:28

      I’m not sure what you mean by ‘Have you tried tab with unlimited?”?

      I’ve tried typing correctly for years and years…. 🙂

  3. #4 by Simon Zhitelzeyf on March 20, 2012 - 12:17

    Dear Karl,
    We have truly been enjoying reading blog we found it extremely useful and encouraging, source of inspiration for lot of our powershell projects.
    We having a strange issue with Powershell ISE v 3.0 with following loaded modules:
    Import-Module Activedirectory
    import-Module Microsoft.PowerShell.Security
    add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
    Add-PSSnapin Microsoft.Exchange.Management.Powershell.Support
    Add-PSSnapin Quest.ActiveRoles.ADManagement
    Set-ExecutionPolicy remotesigned
    We can successfully run Exchange Get-cmdlets for example: Get-CASMailbox $user |select OWAEnabled
    But SET commands do not change anything for example: Set-CASMailbox $user -OWAEnabled $false
    Appreciate your time,


    • #5 by Karl Mitschke on March 23, 2012 - 08:17

      Try the set commands with the Verbose switch like Set-CASMailbox $user -OWAEnabled $false -Verbose and see what fails..


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: