Many of my scripts are written for other people to do Active Directory reporting. One of my goals in supporting them is to give them as much flexibility in the data returned with the minimum amount of custom coding required. Convert-ADValues (which I will update soon), outputs friendly dates and expanded information for certificates,…
Tag: Advanced Functions
A Dot Source Reminder for Advanced Functions
One of the problems with writing advanced functions is that new PowerShell users think that they don’t do anything. Frankly, I couldn’t figure out a way to get a notification to work, so I reached out to the sponsor for the Charlotte PowerShell User Group, Microsoft PFE Brian Wilhite. Brian sent me some code which…
A GUI to Select Object Properties in Pipeline
My first attempt at a GUI to select objects properties demonstrated that I didn’t have a firm grasp on how to pipeline an object through an advanced function. The problem I had at the time was not understanding how to have the form only appear once. Why is that difficult? Because the Begin Block won’t…