PowerShell – Telegram
PowerShell
822 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Today's cmdlet ‣ Get-Date
Gets the current date and time.

Example's Remarks:
• `Get-Date` uses the UFormat parameter with format specifiers to display the current system date and time.
• The format specifier %Z represents the UTC offset of -07 .

#tutorial
Exposing the Mystery of PowerShell Objects
By: Jeffery Hicks

A few weeks ago, I was working on content for a new PowerShell course for Pluralsight. The subject was objects. We all know the importance of working with objects in PowerShell. Hopefully, you also know that the output you get on your screen from running a PowerShell command is not the whole story. Formatted presentation...
Link
👍3
Trim characters from strings in PowerShell
By: Wolfgang Sommergut

Most programming languages provide string functions that can be used to selectively truncate leading or trailing characters. String objects in PowerShell have three such trim() methods that remove not only spaces but also any characters at the beginning and end.
Link
Azure PowerShell vs. Azure CLI
By: Timothy Warner

In your work in Microsoft Azure, should you focus your energies on Azure PowerShell, Azure CLI, or both? This lesson presents a comprehensive comparison of the two primary noscripting languages in the Azure cloud.
Link
PowerShell Write-Output: Your Friendly Output Companion
By: Nicholas Xuan Nguyen

Learn all of the ins and outs of the PowerShell Write-Output cmdlet and take control of noscript and object output in this ATA Learning tutorial!
Link
Visual Studio AI-Assistance: A Developer’s Best Friend
By: Peter Groenewegen

The Visual Studio family leverages AI to help you stay focused on the creative tasks that get the core logic of your application built.
Link
Connecting to Microsoft Graph PowerShell SDK
By: damian

Introduction As promised in my blog post last week, this is the first of many blog posts on Microsoft Graph PowerShell and to start things out right we will first cover the How on connecting to Microsoft Graph PowerShell. Then over the coming weeks we will cover permissions, cmdlet discovery as well as some common...
Link
Get Application Certificate and Secret Expiration with Graph API
By: Paul Contreras

In the world of Azure cloud automation we always need to ensure that our accounts are able to properly authenticate. Accounts with username and password might have Active Directory alert you when your password expires, however, what can we use...
Link
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