Quantcast
Channel: PowerShell Archives • The Lonely Administrator
Browsing all 261 articles
Browse latest View live

PowerShell Deep Dives Report

So I have the royalty statement for the PowerShell Deep Dives book for the second quarter of 2015. For those of you who own a copy, thank you. For those of you who aren’t aware, even though I have a...

View Article


What Are You?

Here’s a quick way to tell whether a given machine is real or not: check the Win32_Baseboard class. You can use either Get-WmiObject or Get-CimInstance. Notice the results from a few physical machines....

View Article


PowerShell Friday Fun: Capture the Command

This week’s Friday Fun actually has a purpose, at least for me. But I always hope you’ll pick up a tip or two that you can use in your own PowerShell work. Because I write a lot about PowerShell, I am...

View Article

The PowerShell Night Shift

A few days ago I got a question on Twitter on how to push a long running command to the background but would also survive a user logoff. This is a pretty standard practice in the Linux world. In...

View Article

Historically Speaking

So I’ve recently had a need to begin using Slack. I started out using a web browser, but since there is a Windows client I decided to give it a go. This article isn’t about Slack as much as what I was...

View Article


Friday Fun: Holiday Shopping with PowerShell

Once again, the holiday shopping season is upon us. But perhaps PowerShell can make it a little easier or at least a bit more fun. I’m sure many of you have shopped at NewEgg.com. Perhaps you plan to...

View Article

Prompting for the Holidays

This should wait for a Friday Fun post but since it is December 1st I decided not to wait. It is that time of year again and my PowerShell prompt is colorful and sparkly. My holiday themed PowerShell...

View Article

Friday Fun Learning from Spam

Today’s article is definitely on the amusing side, although hopefully it will make for an interesting learning opportunity. Earlier this week I was clearing out spam on my blog and found a comment that...

View Article


Adding Some Power to Hyper-V VM Notes

I use they Hyper-V virtual machine note to store system information. Here's how I get it and set with PowerShell.

View Article


Computer Certificate tools

In my Pluralsight course on Advanced DSC I used a few functions I wrote to make it easier to work with computer certificates. If you need to encrypt things like passwords in a DSC configuration,  you...

View Article

A Better PowerShell More

In PowerShell, when I have a lot of output, I can use the legacy more.com command to page the results to the screen. [crayon-567b5f849c4fc755670624/] There’s not anything inherently wrong with this...

View Article

A Festive Christmas Message

The year is winding down and it is getting harder and harder to remain productive.  So I’m trying to combine having some fun while still trying to help you learn PowerShell. I wrote a simple PowerShell...

View Article

A PowerShell New Year

First off, let me thank all of you for your support and interest in my work this past year. Without it I’d be another old man sitting in his bathrobe talking to himself. I hope I can keep your interest...

View Article


Updating Open Live Writer Auto Links with PowerShell

I’m sure it comes as no surprise to you that I do a fair bit of blogging and writing. This means I am always on the look out for tools and tricks to make the process easier. Recently Scott Hanselmen...

View Article

This Year is for You

If you’ve been following my work for any length of time, you probably have a pretty good idea of what kind of guy I am, the things I am interested in and what matters to me. I’m assuming you’ve seen me...

View Article


Testing PowerShell HashTables

So I’ve been watching the PowerShell Toolmaking Fundamentals course on Pluralsight authored by Adam Bertram.  You may be surprised that I watch other PowerShell related courses, but I always pick up...

View Article

Friday Fun: Number Crunching

Earlier this week I was looking at the GoFundMe website in the midst of debating a new project. One of the considerations I have for sites like this is the expense involved. Certainly I don’t expect...

View Article


Friday Fun: A PowerShell Nap

I’m hoping that I’m not the only one who feels their butt dragging by mid to late afternoon. Let’s say that’s because we’ve been thundering through the day and by 3:00 we’re a bit out of gas. Yeah,...

View Article

Friday Fun: Improved PowerShell Napping

So I had some fun with my post last week on taking a nap with PowerShell. I got some great feedback on Twitter and a new comments on the blog. My initial effort was a relatively simple PowerShell...

View Article

Getting Local User Accounts the PowerShell Way

Warning: preg_replace(): Unknown modifier 't' in /home1/jhicks/public_html/blog/wp-content/plugins/jetpack/class.photon.php on line 345 Warning: preg_replace(): Unknown modifier 't' in...

View Article
Browsing all 261 articles
Browse latest View live