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
Can You Help Us?
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 Microsoft Premier, please email firstname.lastname@example.org and tell them you how you got introduced!
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.