PowerShell – Telegram
PowerShell
820 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
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
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
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
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
Script w/ GUI to Prevent Computer Inactivity
By: u/TheCallOfAsheron

This is a little noscript I use to prevent messenger software from marking me as inactive. It presses Scroll Lock once a minute while running. I added a time window, for example you can set it to only keep you active between 8:00AM - 5:00PM. It runs the job in the background, so it will continue to run until you click Turn Off even if the tool is closed. I created a shortcut to run the tool and pinned it to my taskbar.
Link
Today's cmdlet: Format-Table
Formats the output as a table.

Example's Remarks:
• The `Get-Host` cmdlet gets System.Management.Automation.Internal.Host.InternalHost objects that represent the host.
• The objects are sent down the pipeline to `Format-Table` and displayed in a table.
• The AutoSize parameter adjusts the column widths to minimize truncation.

#tutorial
Enable Azure AD Groups for GroupWriteback v2 using MS Graph Powershell
By: Jef Kazimer

In this stream I had a casual coding walkthrough of the Azure AD group properties for managing per group writeback v2 to on-premises using MS Graph PowerShell
Link
PowerShell Registry Monitor
By: Francisco Nabas

How to set up a simple registry key monitor with PowerShell
Link
Azure Automation Hybrid Worker Groups: Getting Started Guide
By: Jeff Brown

In previous posts, you learned how to create your first Azure Automation PowerShell runbook and configure authentication to Azure resources. With these tools available, your next step is to expand your runbook's reach outside of Azure to on-premises resources. Azure Automation makes this possible with Hybrid Worker Groups. In this guide, you will learn how
Link
Retype
By: Adam Bacon

Retype is an ultra-high-performance generator that builds a website based on simple text files. Focus on your writing while Retype builds the rest
Link
🔥1
Today's cmdlet: Split-Path
Returns the specified part of a path.

Example's Remarks:
• This command displays the files that are referenced by the split path.
• Because this path is split to the last item, also known as the leaf, the command displays only the file names.

#tutorial
👍3
Learn Everything About PowerShell Start-Trannoscript
By: Nicholas Xuan Nguyen

Save your code, and your sessions, by learning everything you need to know about the PowerShell Start-Trannoscript command!
Link
👍1
Monitor Network Connectivity with PowerShell 7 (Successful Pings)
By: Patrick Gruenauer

Recently, I have created a noscript that returns a beep sound when the connection is re-established. I would like to share this noscript here on my website.
Link
Introduction to Microsoft Graph PowerShell
By: Microsoft Learning

Characterize the types of business processes that Microsoft Graph PowerShell can automate. Describe the commands and permissions needed to automate processes with Microsoft Graph PowerShell.
Link
Today's cmdlet: Get-Host
Gets an object that represents the current host program.

Example's Remarks:
• This command resizes the Windows PowerShell window to 10 lines by 10 characters.

#tutorial
👍3
PowerShell Solution: AGPM unable to take control of a GPO
By: Emil Larsson

If you enjoy the principle of least privileges, version control and doing big infrastructural changes in a safe manner, Advanced Group Policy Management or AGPM, is an amazing tool.
Link
👍1
AzurePipelinesPS
By: Michael Dejulia

A PowerShell module that makes interfacing with Azure Pipelines a little easier
Link
Today's cmdlet: Get-HotFix
Gets the hotfixes that are installed on local or remote computers.

Example's Remarks:
• `Get-Hotfix` filters the output with the Denoscription parameter and the string Security that includes the asterisk (` `) wildcard.
• The ComputerName * parameter includes a comma-separated string of remote computer names.
• The Credential parameter specifies a user account that has permission to access the remote computers and run commands.

#tutorial
Using winget with PowerShell to install Software remotely
By: Patrick Gruenauer

In this blog post I will carry out how to remotely install software on a domain-joined Windows 11 client. Winget is a command line tool that provides a lot of different options
Link