PowerShell – Telegram
PowerShell
821 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Today's cmdlet: Set-Service
Starts, stops, and suspends a service, and changes its properties.

Example's Remarks:
• `Get-Credential` prompts for a username and password, and stores the credentials in the `$credential` variable.
• `Set-Service` uses the Name parameter to specify the Schedule service.
• The Credential parameter uses the `$credential` variable and updates the Schedule service.

#tutorial
👍1
Alas Kaizala, All is Lost
By: Tony Redmond

On August 26, Microsoft announced that they will retire Kaizala in August 2023. The Kaizala retirement is not big news because it's been coming for a while. If you want to get ahead of the game, you can remove the Kaizala service plans from the Office 365 licenses assigned to user accounts. We explain how to do the job in an example PowerShell noscript.
Link
Microsoft Teams PowerShell Module 4.x.x is the only version supported now
By: Microsoft

Microsoft Teams PowerShell Module (TPM) versions in the 4.x.x series or later are the only versions supported now. All earlier versions are fully retired since June 15, 2022 & will stop working (Message center post for reference - MC350371).
Link
PowerShell: Decrypt a Secure String
By: Patrick Gruenauer

In this blog post I will carry out how to decrypt a secure string. A secure string is a string that is saved in a non-readable format to temporarily store passwords and strings. Let's start.
Link
👍1
Today's cmdlet: Get-PSDrive
Gets drives in the current session.

Example's Remarks:
• This command gets the D: drive on the computer.
• Note that the drive letter in the command is not followed by a colon.

#tutorial
Report on Active Directory Container permissions using PowerShell
By: Harm Veenstra

In a previous blog post (Link), I showed a way to create a report on OU (Organizational Unit) permissions. One of the replies I got about that was: How about the Container permissions, those are important too 🙂 And that's correct, they are! In this blog post, I will show you how to create a report on those (Script is based on the OU report)
Link
Windows Defender Management using PowerShell
By: Faris Malaeb

Microsoft has invested heavily in Microsoft Defender Antivirus (known as Windows Defender) over the years to reduce the attack surface on the Windows environment against viruses and spyware, and ransomware.
Link
Enable PowerShell remoting on ArcoLinux
By: Mike F Robbins

PowerShell is a cross-platform noscripting language that runs on Windows, Linux, and macOS. ArcoLinux is a rolling release Linux distribution based on Arch Linux.
Link
Passion + PowerShell = Profit with David Hall
By: The Powershell Podcast

In this episode, we cover a lot of ground. We cover how PowerShell has helped our careers, from the beginning roots to the current day. David covers how he got his start, the challenges he faced along the way, and how each opportunity to teach came up. We explore the origins of PSAffirmations and the role that affirmations had when dealing with Imposter Syndrome. Security is David's specialty, so we spent some time picking David's brain about the current state of security and where attention is needed. We discuss whether passion can be taught or if it already must be there. Last, Jordan lets slip that he hates Christmas.
Link
Today's cmdlet: Disable-PSBreakpoint
Disables the breakpoints in the current console.

Example's Remarks:
• It uses the `Disable-PSBreakpoint` cmdlet to disable the breakpoint.
• The value of the Breakpoint parameter is a `Set-PSBreakpoint` command that sets a new breakpoint, generates a breakpoint object, and saves the object in the `$B` variable.

#tutorial
👍1
Questions from a PowerShell.org Forums User
By: Dave Carroll

A PowerShell.org Forums user asked me a few questions about my PowerShell journey and here are my answers.
Link
👍1
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