Paul Contreras
Blogs, Articles, and Posts
A Best Practice Guide To Creating A PowerShell Module
(thesysadminchannel.com)
Building a Powershell Module might be a daunting task for someone without much PS experience. But
By: Paul Contreras submitted:Jun 16 2022
Building a Powershell Module might be a daunting task for someone without much PS experience. But
what if I told you, creating a module can be as simple as grouping multiple functions together and renaming the extension to psm1. It sounds a lot less complicated when you put it that way.
By: Paul Contreras submitted:Jun 16 2022
A Powershell Template For Creating The Perfect Function
(thesysadminchannel.com)
Anytime I'm writing a new Powershell script I always find my self scratching my head trying to
By: Paul Contreras submitted:Jun 16 2022
Anytime I'm writing a new Powershell script I always find my self scratching my head trying to
recall the exact syntax inside the parameter block. Even though I've created hundreds of scripts in my day, I always use a template because its much easier. Today I'm going to share with the exact Powershell template I use when creating my Powershell Scripts.
By: Paul Contreras submitted:Jun 16 2022
Check If An Email Was Read using Graph API PowerShell SDK
(thesysadminchannel.com)
With the growing number of people migrating from the Azure AD module to Microsoft Graph API, it's
By: Paul Contreras submitted:Jul 28 2022
With the growing number of people migrating from the Azure AD module to Microsoft Graph API, it's
great to see some features finally become available via the command line interface .aka. PowerShell. Today we'll cover step by step on how.
By: Paul Contreras submitted:Jul 28 2022
Find Account That Sent Emails From Shared Mailbox using PowerShell
(thesysadminchannel.com)
In a world where email is one of our main methods of communication for business use, having the
By: Paul Contreras submitted:Sep 15 2023
In a world where email is one of our main methods of communication for business use, having the
ability to send emails as a "generic user" or shared mailbox helps us hide behind a proxy when needed.
By: Paul Contreras submitted:Sep 15 2023
Find Empty Groups in Active Directory using PowerShell
(thesysadminchannel.com)
Whether it's time for spring cleaning or you're just doing some general cleanup, it's important to
By: Paul Contreras submitted:Oct 6 2023
Whether it's time for spring cleaning or you're just doing some general cleanup, it's important to
maintain a proper lifecycle around Active Directory groups. Many organizations love creating groups however, some (most?), don't really like to do cleanup
By: Paul Contreras submitted:Oct 6 2023
Get Application Certificate and Secret Expiration with Graph API
(thesysadminchannel.com)
In the world of Azure cloud automation we always need to ensure that our accounts are able to
By: Paul Contreras submitted:Jan 20 2023
In the world of Azure cloud automation we always need to ensure that our accounts are able to
properly authenticate. Accounts with username and password might have Active Directory alert you when your password expires, however, what can we use...
By: Paul Contreras submitted:Jan 20 2023
Get Azure Conditional Access Policy Changes using PowerShell
(thesysadminchannel.com)
I always find it very helpful to be able to use Powershell to automate whatever task needs
By: Paul Contreras submitted:Jun 16 2022
I always find it very helpful to be able to use Powershell to automate whatever task needs
automating. Knowing how to automate is truly one of the most versatile skills you can have as a Systems Engineer and today I'm going to share a script I wrote to be able to get azure conditional access policy changes using Powershell.
By: Paul Contreras submitted:Jun 16 2022
Get Per-User MFA Status using PowerShell
(thesysadminchannel.com)
There are a ton of scripts out there that show you if the user has MFA enabled by checking their
By: Paul Contreras submitted:Jun 16 2022
There are a ton of scripts out there that show you if the user has MFA enabled by checking their
authentication methods, something very similar to this Get MFA Methods using Graph API script I wrote a while back. However, I haven't really seen a script to show me what their per-user MFA status is.
By: Paul Contreras submitted:Jun 16 2022
Graph API using a Managed Identity in an Automation Runbook
(thesysadminchannel.com)
In a previous post, I laid out detailed steps on how to connect to Microsoft Graph API using
By: Paul Contreras submitted:Jan 6 2023
In a previous post, I laid out detailed steps on how to connect to Microsoft Graph API using
PowerShell. This is using the PowerShell SDK running on a machine that's not in Azure.
By: Paul Contreras submitted:Jan 6 2023
How To Connect To Microsoft Graph API Using PowerShell
(thesysadminchannel.com)
Microsoft has confirmed on multiple occasions that the Azure AD Graph Endpoint is deprecated and
By: Paul Contreras submitted:Jun 16 2022
Microsoft has confirmed on multiple occasions that the Azure AD Graph Endpoint is deprecated and
will fully be decommissioned on June 30, 2022.
By: Paul Contreras submitted:Jun 16 2022
Install Microsoft Graph Module for Azure Automation using PowerShell
(thesysadminchannel.com)
If you're familiar with Azure Automation and Graph API, you may have noticed that it may be a bit
By: Paul Contreras submitted:Jan 6 2023
If you're familiar with Azure Automation and Graph API, you may have noticed that it may be a bit
cumbersome to install the Microsoft.Graph PowerShell module in an Automation account.
By: Paul Contreras submitted:Jan 6 2023
Restart Exchange Services with PowerShell
(thesysadminchannel.com)
If you're hosting Microsoft Exchange server on-premises, you've probably realized that it is pretty
By: Paul Contreras submitted:Jul 1 2022
If you're hosting Microsoft Exchange server on-premises, you've probably realized that it is pretty
critical to ensure those services are up and running. In the event that some services are not running, it's always good to know how to restart Exchange services with Powershell.
By: Paul Contreras submitted:Jul 1 2022
Projects, Scripts, and Modules
Get Microsoft 365 License Usage Count Using PowerShell
(thesysadminchannel.com)
Keeping an eye on the available licenses in your Microsoft tenant is essential to ensuring you and
By: Paul Contreras submitted:Nov 17 2023
Keeping an eye on the available licenses in your Microsoft tenant is essential to ensuring you and
your users have what is needed to keep the business running. Whether you assign licenses directly or you use Group Based Licensing
By: Paul Contreras submitted:Nov 17 2023