In This Episode
Tonight on the PowerScripting Podcast, we talk to Trevor Sullivan about working with WMI events in PowerShell
- PowerGUI Pro and PowerGUI 2.3 are out!
- Tampa - Jan 15th - SQL Saturday #62, featuring SQLVariant talking about "SQL Smackdown: SSIS vs. PowerShell", and The Scripting Guy with "Windows PowerShell 2.0 Best Practices for DBA's"
- The PowerGUI Challenge winners have been announcedÂ
- Don Jones is teaching a 5-day "PowerShell Retreat" class in June, 2011
- Sapien has released a new version of iPowerShell
- PowerEvents:Â http://powerevents.codeplex.com/
- Use a PowerShell Module to Work with WMI Permanent Events
- Use the PowerShell WMI Event Module to Quickly Monitor Events
- Sapien WMI Explorer
- WBEMtest:Â http://technet.microsoft.com/en-us/library/cc785775(WS.10).aspx
- <shanehoey> ## so can we set up events on things like usb pen plugged in ?
- <ravikanthc> Can I use ActiveScript consumer to wrap PowerShell in VBScript? Is that impelemented..?
- <ravikanthc> can we reuse filters? i mean, can we use the same filter for multiple bindings?
- <ravikanthc> ## when can we see a functional command-line consumer?
- <ScriptingWife> ## new subject. ASk him about his guest blog for HSg next week. something about dynamic method invocation
- <Poshoholic> ## When are you going to integrate the module with PowerGUI?
- <ravikanthc> ## or may be a nice GUI to list and bind filters/consumers..!
- <SQLvariant> ##When a mount point suddenly disconnects without warning?
This segment brought to you by ServerFault.com
- Ravi explores WMI Timer Events
- Brandon recommends task-based cmdlets over methods
- System Center Tech Blog -Â Get Nested Group Members
- Greg Milner sent us this:Â Create an EverNote export file with PowerShell
- From LucD: Hitchhiker's Guide to Get-EsxTop
- From the PowerCLI Â blog: Managing vSphere Alarms with PowerCLI
- Tome sent us a tip about preventing user profile creation in a remote PSSession
- from PowerShell.com: Use powershell jobs to ping an entire subnet in seconds!
From time to time I pick up new small but powerful features in PowerShell, here is a handy one:
Did you know you can use wildcards in combination with tab-completion? Both with verbs and nouns? A few examples:
rec*-j* <tab> resolves to Receive-Job
set-*quick* <tab> resolves to Set-WSManQuickConfig
*-*computer*<tab> resolves to Add-Computer. Cycle through <tab> several times and you can see all cmdlets with â€œcomputerâ€ in it`s noun.
Handy when you remember just parts of the cmdlet-name, typing a hard-to-spell cmdlet nameâ€¦or even just being lazyÂ Â