Christian Ritter
Blogs, Articles, and Posts
Automating Sign-In Analysis with PowerShell and Microsoft Graph
(hcritter.devdojo.com)
In this article, we'll walk through how to explore and analyze Conditional Access data in Microsoft
By: Christian Ritter submitted:Oct 25 2024
In this article, we'll walk through how to explore and analyze Conditional Access data in Microsoft
Entra using the Developer Tools in your browser. The purpose of this walkthrough is to demonstrate how you can identify and extract the necessary Microsoft Graph API calls directly from the Entra portal, providing a foundation for automating this process with PowerShell.
By: Christian Ritter submitted:Oct 25 2024
PowerShell Perfomance-Test: Get the Maximum
(devdojo.com)
Efficiency is key when working with PowerShell, and maximizing performance is a common goal for
By: Christian Ritter submitted:Dec 1 2023
Efficiency is key when working with PowerShell, and maximizing performance is a common goal for
script developers. In this post, we'll explore various techniques for retrieving the maximum number from arrays of different sizes, comparing well-known approaches like Measure-Object, Sort-Object and a more mathematical method.
By: Christian Ritter submitted:Dec 1 2023
PowerShell-Technique: $PSDefaultParameterValues
(hcritter.devdojo.com)
In this post, we'll take a closer look at the benefits of using default parameter values in
By: Christian Ritter submitted:Mar 31 2023
In this post, we'll take a closer look at the benefits of using default parameter values in
PowerShell. As we previously explored in our discussion of splatting, setting default values for parameters in your commandlets or functions can make your scripts more efficient and easier to maintain.
By: Christian Ritter submitted:Mar 31 2023
PowerShell-Technique: Randomizing
(devdojo.com)
PowerShell-Technique: Randomizing
By: Christian Ritter submitted:Apr 7 2023
PowerShell-Technique: Randomizing
By: Christian Ritter submitted:Apr 7 2023
PowerShell-Technique: Trapping
(devdojo.com)
Enhance Your PowerShell Scripting with Trapping
By: Christian Ritter submitted:Mar 31 2023
Enhance Your PowerShell Scripting with Trapping
By: Christian Ritter submitted:Mar 31 2023
PowerShell-Technique: Update-TypeData
(devdojo.com)
Enhancing PowerShell objects with Update-TypeData
By: Christian Ritter submitted:Mar 31 2023
Enhancing PowerShell objects with Update-TypeData
By: Christian Ritter submitted:Mar 31 2023
Simplifying PowerShell Object Validation & Transforming: A JSON-Schema Refactoring Journey
(devdojo.com)
In a recent scripting endeavor, I developed a PowerShell script with an
By: Christian Ritter submitted:Jan 26 2024
In a recent scripting endeavor, I developed a PowerShell script with an
ArgumentTransformationAttribute. The script's purpose was to convert PSCustomObjects or Hashtables into a JSON format tailored for seamless integration with a BatchRequest destined for the Microsoft Graph API.
By: Christian Ritter submitted:Jan 26 2024
Projects, Scripts, and Modules
Get-ConditionalAccessSignIn.ps1
(github.com)
The Get-ConditionalAccessSignIn function retrieves Conditional Access Sign-In logs from the
By: Christian Ritter submitted:Oct 25 2024
The Get-ConditionalAccessSignIn function retrieves Conditional Access Sign-In logs from the
Microsoft Graph API within a specified date range.
By: Christian Ritter submitted:Oct 25 2024
PowerShell-Script Showcase: Get-WifiPassword
(hcritter.devdojo.com)
In this blog post, we will explore my Get-WifiPassword script that retrieves stored Wifi passwords
By: Christian Ritter submitted:May 5 2023
In this blog post, we will explore my Get-WifiPassword script that retrieves stored Wifi passwords
on Windows machines. The script overcomes the issue of localization that arises when parsing the output of the 'netsh.exe' command.
By: Christian Ritter submitted:May 5 2023
PSMSGraphFunctions/Get-MSGraphEnterpriseApplicationPermission.ps1
(github.com)
Export permission scopes for Enterprise Apps in your tenant using oauth2PermissionGrants
By: Christian Ritter submitted:Oct 18 2024
Export permission scopes for Enterprise Apps in your tenant using oauth2PermissionGrants
(represented) and appRoleAssignments (within).
By: Christian Ritter submitted:Oct 18 2024
Start-MultiJob
(github.com)
Just released my latest script: Start-MultiJob! It executes multiple Scriptblocks concurrently,
By: Christian Ritter submitted:Jun 30 2023
Just released my latest script: Start-MultiJob! It executes multiple Scriptblocks concurrently,
effortlessly tracking their outputs while dynamically updating the same line with the latest information stream from each script block.
By: Christian Ritter submitted:Jun 30 2023
Community
Simplifying Creation of Empty PowerShell PSCustomObjects using Custom Functions
(hcritter.devdojo.com)
Creating an empty PSCustomObject in PowerShell is a common task, but the traditional approach can be
By: Christian Ritter submitted:Aug 11 2023
Creating an empty PSCustomObject in PowerShell is a common task, but the traditional approach can be
verbose and repetitive. In this blog post, I'll walk you through a more structured and efficient way to achieve this using functions and property definitions.
By: Christian Ritter submitted:Aug 11 2023