PowerShell – Telegram
PowerShell
822 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Create an Azure Files share in a specified subnoscription using an Azure PowerShell noscript
By: wmatthyssen

This blog post will demonstrate how to use an Azure PowerShell noscript to create an Azure Files share in a specified subnoscription.
Link
Graph PowerShell Help – Duplicate Synopses
By: Damian Scoles

Introduction As someone that spends a lot of time working with PowerShell, I have a tendency to review the help for a cmdlet either with Get-Help or checking on Microsoft's Learn pages. Sometimes I see things that trigger my curiosity and this has happened recently when I was reviewing cmdlets for one of Microsoft Graph's...
Link
Today's cmdlet ‣ Get-ChildItem
Gets the items and child items in one or more specified locations.

Example's Remarks:
• The `Get-ChildItem` cmdlet uses the Path parameter to specify `C:\Test\ .txt`.
• Path * uses the asterisk (` `) wildcard to specify all files with the filename extension `.txt`.
• The Recurse * parameter searches the Path directory its subdirectories, as shown in the Directory: headings.
• The Force parameter displays hidden files such as `hiddenfile.txt` that have a mode of h .

#tutorial
Migrate your Runbooks in Azure Automation to Managed Identities
By: Brad Wyatt

Microsoft has recently announced that on September 30th, 2021, Azure Automation RunAs accounts, including Classic Run As accounts, will be retired so you will need to migrate your runbooks to managed identities for authentication.
Link
PSReadLine 2.3.0-beta0 Release
By: Steven Bucher

Announcement of PSReadLine 2.3.0-beta0 release and denoscription of the new features and fixes available.
Link
👍2
Deprecation of Remote PowerShell (RPS) for New Exchange Online Tenants
By: The Exchange Team

We previously announced the general availability of REST-based Exchange Online PowerShell v3 module (September 2022) and the deprecation of Remote PowerShell (RPS) Protocol (December 2022). Today, we are announcing that starting April 1, 2023, we will start blocking RPS connections for all tenants c...
Link
Today's tip ‣ Hashtables: Common

”The type Hashtable represents a collection of key/value pair objects that supports efficient retrieval of a value when indexed by the key. Each key/value pair is an element, which is stored in some implementation-defined object type.”

#tip
👍1
Getting Started with PowerShell Gallery
By: Nicholas Xuan Nguyen

Learn how to leverage the PowerShell Gallery for more efficient and effective PowerShell noscripting in this ATA Learning tutorial.
Link
👍1
Hamburg PowerShell User Group #34, Wed, Mar 22, 2023, 6:30 PM
By: Fabian Bader

Das nächste Treffen der Hamburg PowerShell User Group findet am 22.03.23 um 18:30 Uhr statt und ihr seid herzlich eingeladen!
Link
Today's cmdlet ‣ Pop-Location
Changes the current location to the location most recently pushed onto the stack.

Example's Remarks:
• This command changes your location to the location most recently added to the current stack.

#tutorial
Today's cmdlet ‣ ConvertTo-Html
Converts .NET objects into HTML that can be displayed in a Web browser.

Example's Remarks:
• This command creates an HTML page of the service objects that the `Get-Service` cmdlet returns.
• The command uses the As parameter to specify a list format.
• The cmdlet `Out-File` sends the resulting HTML to the `Services.htm` file.

#tutorial
Live PowerShell Tool Making Part 3
By: Jeff Hicks

We're back once more to continue building a Crescendo module around the GitHub command line tool gh.exe. You've seen how I approach building a PowerShell and the questions and decisions that come up. Now that I've built a few more Crescendo commands, I realize I can begin copying and pasting. Some of the commands I have in mind, I think, will be very similar. Plus, I have my VSCode Crescendo command snippet.
Link
Reprovision/Restore Windows 365 Devices
By: Niels Kok

This blog is about showing another example of our Powershell module called PSCloudPC.
Link
Modern Automation with PowerShell Michael
By: The Powershell Podcast

In this episode, we are joined by Microsoft MVP Michael Zanatta to discuss the new PowerShell community book, 'Modern IT Automation with PowerShell.' We start off by talking about Constrained Language Mode, which Michael knows a lot about. We then move on to the four pillars of PowerShell Security, followed by a brief break from the technical talk to chat about food, as we like to do. We then move on to talking about how Michael became a Microsoft MVP. We also learned about the origins of this book, the journey to get it published, and how this is a textbook by the community for the community. All this, and more, on this episode of the PowerShell Podcast!
Link
Server-Side-Filtering in PowerShell
By: Harm Veenstra

Retrieving objects in your noscripts is something that you do regularly. It takes a long time to download and process in larger environments, wasting CPU and time. This blog post will explain how to speed up noscripts by filtering server-side before downloading all results and filtering afterward.
Link
Using Previous Command History in PowerShell Console
By: Windows OS Hub

By default, Windows saves all of the commands that you type in the PowerShell console to a text log file. This allows you to re-run any command and view the...
Link
👍1
Announcing Polyglot Notebooks! Multi-language notebooks in Visual Studio Code – .NET Blog
By: Claudia Regio

Polyglot Notebooks in VS Code is now generally available! Come try it out!
Link
Today's cmdlet ‣ Get-Service
Gets the services on the computer.

Example's Remarks:
• The `Get-Service` cmdlet gets all the services on the computer and sends the objects down the pipeline.
• The `Where-Object` cmdlet selects the services whose DependentServices property isn't null.

#tutorial
Today's cmdlet ‣ Resume-Service
Resumes one or more suspended (paused) services.

Example's Remarks:
• This command resumes the System Event Notification service on the local computer.
• The service name is represented in the command by sens.
• The command uses the Name parameter to specify the service name of the service, but the command omits the parameter name because the parameter name is optional.

#tutorial