PowerShell – Telegram
PowerShell
820 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
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 noscript? 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 noscript 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 noscript 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 noscripts interactively, in this blog post I will show you a few ways to do that.
Link
🔥1
Configure DHCP-Server-Role with PowerShell
By: Patrick Gruenauer

The Dynamic Host Control Protocol (DHCP) helps you manage your network by automatically assigning IP-Adresses to hosts. In this article I will show you how to configure a DHCP Server with a [...]
Link
Today's cmdlet ‣ Get-Culture
Gets the current culture set in the operating system.

Example's Remarks:
• This command displays information about the regional settings on the computer.

#tutorial
Today's tip ‣ Types: Common

”The void type cannot be instantiated. It provides a means to discard a value explicitly using the cast operator [].”

#tip
What command launched your session?
By: Jeff Hicks

What command launched your session?
Link
👍1
PowerShell QR Code Generator for WIFI Networks
By: Patrick Gruenauer

If you use QR codes instead of passwords, you increase the user experience. Did you know that you can create such a QR code with PowerShell without any 3rd party tools? No? [.]
Link
👍1
Today's cmdlet ‣ Set-Service
Starts, stops, and suspends a service, and changes its properties.

Example's Remarks:
• `Set-Service` uses the Name parameter to specify the service, WinRM .
• The Status parameter uses the value Running to start the service.
• The PassThru parameter outputs a ServiceController object that displays the results.

#tutorial
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