Enabling Sentry Mode Recording for Tesla with PowerShell

Sentry Mode is a great feature available with Tesla vehicles that are equipped with cameras that can automatically record data based on detection of events.  This has been beneficial for many owners that have had their cars vandalized.  We are going to enable this on my Tesla Model 3 and use a little bit of … Continue reading Enabling Sentry Mode Recording for Tesla with PowerShell

Advertisement

Pester for Infrastructure Validation

I have been using Pester and integrated it with my dxExchange.WebServices module following HDD/TDD practices. I have wanted to start incorporating Pester testing into cloud configuration validation and management for some time, but never really got around to it. A couple of weeks ago, I participated in a Network DevOps course facilitated by Nick Russo … Continue reading Pester for Infrastructure Validation

Updated dxExchange.WebServices

I have completed refactoring the dxExchange.WebServices module. It is at greater than feature parity to the previous release. Notable changes: Complete help Custom output formatting Pester tests! Deployed to the PowerShell Gallery!!! With that said, assuming a relatively modern version of PowerShell (4.x+): Install-Module dxExchange.WebServices Get-Command -Module dxExchange.WebServices The repository is on GitHub dxExchange.WebServices.

Help Driven Development with dxExchange.WebServices

I wrote a post about Help Driven Development (HDD) some time back. To summarize, HDD builds on top of what I have since come to understand as Behavioral Driven Development (BDD) and Test Drive Development (TDD). The aim of the paradigms are to improve code and invert the normal process, prioritizing the tasks that often … Continue reading Help Driven Development with dxExchange.WebServices

Focusing on Help Driven Development

I often times write up a never ending While loop in PowerShell to run something every X minutes.  Usually, I do this if I have manually deleted a user from Azure AD and I am waiting for it to synchronize back up: https://gist.github.com/dustindortch/3c2b865f5cbf49248b09e8836d564ec1 When I am done, I just [Ctrl]+[Break], or maybe I insert a … Continue reading Focusing on Help Driven Development

PowerShell Advanced Functions and Verbose Mode

Advanced Functions have been around for quite a while now and they still aren’t being used ubiquitously. It isn’t just a more complicated function, it is a defined thing. When you use out of the box cmdlets, they come with many common parameters, like Verbose. This is one of the things that Advanced Functions provide, … Continue reading PowerShell Advanced Functions and Verbose Mode

Microsoft Teams PowerShell Module and Insight into the Disappointment

I was just listening to episode 10 of the Office 365 Exposed podcast with Tony Redmond and Paul Robichaux. Tony was reviewing some of the conversation in his somewhat recent blog post, Why the PowerShell Module for Teams is Critically Flawed. We have seen some of the the issues outlined before, particularly with the means … Continue reading Microsoft Teams PowerShell Module and Insight into the Disappointment

Using the Event Log with PowerShell

PowerShell can be used in a diverse set of circumstances. Sometimes PowerShell is used to establish an ongoing process, such as managing users. In such a circumstance, logging becomes rather crucial, both in terms of identifying errors but also in terms of capturing what was successful to provide reports. The Windows Event Log is a … Continue reading Using the Event Log with PowerShell

xAzureAD.DirectorySetting v0.2 Released

Last week, released xAzureAD.DirectorySetting without a lot of thought.  Over the weekend, I was thinking that it would be great to make it a bit more extensible and work with all of the various types of templates available.  So, I now have the latest release, xAzureAD.DirectorySetting v0.2. Changes First, I changed the name of the … Continue reading xAzureAD.DirectorySetting v0.2 Released