PowerShell – Telegram
PowerShell
821 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
PSA: If you run Windows 10 and use WinSCP to transfer files to Linux hosts
By: Christopher Hart

you can ditch WinSCP in favor of the native PowerShell or Command Prompt SCP implementation!
Link
Easy removal of preinstalled bloatware using PowerShell
By: Ondrej Sebela

Recently I came into a situation where I needed to provision new Dell Precision laptops for our employees. This laptop comes with a lot of preinstalled applications (bloatware) so I was looking for some simple but efficient way to silently remove them. And by efficient I mean avoiding the need to manually find an uninstall command for each preinstalled application.
Link
🔥1
Today's cmdlet: Debug-Process
Debugs one or more processes running on the local computer.

Example's Remarks:
• This command attaches a debugger to the current PowerShell processes on the computer.

#tutorial
👍1
Updating Extension Attributes for Azure AD Registered Devices with the Microsoft Graph PowerShell SDK
By: Tony Redmond

Azure AD registered devices have 15 extension attributes that tenants can use for their own purposes. In this article, we explore how to use the Microsoft Graph PowerShell SDK to update extension attributes for registered devices, and even better, access the content in the extension attributes afterward.
Link
Report Scheduled Tasks on servers that have local or domain accounts configured
By: Harm Veenstra

For one of our customers, I needed to create a report of all Scheduled Tasks on their servers with a local or domain account configured. They needed this report because they are switching to more strict Group Policies and they needed to know what user accounts should have the 'Log on as a batch job'
Link
Toasting Git with Cory Knox
By: The Powershell Podcast

In this episode, we chat with Cory Knox. We talked all about the PowerShell discord and how it's grown over the years and is a great resource to connect with the community and have your questions answered. Cory and Jordan find common ground in their experiences with Toastmasters. Cory also talks to us about Git, how to get started using Git for PowerShell projects, an awesome PowerShell module to enhance your Git console experience, and more.
Link
Today's cmdlet: ConvertFrom-Markdown
Convert the contents of a string or a file to a MarkdownInfo object.

Example's Remarks:
• The MarkdownInfo object is returned.
• The Tokens property has the AST of the converted content of the `README.md` file.
• The VT100EncodedString property has the VT100-encoded string converted content of the `README.md` file.

#tutorial
👍2
PowerShell Prompt: Colors and Icons
By: Jeff Hill

Tips and Tricks to improve your PowerShell experience
Link
RoboCopy 1.0.1
By: Adam Bacon

The official Robocopy as a Powershell Cresendo module. With parameters that now make sense
Link
👍4
IT and user support GUI made with XAML and Powershell
By: Jose Espitia

It's been a while since my last post but I just wanted to share something that I have been working on. Lately I have been trying to migrate all of my WinForms to WPF with Powershell and since I have started learning how to create WPF forms , I wanted to share a tool that I created called 'About Me'. This tool will give your users common information that support would need to assist them. If Outlook is installed, it will give users the ability to draft an email automatically with the information that is displayed in the tool. I also have included a 'Tools' section that has some shortcuts to commonly used utilities in the OS.
Link
👍3
Today's cmdlet: Stop-Process
Stops one or more running processes.

Example's Remarks:
• This series of commands starts and stops the `Calc` process, and then detects processes that have stopped.

#tutorial
Connect to Exchange Online PowerShell with an Azure Managed Identity
By: Brad Wyatt

Recently the Exchange Online Module v2 came out with support for connecting to Exchange Online via a managed identity. The module has several parameters:
Link
Create an Azure Arc Service Principal with longer expiration date using PowerShell
By: Thomas Maurer

When you are onboarding at scale of Azure Arc enabled servers or Azure Arc enabled Kubernetes clusters, you want to use service principals for automated authentication during the onboarding process for Azure Arc resources. Microsoft provides you with an option in the Azure portal to create that service principal. When you use this, you can set .
Link
PSMDE 0.5.7
By: Jan-Henrik Damaschke

Provides a PowerShell functions to interact with Microsoft Defender for Endpoint (MDE)
Link
Get-MsIdUnredeemedInvitedUser
By: Jef Kazimer

Are you monitoring your Azure AD tenant for external users the business invites but are not actually redeemed? Here is a quick example PowerShell cmdlet using MS Graph API to enumerate them by creation date and either delete or disable them as you wish
Link
Today's cmdlet: Get-Process
Gets the processes that are running on the local computer.

Example's Remarks:
• This command gets all available data about the Winword and Explorer processes on the computer.
• It uses the Name parameter to specify the processes, but it omits the optional parameter name.
• The pipeline operator (`|`) passes the data to the `Format-List` cmdlet, which displays all available properties (`*`) of the Winword and Explorer process objects.

#tutorial
Exploring AutomatedLab and DSC with Raimund Andrée
By: The Powershell Podcast

In this episode, we revisit AutomatedLab with the other primary maintainer, Raimund Andrée. Raimund teaches us about DSC and shares details of the DSCWorkshop project, which is a great way to go about learning more about DSC in a hands-on manner. We also learned about Cattle vs. Pets and how that applies to your servers. You can hear all of this, plus more in this companion episode to our first AutomatedLab episode.
Link
Archive Module 2.0 Preview 2
By: Sydney Smith

We are excited to announce that the second preview of a rewrite of Microsoft.PowerShell.Archive, the module that lets you create and extract archives, is now available on the PowerShell Gallery.
Link