PowerShell Weekly for August 9, 2024
PowerShell Weekly for August 9, 2024
Blogs, Articles, and Posts
- PowerShell: When to use Add-Type and New-Object ?
In this blog post, I will discuss when you need to add classes with Add-Type and when you can provide classes with New-Object. I would say, let’s get started. - Managing DHCP Leases and Reservations with PowerShell
In this tutorial, we'll explore how to manage DHCP leases and reservations using PowerShell. Effective lease and reservation management is crucial for maintaining a smooth-running network, preventing IP address conflicts, and ensuring that critical devices always receive the same IP address. - Windows device provisioning with Workspace ONE, part 2: Apps and policies
In the first part, I got to the point where I could successfully get a device into a managed state, but that doesn’t mean the device is actually usable. - PowerShell: A Microsoft 365 Admin Roles Membership Report
Manually reviewing the membership roster for each of the dozens of RBAC roles in a Microsft 365 tenant is quite - Creating a development Windows Sandbox using PowerShell and WinGet
As I mentioned before, I like Windows Sandbox! However, since Windows 11 24H2, Windows Sandbox has been missing two things I often use: Notepad and Windows ISE. In this blog post, I will show you how to start Windows Sandbox and automatically install your preferred editors and tools using WinGet and PowerShell. - Understanding Get-EXORecipient
This guide will provide you with the knowledge and tools you need to effectively manage your Office 365 mailbox using the Get-EXORecipient. Understanding Exchange Recipient Type Details When managing an Exchange environment, understanding the different types of recipients is crucial for effective administration. Exchange Online supports a variety of recipient types, each serving different purposes...
Projects, Scripts, and Modules
- Azure AD Incident Response PowerShell Module
The Azure Active Directory Incident Response PowerShell module provides a number of tools, developed by the Azure Active Directory Product Group in conjunction with the Microsoft Detection and Response Team (DART), to assist in compromise response.
Books, Media, and Learning Resources
- Inside IT Automation l E07
Xavier Clinquart talks about PowerShell, the PoSh community and more. - Build a PowerShell Menu in 5 minutes
In this video, we break down the concept of switch statements and how they can be utilized to create an interactive menu for users. We'll start with the basics of setting up a script, defining functions, and understanding how to handle user inputs in PowerShell.
Community
- Exploring Cybersecurity with PowerShell and John Hammond
In this episode of the PowerShell Podcast, we sit down with renowned security researcher John Hammond. Recorded in person in Utah, we delve into John's unique insights on PowerShell and its role in cybersecurity. John shares his experiences with PowerShell attacks, discussing how it’s used in various malware and the importance of implementing security features like constrained language mode and script block logging. He highlights practical tips for making PowerShell environments more secure and emphasizes the need for continuous learning and experimenting within safe environments. We also explore how to transition into security-focused roles, with John providing valuable advice for those looking to combine their PowerShell skills with a career in cybersecurity.
Fun
- Convert Nokia RTTL to VT256 DEC PS (PlaySound) escape sequences
Today I made another way to use those Windows Terminal PlaySound escape sequences. You can convert Nokia RTTTL ringtones in PowerShell
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.
0
comments