Getting Started with PowerShell 2 – Part 2
This continues a short series of posts about getting started with PowerShell … with a few tips about things you can do to keep your PowerShell profile safe and organized. Your “profile” is the script that is automatically loaded when you start up PowerShell. Really, I should say that your profile is the set of [...]
Getting Started with PowerShell 2 – Part 1
I’ve decided to spend part of this weekend organizing my sock drawer PowerShell profile, and since there doesn’t seem to be a lot of best practices or prescriptive advice on setting up your PowerShell profile, I thought I’d write about how I do it, to help any new users out there get started. If you [...]
PowerShell Authenticode Signatures and trust…
The cool thing about the way authenticode signatures are implemented is that even if a script is signed with a self-issued certificate, you can still tell if the script has been tampered with… Check this out: [1]:ls SCRIPTS:\UnknownCert\Sample*.ps1,SCRIPTS:\TrustedCert\Sample*.ps1 | gas Directory: SCRIPTS:\UnknownCert\ SignerCertificate Status Path ————————- ——— —— 0DA3A2A2189CD74AE371E6C57504FEB9A59BB22E UnknownError Sample.ps1 0DA3A2A2189CD74AE371E6C57504FEB9A59BB22E HashMismatch SampleBAD.ps1 Directory: [...]
SysAdmins, scripters, developers and memes
So, I’ve been called out on this latest meme posting by /\/\o\/\/ and although I usually just ignore these things, As with any curious developer, I had to trace this thing back to it’s root cause … it turns out this started as a Software Development thing, and it was altered into a sort of [...]
Code Signing with OpenSSL and PowerShell
One of the major security features of PowerShell is the support for code signing of scripts, so that you can set an execution policy that requires scripts to be signed before they can be run. Of course, it goes a bit further than that. When a script has been signed by a certificate with a [...]
RSS Feed for PowerShell Script Repository
There are two requests that I get with overwhelming regularity for the PowerShell script repository: first, that I would add some sort of “browsing” functionality, and second, that it should have an RSS feed. Well, browsing may have to wait until a future iteration of the repository, but feeds are easy, because they’re basically just [...]