PowerShell
773 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
AzOps v1.9.2
By: Customer Architecture Team (CAT)

This PowerShell module provides the ability to deploy Resource Templates & Bicep files at all Azure scope levels. To provide this functionality the multiple scopes within Azure Resource Manager are represented (example below) within Git. Using directories and files, templates can be deployed (Push) at various scopes whilst also exporting (Pull) composite templates from ARM and placing them within the repository.
Link
Retrieve Coinmarketcap information using PowerShell
By: Harm Veenstra

If you're into Crypto and would like to see the latest price of your precious coin, then perhaps this is a blog post for you 🙂 In this blog post, I will show you a way how you can use the API from Coinmarketcap to show you the latest stats in every newly started PowerShell session.
Link
Using PSScriptAnalyzer to optimize your PowerShell scripts
By: Harm Veenstra

I use Visual Studio Code for writing PowerShell scripts, which makes formatting and writing so much easier. Even though it shows you things that you shouldn't do, for example using aliases, you can get even more tips and hints to make your code even better. This blog post will show you how to use the PSScriptAnalyzer module which can give you some additional hints that Visual Studio Code doesn't show you.
Link
🔥1
A Beginners Guide To PowerShell New-Item
By: Nicholas Xuan Nguyen

Get started with PowerShell New-Item in this beginner's guide to creating new items and folders within PowerShell!
Link
👍1
PowerShell: Creating functions that accept Pipeline Input
By: Patrick Gruenauer

So you have already created a function and now you want to enable pipeline functionality? Yes? Then read on.
Link
🔥1
Back to Basics: The PowerShell Contains Operator
By: Nicholas Xuan Nguyen

Keep your PowerShell fundamentals strong with this tutorial on the PowerShell contains operator by ATA Learning!
Link
👍1
Announcing PowerShell Crescendo 1.1.0-preview01
By: Jason Helmick

This preview includes a new schema, support for argument value transformation, the ability to bypass the output handler, and improved error handling.
Link
👍1
Today's cmdlet ‣ Rename-Item
Renames an item in a PowerShell provider namespace.

Example's Remarks:
• This example attempts to rename the `project.txt` file in the current directory to `old-project.txt` in the `D:\Archive` directory.
• The result is the error shown in the output.

#tutorial
👍1
Today's tip ‣ Lexical structure: Line terminators

”A line terminator (CR, LF, CR\LF) can be treated as white space.”

#tip
👍1
OpenAI Chat GPT 3 Can Write Your PowerShell Script
By: Faris Malaeb

Do you know how to write a PowerShell script? If the answer is no, let me introduce you to your new friend OpenAI Chat GPT 3. OpenAI Chat GPT uses a human-spoken natural language to generate your desired code. So all you need to do is describe what you want your script to do, and...
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 PowerShell processes on the local computer.

#tutorial
👍1
Using PowerShell on Linux
By: Harm Veenstra

Personally, I run PowerShell on my Windows 11 laptop, but I also have Linux VMs and use PowerShell on those too. In this blog post, I will show you two ways in which you can install PowerShell on your Linux machine and yes, I know... There are different Linux Operating Systems with different package managers, in my case I used Ubuntu 22.04 🙂
Link
👍4
6 Command Line (PowerShell & CLI) Tips & Tricks for Microsoft Azure you should know about!
By: Thomas Maurer

There are many experiences and possibilities to manage your Microsoft Azure resources, one of them being the command line experience using the Azure CLI or Azure PowerShell. In this blog post we are going to have a look at 6 tips & tricks for managing your Microsoft Azure resources using the command line with Azure
Link
Use GitHub Codespaces for Azure PowerShell Function apps
By: Barbara

While GitHub Codespaces have been available for a while, this week at GitHub Universe it was announced that everyone can use them for free. Everyone...
Link
Today's cmdlet ‣ Export-Alias
Exports information about currently defined aliases to a file.

Example's Remarks:
• This example shows how to use the script file format that `Export-Alias` generates.

#tutorial
Get all Microsoft IP and FQDNs for their services
By: Harm Veenstra

When you are in an environment with strict internet access, you need to figure out what to open to what destination for Microsoft services like Exchange Online, Teams, Endpoint Manager, and so on. Microsoft publishes this on their website but in the blog post, I would like to show you a nice way of outputting
Link
Text-To-Speech using PowerShell
By: Harm Veenstra

Just a little fun thing for a Friday, text-to-speech! We used this many years ago at the office, sending this to the laptop of a colleague and having fun while he's trying to figure out where the voice is coming from ?? How it works There is a System.Speech assembly which can be used to
Link
PowerShell output on screen
By: Harm Veenstra

It's always nice to have some screen output while running scripts interactively, in this blog post I will show you a few ways to do that.
Link
🔥1