PowerShell – Telegram
PowerShell
822 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Using the conditional ternary operator for simplified if/else syntax in PowerShell 7
By: Mike F. Robbins

The conditional ternary operator is a feature added to PowerShell in version 7. You can use it as a simplified version of if/else.
Link
What’s New with Select-String in PowerShell7?
By: Mike Kanakos

Select-String is one of those commands that either you use it often or not much at all. There doesn't seem to be a middle of the road for Select-String. I don't get called upon to use it that often, but when I do, it usually saves my bacon at work. The most typical use case for me is for searching flat log files for patterns of text or for all entries of a particular phrase across a bunch of files.
Link
Free SquaredUp Community Dashboard Server for PowerShell
By: Brandon Lee

SquaredUp Community Dashboard Server is a free solution for creating dashboards based on PowerShell and Web APIs. Learn about recent updates that add even more features.
Link
Programmatically Return S-1-5-18’s Username
By: u/AlaricBloomberg

I'm trying to get LocalPaths of each user via Get-WmiObject win32_userprofile.
Link
👍1
Changing the Look of the Prompt
By: Patrick Gruenauer

PowerShell comes with a standard prompt whose configuration is stored in the prompt function. The good news is that we are able to change this prompt function to suit our needs. In this blog post, I will show you how you can change this prompt and I will give you some examples.
Link
Automating with PowerShell: Setting Sharepoint Sharing Settings
By: Kelvin Tegelaar

For a long time SharePoint Admin Settings wasn't something available inside the Graph API. We always had to jump through many hoops and had an issue with running changes headless because the PowerShell modules didn't support it. Recently I've been in contact with the SharePoint team and we now have a functional API for most of the important admin settings.
Link
ReadPDF
By: Adam Bacon

Allows you to read an entire pdf
Link
👍1
Episode 044 – PowerShell Tips & Tricks
By: The PowerShell News Podcast

In this episode, we talk about tips and tricks.
Link
Azure Functions support for PowerShell 7.2
By: Microsoft Azure

Azure Functions support for PowerShell 7.2 enables developing and deploying Azure Function Apps for production scenarios using the latest version of PowerShell.
Link
Get information about connected monitor
By: Robin Stolpe

At work Helpdesk did receive multiple complaints regarding a specific manufacture and model of monitors. And many of our user can't look at the back of the monitor to see the brand or model and even harder to see the serial number of the monitor. Also we wanted to know if the monitor was inside the warranty period or not.
Link
👍1
In honor of Independence Day I made an alien invasion game in PowerShell (two versions in fact!)
By: u/Ecrofirt

In short, I made a Space Invaders-esque game in PowerShell.
Link
Repositories with Adil Leghari: Do not take orally
By: The PowerShell Podcast

In this episode, we learned all about repositories and how to use them in a PowerShell context. We briefly discussed the challenges of working from Home. We learned how Adil got started in the PowerShell community including getting involved in the PowerShell Slack/Discord, attending PowerShell Summit, and even stepping up and helping put on an event: BridgeConf. Adil convinces Jordan to submit to speak at Summit 2023, and Jordan agrees. The crowd goes wild! We tried to capture the code that we ran on this episode in a trannoscript file, which can be found below.
Link
Enable AppLocker on Windows 10 Pro and Windows 11 Pro with PowerShell
By: Welf Alberts

In the past, AppLocker was available only for Windows Enterprise and Education subscribers. In this post, I will show you a way to use AppLocker on Windows 10 Pro and Windows 11 Pro.
Link
Performing a Conditional Access Assessment with PowerShell
By: Sean McAvinue

Conditional Access is a powerful tool granting an easy way to bolster the security of an Office 365 tenant. The flexibility of Conditional Access means it can fit most organizational and security requirements easily. However, as with most things in technology, with flexibility there often comes complexity.
Link
PSGitUtils v1.13.3
By: Cpadiem Chao

Providers emoji supports for Git commit and Git log.
Link
Start Windows Sandbox with parameters
By: Harm Veenstra

Personally I use Windows Sandbox a lot for testing Endpoint Manager packages or software, sometimes you want to start it with certain options (Connect a folder on your harddrive or start without a network connection) and you have to create a custom configuration file (.wsb) with those options. This blogpost shows you how to start Windows Sandbox using PowerShell with parameters without the need of creating multiple configuration files.
Link
👍1
Exchange Online : Major Update – Retirement of Exchange Online PowerShell with MFA module
By: Prasham Sabadra

Prasham provides a great rundown of what to expect and how to prepare for the upcoming changes.
Link