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
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!
For all other areas please use the US contact point.
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.