Blogs, Articles, and Posts
- Exchange Online: How to set Junk Settings for Shared Mailboxes
When working with shared mailboxes, there is a problem: the user connected to this mailbox cannot configure the Junk Mail Settings for this shared mailbox in Outlook itself. - Entra ID Improves Registered App Security
The preview app instance property lock feature designed to improve the security of Entra ID registered apps is becoming the default for new apps. In this article, we describe how to update the app instance property lock to reflect the new default setting using cmdlets from the Microsoft Graph PowerShell SDK, including a script you can download and run. - Microsoft Graph API Endpoint Adds Last Successful Sign-In Date Time
Previously, if you wanted to find a user’s last successful sign-in to your Microsoft 365 tenant using the Microsoft Graph REST API, you would have to iterate through Entra ID sign-in logs. With new recent additions to the Microsoft Graph API Beta Endpoint, you can now return the UTC value just by parsing the user details and properties. The Microsoft documentation regarding the signInActivity resource type can be found here. - Automating cleanup Entra Joined AVD hosts
This post is about automating the cleanup for Entra Joined Azure Virtual Desktop (AVD) hosts. - Microsoft Intune PowerShell Additional Requirement Rules
In my last blog post, I showed you how to use Detection scripts in Intune. In this blog post, I will show you how the additional requirement rules work and how you can use PowerShell for those. - Using GitHub Copilot to Upgrade PowerShell Scripts to the Microsoft Graph PowerShell SDK
In this blog, Andy Scheider deep dives into GitHub Copilot and how it can be used to upgrade PowerShell Scripts to the Microsoft Graph PowerShell SDK. - Send Telegram Messages from a PowerShell Script
You can use your Telegram messenger as a notification tool to get instant reports on various infrastructure events, script execution results, or scheduler tasks. This article shows you how to… - Powershell Global Variable: Mastering Scope and Usage with Examples
PowerShell global variables are an essential aspect of scripting in Windows PowerShell. They offer a way to store and manipulate data across functions, scripts, and cmdlets. In this tutorial, I will explain to you how to define, set, and use global variable in PowerShell. - Recurring PowerShell Update Issue Easily Fixed - Ed Tittel
Deja vu! With the introduction of version 7.4.0, MS once again changed the PowerShell (PS) installer. That means Winget won’t update PS directly; one must visit the GitHub PS page and grab a new installer from there. Afterward, as shown in the lead-in graphic, old(er) version(s) of PS still show up when WinGet upgrade is … Continue reading Recurring PowerShell Update Issue Easily Fixed →
Projects, Scripts, and Modules
- PSEtw
PowerShell module for capturing ETW events in realtime. Currently this supports Manifest and Trace Logging ETW providers - Credential Harvesting with PowerShell and SpecterInsight
Credential harvesting, also known as credential theft or credential stealing, refers to the collection sensitive authentication information from individuals or systems. The goal of credential harvesting is to obtain usernames, passwords, or other authentication tokens that allow access to protected resources. This post will cover a variety of different credential harvesting techniques, how to leverage those techniques using SpecterInsight, and how to view the data in Kibana.
Books, Media, and Learning Resources
- Mastering Microsoft 365 PowerShell Scripting
A common question at conferences is how to start with Microsoft 365 PowerShell scripting. We all have our own approach. This article lays out a simple three-step method to write scripts to interact with Microsoft 365 objects. - Intro to REST API calls with Powershell
Making a REST API call with no Auth Token - GitHub - wgross/ps-module-to-module-call: Example for showing propagation of Debug/Verbose between PS Script modules
Example for showing propagation of Debug/Verbose between PS Script modules - GitHub - wgross/ps-module-to-module-call: Example for showing propagation of Debug/Verbose between PS Script modules
Community
- Code in Action: Embracing Hands-On Learning with Jeff Hicks
In this episode of the PowerShell Podcast, guest Jeff Hicks leads a dynamic discussion on the power of hands-on learning with PowerShell and the numerous benefits of learning by doing. Jeff challenges the community with a scripting challenge, encouraging active participation. The episode also features a showcase of some outstanding community blogs, including topics like PowerShell performance testing, web scraping, and module development. Jeff shares insights into his own remarkable modules, and the hosts delve into noteworthy community projects. Don't miss Jeff's scripting challenge and be sure to check out the community blogs and links discussed in this episode!
Fun
- Good practice questions for Powershell?
I have few as a suggestions here, but i needed better suggestions from this forum as always, please help..
Events
- PowerShell + DevOps Global Summit
April 8-11, 2024 - Bellevue, WA
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.