250 Hello

Random Musings on Exchange and Virtualization

SCOM Slow PowerShell Expansion

SCOM Slow PowerShell Expansion

  • Comments 1
  • Likes

Ran into an issue with SCOM, where the SCOM PowerShell console would freeze for extended periods of time.

 

Solution was found here: Slow tab expansion in Ops Mgr PowerShell V2 console

The fix is to tweak the TabExpansion function in V2 so that it doesn’t try to autocomplete child objects if using the Ops Mgr provider. This can be done via the below script. Paste this into your console session, or better yet add it to your profile, and tab expansion for Ops Mgr cmdlets will work much more quickly

Cheers,

Rhoderick

 

Can You Help Us?  -- Yes !

If you would like to have Microsoft Premier Field Engineering (PFE) visit your company and assist with the topic(s) presented in this blog post, then please contact your Microsoft Premier Technical Account Manager (TAM) for more information on scheduling and our varied offerings!

If you are not currently benefiting from Microsoft Premier support and you’d like more information about Premier, please email the appropriate contact below, and tell them you how you got introduced!

US

Canada

For all other areas please use the US contact point.





Comments
  • Instead of using SCOM powershell console, we can import the snapin into normal console and enjoy the flexibility of tab expansions. I found this way more efficient. See below link for more details.

    techibee.com/.../1197

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
Post Comment Fixer