this post was submitted on 15 Dec 2023
6 points (100.0% liked)

Powershell

1025 readers
1 users here now

PowerShell (POSH) is a a task automation command-line shell and scripting language created by Microsoft. It became part of the FOSS community in 2016 and is now available across Windows, Linux, and macOS

Resources:


Rules:

Self-promotion rules:


founded 1 year ago
MODERATORS
 

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

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

Events

Check out psweekly.dowst.dev for all past editions as well as a searchable archive.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here