PowerShell – Telegram
PowerShell
820 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Setting Lifecycle Management Policy on Azure Storage using Azure PowerShell
By: Jorge Bernhardt

Following the thread of my last post, I want to show you how to take advantage of this functionality by configuring a data lifecycle management.
Link
Taking Your PowerShell Variables to the Next Level
By: Brien Posey

PowerShell allows you to do much more than just declare and use variables. In this article, you'll learn how to create constants and rename variables, taking your PowerShell variable usage to the next level.
Link
👍1
PowerBGInfo – PowerShell alternative to Sysinternals BGInfo
By: Przemyslaw Klys

When I created ImagePlayground, I thought about how to show its usefulness to the general community. On how to deliver what PowerShell can do. Then I saw on some forum people asking BGInfo to expand and allow running PowerShell noscripts so that the data on the BGInfo Wallpaper can be gathered from PowerShell rather than VBS. I thought this was a great idea to create BGInfo using PowerShell without the necessity of using BGInfo at all.
Link
🔥1
Today's cmdlet ‣ Get-Process
Gets the processes that are running on the local computer.

Example's Remarks:
• These commands show how to use the `$PID` automatic variable to identify the process that is hosting the current PowerShell session.
• You can use this method to distinguish the host process from other PowerShell processes that you might want to stop or close.

#tutorial
The PowerShell Podcast at 40; Reflections, Ruminations, and Ramblings
By: The Powershell Podcast

In this laid-back episode, Jordan and Andrew take the opportunity to catch up on their PowerShell going-ons. Jordan tells us how he saved dozens of hours on a noscript and the benefits of helping out your friends. Andrew chats about terminal GUIs, his new OMG USB, PowerShell Summit, and being careful not to information overload people when teaching them PowerShell. All this, our usual charming banter, and more!
Link
Configure SysInternals EULA Acceptance
By: Jeffery Hicks

I just saw a very, very handy thing on Twitter where you can set a registry key that will automatically accept all EULA prompts for the SysInternals tools. I know there is a command-line switch I can use, but I never remember to use it. Setting the registry key appears to accept EULAs globally. Naturally,...
Link
Recovering Deleted Groups with the Graph PowerShell SDK
By: Tony Redmond

This article describes how to restore deleted Azure AD groups with PowerShell using cmdlets from the Microsoft Graph PowerShell SDK. Although options exist in the Microsoft 365 admin center and Azure AD admin center to restore deleted groups, it's nice to have the option to do the same with PowerShell.
Link
PSLog
By: AutomatedLab

Redirects stanard Write-* cmdlets to a log and offers some basic tracing functions
Link
Why is it “New-ADUser” not “Add-ADUser”?
By: u/d3lee3

I am trying to understand why this design decision was made. It seems a bit off from verb-object pattern.
Link
How to Craft a Modern PowerShell Message Box
By: Edem Afenyo

Discover all the modern ways to craft a PowerShell Message Box and get away from the VBScript methods of old in this updated how-to!
Link
Today's tip ‣ Basic concepts: Variables

”Variable objects are stored on drive Variable:.”

#tip
Today's cmdlet ‣ Get-Process
Gets the processes that are running on the local computer.

Example's Remarks:
• This command uses the Module parameter to get the modules that have been loaded by the process.
• This command gets the modules for the processes that have names that begin with `SQL`.

#tutorial
Added speed and time remaining to progress for PowerShell `copy-item`.
By: Steve Lee

WoooHoooo!
Link
👍1
PowerShell 7 Tutorials for Intermediates #7 : Working with JSON
By: JackedProgrammer

In this video I will go over how to work with JSON in PowerShell 7. I will show how to import a .json file, convert a .csv to .json, how to create PowerShell objects from json, etc.
Link
PSWinVitals v0.6.8
By: Samuel Leslie

Consolidate common system health checks, maintenance tasks & inventory retrieval
Link
👍1
Today's cmdlet ‣ Get-Counter
Gets performance counter data from local and remote computers.

Example's Remarks:
• `Get-Counter` uses the ListSet parameter to specify the PhysicalDisk counter set.
• The command is enclosed in parentheses so that the PathsWithInstances property returns each path instance as a string.

#tutorial
Top Ten PowerShell Tips for Microsoft 365 Management: Part Two
By: Damian Scoles

If you are stuck using your on-premises resources to manage a cloud infrastructure, it is an opportune time to change that with the availability of tools and functions that are now available. In this article, we focus on how to use PowerShell to manage Microsoft 365. In addition, we consider how to use cloud services to manage PowerShell code, testing, security controls, and more.
Link
Create and manage append blobs with PowerShell
By: Baki Onur Okutucu

Before diving into how to manage append blobs using PowerShell, let's have a quick look at the blob types (block blobs, page blobs, and append blobs) available on Azure storage accounts. Storage accounts on Azure support three types of blobs, each of which is used for a different purpose. Therefore, it's important to determine the type of blob you need when you create it, as it is not possible to change the type once the blob is created. The supported blob types are as follows.
Link