One-Liner: Get Signing Algorithm for Personal Store Certificates

A digital signature is created when a file is run through a hashing algorithm and the resultant hash (digest / fingerprint) is then signed by a private key. If an application wants to check the integrity of a file, it can perform the following steps: Decrypt the signed hash with the corresponding public key Put…

0

AD Groups with Low Member Count

When I was a Systems Administrator, it was often tough to find time to be proactive and housekeep. However, this is a key part of the role. What I used to do is dedicate time each week to expanding my arsenal of scripts. These little beauties performed the many mundane, but necessary, Active Directory housekeeping…

0

More on Get-Acl with Active Directory

In June I posted about searching Active Directory for principals that have the “Write Members” permission on a Distribution List. I had a follow-up question, from an internal source, about deciphering each Access Control Entry (ACE) returned by Get-Acl against the Active Directory PS drive. I thought I’d convey the same information to the outside…

0

PowerShell in the Azure Portal… Oh, Happy Day!

I was delivering some Azure training recently. I went to the shell icon in the Azure portal (see here for more information) and I started to explain how disappointed I still am with the PowerShell functionality being marked as ‘coming soon’… then, to maximum excitement and amazement, PowerShell was blissfully available!     How many…

0

One-Liner: Query the AD Schema for User Object Attributes

I’ve lost count of just how many blog posts have their origin in a customer question. Here’s another:   “How do you use PowerShell to get a list of what attributes *could* be populated on an AD user object?”   A magnificent question!   The customer was unsure as to why some properties would appear…

0

PowerShell in the Azure Portal… Almost!

  A little while back I noticed a new (but familiar) icon in the Azure portal (see below, not above)…   I was gutted to see the following for PowerShell… coming soon!   Good things come to those who wait, but if you can’t wait you can sign up to a Private Preview by following…

0

Intelllisense in the Console

You’re running a cmdlet in the PowerShell.exe host console. You want to see what parameters are available to you. You can tab through them, after inputting a hyphen, until you get the one you want… but, how do you display them all and then chose the one you want, avoiding the help file?    Enter …

2

Scripting Tips & Tricks: Dynamic Parameters

Imagine you want a secondary parameter (or set of parameters) to ONLY appear if a particular value has been supplied to an initial parameter… Eh? Ok, so you have Parameter A. You supply Value A to Parameter A and you now, and only now, have access to Parameter B. Furthermore, if you were to supply…

0

AD Cmdlet -Filter Faffing

I’m aware that I write for an international audience and I try to use international English in my posts.   When I use traditional or colloquial English I usually have a good reason for doing so. Today’s reason is because I like the alliteration that ‘Filter Faffing’ provides.   faffing – the act of making…

6

Scripting Tips & Tricks: Dynamic RegEx Queries

Another week of RegEx! I just can’t get enough of it at the moment. A bit like sleep. I said sleep, not sheep! Man, I do like a good sleep. I’m writing this at an airport. It’s way past my bedtime. Anyway… what do I have for you this week? Well, I feel like a…

0