Create an Azure Arc Service Principal with longer expiration date using PowerShell
By: Thomas Maurer
When you are onboarding at scale of Azure Arc enabled servers or Azure Arc enabled Kubernetes clusters, you want to use service principals for automated authentication during the onboarding process for Azure Arc resources. Microsoft provides you with an option in the Azure portal to create that service principal. When you use this, you can set .
Link
By: Thomas Maurer
When you are onboarding at scale of Azure Arc enabled servers or Azure Arc enabled Kubernetes clusters, you want to use service principals for automated authentication during the onboarding process for Azure Arc resources. Microsoft provides you with an option in the Azure portal to create that service principal. When you use this, you can set .
Link
Thomas Maurer
Create an Azure Arc Service Principal with longer expiration date using PowerShell
When you are onboarding at scale of Azure Arc enabled servers or Azure Arc enabled Kubernetes clusters, you want to use service principals for automated authentication during the onboarding process for Azure Arc resources. Microsoft provides you with an option…
PSMDE 0.5.7
By: Jan-Henrik Damaschke
Provides a PowerShell functions to interact with Microsoft Defender for Endpoint (MDE)
Link
By: Jan-Henrik Damaschke
Provides a PowerShell functions to interact with Microsoft Defender for Endpoint (MDE)
Link
Powershellgallery
PSMDE 0.5.7
Provides a PowerShell functions to interact with Microsoft Defender for Endpoint (MDE)
Get-MsIdUnredeemedInvitedUser
By: Jef Kazimer
Are you monitoring your Azure AD tenant for external users the business invites but are not actually redeemed? Here is a quick example PowerShell cmdlet using MS Graph API to enumerate them by creation date and either delete or disable them as you wish
Link
By: Jef Kazimer
Are you monitoring your Azure AD tenant for external users the business invites but are not actually redeemed? Here is a quick example PowerShell cmdlet using MS Graph API to enumerate them by creation date and either delete or disable them as you wish
Link
GitHub
Get MsIdUnredeemedInvitedUser
Contribute to AzureAD/MSIdentityTools development by creating an account on GitHub.
Today's cmdlet: Get-Process
Gets the processes that are running on the local computer.
Example's Remarks:
• This command gets all available data about the Winword and Explorer processes on the computer.
• It uses the Name parameter to specify the processes, but it omits the optional parameter name.
• The pipeline operator (`|`) passes the data to the `Format-List` cmdlet, which displays all available properties (`*`) of the Winword and Explorer process objects.
#tutorial
Gets the processes that are running on the local computer.
Example's Remarks:
• This command gets all available data about the Winword and Explorer processes on the computer.
• It uses the Name parameter to specify the processes, but it omits the optional parameter name.
• The pipeline operator (`|`) passes the data to the `Format-List` cmdlet, which displays all available properties (`*`) of the Winword and Explorer process objects.
#tutorial
Exploring AutomatedLab and DSC with Raimund Andrée
By: The Powershell Podcast
In this episode, we revisit AutomatedLab with the other primary maintainer, Raimund Andrée. Raimund teaches us about DSC and shares details of the DSCWorkshop project, which is a great way to go about learning more about DSC in a hands-on manner. We also learned about Cattle vs. Pets and how that applies to your servers. You can hear all of this, plus more in this companion episode to our first AutomatedLab episode.
Link
By: The Powershell Podcast
In this episode, we revisit AutomatedLab with the other primary maintainer, Raimund Andrée. Raimund teaches us about DSC and shares details of the DSCWorkshop project, which is a great way to go about learning more about DSC in a hands-on manner. We also learned about Cattle vs. Pets and how that applies to your servers. You can hear all of this, plus more in this companion episode to our first AutomatedLab episode.
Link
Podbean
Exploring AutomatedLab and DSC with Raimund Andrée | The PowerShell Podcast
In this episode, we revisit AutomatedLab with the other primary maintainer, Raimund Andrée. Raimund teaches us about DSC and shares details of the DSCWorkshop project, which is a great way to go about learning more about DSC in a hands-on manner. We also…
Archive Module 2.0 Preview 2
By: Sydney Smith
We are excited to announce that the second preview of a rewrite of Microsoft.PowerShell.Archive, the module that lets you create and extract archives, is now available on the PowerShell Gallery.
Link
By: Sydney Smith
We are excited to announce that the second preview of a rewrite of Microsoft.PowerShell.Archive, the module that lets you create and extract archives, is now available on the PowerShell Gallery.
Link
PowerShell Team
Archive Module 2.0 Preview 2
We are excited to announce that the second preview of a rewrite of Microsoft.PowerShell.Archive, the module that lets you create and extract archives, is now available on the PowerShell Gallery. This release is the second preview release of a rewrite of the…
PowerShell Best Practices for Expert Level
By: u/bwljohannes
A great Reddit thread, worth reading through
Link
By: u/bwljohannes
A great Reddit thread, worth reading through
Link
reddit
PowerShell Best Practices for Expert Level
So imo PowerShell is not for creating the most efficient tools, but for providing an easy2use solution to automate stuff. That’s why I love this...
Migrate Your Script from AzureAD or MSOnline to Graph API
By: Faris Malaeb
No one can deny the superior help of AzureAD and MSOL PowerShell modules and how these two made cloud management easy and simple. But the end for these two modules is nearby, and the direction is the Graph API. So why not start now and learn what you need to know to migrate your PowerShell [.]
Link
By: Faris Malaeb
No one can deny the superior help of AzureAD and MSOL PowerShell modules and how these two made cloud management easy and simple. But the end for these two modules is nearby, and the direction is the Graph API. So why not start now and learn what you need to know to migrate your PowerShell [.]
Link
Faris Malaeb
Migrate Your Script from AzureAD or MSOnline to Graph API
This tutorial walks you through the steps required to update your PowerShell noscript from using AzureAD and MSOL to using Graph API SDK Module.
👍2
Today's cmdlet: ConvertFrom-Json
Converts a JSON-formatted string to a custom object or a hash table.
Example's Remarks:
• The JSON string contains an array with a single element.
• Without the switch, converting the JSON to a PSObject and then converting it back with the `ConvertTo-Json` command results in a single integer.
#tutorial
Converts a JSON-formatted string to a custom object or a hash table.
Example's Remarks:
• The JSON string contains an array with a single element.
• Without the switch, converting the JSON to a PSObject and then converting it back with the `ConvertTo-Json` command results in a single integer.
#tutorial
The many flavours of WMI management
By: Francisco Nabas
Working with the different ways of managing WMI.
Link
By: Francisco Nabas
Working with the different ways of managing WMI.
Link
PowerShell Community
The many flavours of WMI management
Working with the different ways of managing WMI.
PowerShell tips and tricks
By: Harm Veenstra
Over the years I learned a lot of PowerShell tricks but also stopped using a few because they are out-dated or not that smart to use them anymore performance wise. In this blogpost I will share a few of them 🙂 (These are just a few, will write a new blogpost with others in the future)
Link
By: Harm Veenstra
Over the years I learned a lot of PowerShell tricks but also stopped using a few because they are out-dated or not that smart to use them anymore performance wise. In this blogpost I will share a few of them 🙂 (These are just a few, will write a new blogpost with others in the future)
Link
PowerShell is fun :)
PowerShell is fun :) PowerShell tips and tricks
Over the years I learned a lot of PowerShell tricks but also stopped using a few because they are outdated or not that smart to use them any more performance-wise. In this blog post I will share a …
👍2
Challenge to shorten this code as much as possible using wildcard/regex/code golfing techniques [PLATINUM AWARD CHALLENGE]
By: u/jakobyscream
Congrats and thank you [**me_again**](https://www.reddit.com/user/me_again/) **I**
Link
By: u/jakobyscream
Congrats and thank you [**me_again**](https://www.reddit.com/user/me_again/) **I**
Link
Reddit
Check out me_again’s Reddit profile
Explore me_again’s posts and comments on Reddit
PowerShell Script to Simplify Send-MgUserMail
By: Faris Malaeb
Okay, Microsoft Graph API is cool, but sometimes it's boring to deal with all these hashtables and arrays. The Send-MgUserMail is a great graph cmdlet to send Emails using the Graph API endpoint, this post is fully explained in the Send-MgUserMail BodyParameter Explained. But going through these hashtables is a challenge, and its more complicated.
Link
By: Faris Malaeb
Okay, Microsoft Graph API is cool, but sometimes it's boring to deal with all these hashtables and arrays. The Send-MgUserMail is a great graph cmdlet to send Emails using the Graph API endpoint, this post is fully explained in the Send-MgUserMail BodyParameter Explained. But going through these hashtables is a challenge, and its more complicated.
Link
Faris Malaeb
PowerShell Script to Simplify Send-MgUserMail
PowerShell Script that simplify the send email Graph API mail send to make it similar to Send-MailMessage, also you can get the JSON format
Shy Bairns Get Nowt with Brett Miller
By: The Powershell Podcast
In this episode, we discuss Brett's unusual path to IT. He discusses how his contributions to the community have changed over the years. We discuss the similarities in problem-solving between daily tasks and coding. Jordan learns that listing yak shaving in Twitter bios is not a secret language between the PowerShell community but is a common expression. Last, we discussed his trip to South Hampton to attend a PowerShell user group, where he was able to catch up with several people from the PowerShell community.
Link
By: The Powershell Podcast
In this episode, we discuss Brett's unusual path to IT. He discusses how his contributions to the community have changed over the years. We discuss the similarities in problem-solving between daily tasks and coding. Jordan learns that listing yak shaving in Twitter bios is not a secret language between the PowerShell community but is a common expression. Last, we discussed his trip to South Hampton to attend a PowerShell user group, where he was able to catch up with several people from the PowerShell community.
Link
Podbean
Shy Bairns Get Nowt with Brett Miller | The PowerShell Podcast
In this episode, we discuss Brett’s unusual path to IT. He discusses how his contributions to the community have changed over the years. We discuss the similarities in problem-solving between daily tasks and coding. Jordan learns that listing yak shaving…
Today's cmdlet: Stop-Computer
Stops (shuts down) local and remote computers.
Example's Remarks:
• `Get-Content` uses the Path parameter to get a file in the current directory with the list of domain computers.
• The objects are stored in the `$s` variable.
#tutorial
Stops (shuts down) local and remote computers.
Example's Remarks:
• `Get-Content` uses the Path parameter to get a file in the current directory with the list of domain computers.
• The objects are stored in the `$s` variable.
#tutorial
This is why you don’t store credentials in your noscripts: Uber Hack
By: u/Trakeen
Great discussion on a great topic in this thread.
Link
By: u/Trakeen
Great discussion on a great topic in this thread.
Link
reddit
This is why you don't store credentials in your noscripts: Uber Hack
[https://arstechnica.com/information-technology/2022/09/uber-was-hacked-to-its-core-purportedly-by-an-18-year-old-here-are-the-basics/?comments=1](...
CISO Wants To Block PowerShell But Open to Ideas
By: u/CuriousJazz7th
Yes. you read it right. Just for starters, I have read this:
Link
By: u/CuriousJazz7th
Yes. you read it right. Just for starters, I have read this:
Link
reddit
CISO Wants To Block PowerShell But Open to Ideas
Yes… you read it right. Just for starters, I have read this:...
How to Report High-Priority Azure AD App Permissions That Hackers Might Exploit
By: Tony Redmond
Microsoft 365 tenants usually include many Azure AD apps. These apps hold permissions, including permissions that hackers like to exploit. This article explains how to use PowerShell to detect apps with high-priority permissions and report them to administrators for review.
Link
By: Tony Redmond
Microsoft 365 tenants usually include many Azure AD apps. These apps hold permissions, including permissions that hackers like to exploit. This article explains how to use PowerShell to detect apps with high-priority permissions and report them to administrators for review.
Link
Practical 365
How to Report High-Priority Azure AD App Permissions That Hackers Might Exploit
Microsoft 365 tenants usually include many Azure AD apps. These apps hold permissions, including permissions that hackers like to exploit.
Today's cmdlet: Remove-Item
Deletes the specified items.
Example's Remarks:
• It uses the wildcard character (`*`) to specify the contents of the current folder.
• It uses the Include and Exclude parameters to specify the files to delete.
#tutorial
Deletes the specified items.
Example's Remarks:
• It uses the wildcard character (`*`) to specify the contents of the current folder.
• It uses the Include and Exclude parameters to specify the files to delete.
#tutorial
Understanding PowerShell Objects
By: Jeff Hicks
One of the features that both makes PowerShell so easy to use yet sometimes difficult to learn is its focus on objects. I have taught PowerShell objects to many people over the last 10 years and this is not as difficult as people make it out to be.
Link
By: Jeff Hicks
One of the features that both makes PowerShell so easy to use yet sometimes difficult to learn is its focus on objects. I have taught PowerShell objects to many people over the last 10 years and this is not as difficult as people make it out to be.
Link
Petri
Understanding PowerShell Objects | Petri IT Knowledgebase
I have taught PowerShell objects to many people over the last 10 years and it is not as difficult as people make it out to be. In this article, I will take you through the basics of working with objects. Plus, real-world examples of how to simplify complex…
what are you guys using for emails?
By: u/x180mystery
Hey everybody, Ive been using send-mailmessage for years and just realized Microsoft docs don't recommend it anymore. What are your guys thoughts on this?
Link
By: u/x180mystery
Hey everybody, Ive been using send-mailmessage for years and just realized Microsoft docs don't recommend it anymore. What are your guys thoughts on this?
Link
reddit
what are you guys using for emails?
Hey everybody, Ive been using send-mailmessage for years and just realized Microsoft docs don't recommend it anymore. What are your guys thoughts...