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…)
Tag: PowerShell
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…)
Runspaces made simple
PowerShell is great at simplifying and automating your daily tasks. And it’s only natural that after you have automated or scripted most of your simple tasks, you start creating bigger scripts. If you work in a large environment, running for instance a script that uses WMI to query computers for data can take a long time to complete. The solution? Multi-threading of course. One way of doing this is using the built-in ‘Jobs’ cmdlets, but what this post is about is Runspaces.