If you work in an environment with HP servers, this function will help you get hardware information from the HP Insight Management WBEM providers if you have them installed. It uses CIM to query several HP specific classes in the root\hpq namespace. The following information will be returned by the function: (more…)
My ISESteroids Theme
In the last update of ISESteroids, theming support was added, and it’s now really easy to customize ISE to your liking. I thought I’d share my custom ISESteroids theme with you. It’s not a lot different than the default ISE colour scheme, but I think it’s easier on the eyes. (more…)
Get-PhysicalMemory
This is another old WMI function I have rewritten to use CIM instead. This one queries computers for memory information. (more…)
Get-Cpu
Some days ago I wrote about taking the leap and start using CIM instead of the good, old Get-WmiObject. I wrote the CIM function template as a result of some WMI functions that I decided to rewrite. Today I give you the first of them; Get-Cpu. (more…)
CIM – Taking the leap
If you use PowerShell regularly, chances are that you have used WMI. Microsoft introduced a new set of cmdlets in PowerShell version 3, the CIM cmdlets, which is meant as the new and improved way of interacting with WMI/CIM. (more…)
Quick tip: Integer parameter validation
Validating your parameters are important. This quick tip is about integer parameters. (more…)
Quick tip: Get all About help topics in PowerShell
Get-Help is arguably the most useful cmdlet in PowerShell, and will give you help and examples for all commands and functions. But did you know that there are more help topics available? (more…)
PowerShell remoting to Workgroup machines
In setting up a small virtual lab at home, I had a bit of a struggle getting PowerShell remoting to work since both machines (one server and one client) were members of Workgroup and not any domain. After some research I found out that setting it up wasn’t hard at all, but I decided to document it to next time I might need it. (more…)
Quick tip: Accessing the Control Panel from PowerShell
I haven’t seen many people use this, but it’s quite simple to access items in the Control Panel directly from PowerShell, using the Get-ControlPanelItem and Show-ControlPanelItem cmdlets.
(more…)
Search-Spotify
Have you ever wanted to search Spotify from the PowerShell console? No? Want to try it anyway? I’ll show you how…
(more…)