Mastering PowerShell Dynamic Arrays
By: Jeff Brown
PowerShell arrays are a powerful construct when working with a group of similar items. You can loop through them and access items using their index values. However, adding or removing items to a fixed array is not intuitive and, depending on the method, can cause performance issues. This article will teach you different strategies
Link
By: Jeff Brown
PowerShell arrays are a powerful construct when working with a group of similar items. You can loop through them and access items using their index values. However, adding or removing items to a fixed array is not intuitive and, depending on the method, can cause performance issues. This article will teach you different strategies
Link
Jeff Brown Tech
Mastering PowerShell Dynamic Arrays | Jeff Brown Tech
PowerShell arrays are useful when working with a group of items. This article will teach you how to manage dynamic arrays in PowerShell.
Today's cmdlet ‣ Format-Custom
Uses a customized view to format the output.
Example's Remarks:
• This command formats information about the `Start-Trannoscript` cmdlet in the format defined by the MyView view, a custom view created by the user.
• To run this command successfully, you must first create a new PS1XML file, define the MyView view, and then use the `Update-FormatData` command to add the PS1XML file to PowerShell.
#tutorial
Uses a customized view to format the output.
Example's Remarks:
• This command formats information about the `Start-Trannoscript` cmdlet in the format defined by the MyView view, a custom view created by the user.
• To run this command successfully, you must first create a new PS1XML file, define the MyView view, and then use the `Update-FormatData` command to add the PS1XML file to PowerShell.
#tutorial
Use PowerShell splatting and PSBoundParameters to pass parameters
By: Jeffery Hicks
The automatic variable PSBoundParameters stores the parameters that you explicitly passed to a function in a hash table. With the help of splatting, you can use this PowerShell feature to simplify passing of parameters to functions.
Link
By: Jeffery Hicks
The automatic variable PSBoundParameters stores the parameters that you explicitly passed to a function in a hash table. With the help of splatting, you can use this PowerShell feature to simplify passing of parameters to functions.
Link
👍1
Today's tip ‣ Hashtables: Hashtable creation
”A `Hashtable` is created via a hash literal @{} or the New-Object cmdlet. It can be created with zero or more elements. The Count property returns the current element count.”
#tip
”A `Hashtable` is created via a hash literal @{} or the New-Object cmdlet. It can be created with zero or more elements. The Count property returns the current element count.”
#tip
ShowDemo
By: James Brundage
Want to showcase something you built in PowerShell? You can make a .demo.ps1 file to showcase your noscript line by line.
Link
By: James Brundage
Want to showcase something you built in PowerShell? You can make a .demo.ps1 file to showcase your noscript line by line.
Link
GitHub
GitHub - StartAutomating/ShowDemo: A simple tool to showcase your noscripts.
A simple tool to showcase your noscripts. Contribute to StartAutomating/ShowDemo development by creating an account on GitHub.
Today's cmdlet ‣ ConvertFrom-StringData
Converts a string containing one or more key and value pairs to a hash table.
Example's Remarks:
• Because the text includes variable names, it must be enclosed in a single-quoted string so that the variables are interpreted literally and not expanded.
• Variables are not permitted in the DATA section.
#tutorial
Converts a string containing one or more key and value pairs to a hash table.
Example's Remarks:
• Because the text includes variable names, it must be enclosed in a single-quoted string so that the variables are interpreted literally and not expanded.
• Variables are not permitted in the DATA section.
#tutorial
👍1
Unleash the Power of Artificial Intelligence with PowerShell
By: Doug Finke
Welcome to the PowerShell Artificial Intelligence repository! Here, you will find a collection of powerful PowerShell noscripts that will enable you to easily integrate AI into your projects and take them to the next level. Imagine being able to interact directly with OpenAI's GPT AI with just a few simple commands. With this module, it's now possible.
Link
By: Doug Finke
Welcome to the PowerShell Artificial Intelligence repository! Here, you will find a collection of powerful PowerShell noscripts that will enable you to easily integrate AI into your projects and take them to the next level. Imagine being able to interact directly with OpenAI's GPT AI with just a few simple commands. With this module, it's now possible.
Link
Start and Stop EC2 New Instances Using Powershell
By: Joshua Arp
In this video we cover the basics of starting and stopping a EC2 Instance With Powershell.
Link
By: Joshua Arp
In this video we cover the basics of starting and stopping a EC2 Instance With Powershell.
Link
YouTube
Automating With Powershell - Start and Stop EC2 New Instances Using Powershell
In this video we cover the basics of starting and stopping a EC2 Instance With Powershell.
Below is the Powershell noscript used if you would like to try it out:
#initialized -awsdefaultconfiguration -profilename default
#New-EC2Instance -ImageId ami-0…
Below is the Powershell noscript used if you would like to try it out:
#initialized -awsdefaultconfiguration -profilename default
#New-EC2Instance -ImageId ami-0…
Today's tip ‣ Variables: Variable categories
”PowerShell defines the following categories of variables: static variables, instance variables, array elements, Hashtable key/value pairs, parameters, ordinary variables, and variables on provider drives.”
#tip
”PowerShell defines the following categories of variables: static variables, instance variables, array elements, Hashtable key/value pairs, parameters, ordinary variables, and variables on provider drives.”
- `[Math::PI]` is a static variable
- `$date.Month` is an instance variable
- `$values[2]` is an array element
- `$h1.FirstName` is a `Hashtable` key whose corresponding value is $h1['FirstName']`
- `$p1` and `$p2` are parameters
- `$radius`, `$circumference`, `$date`, `$month`, `$values`, `$value`, and `$h1` are ordinary variables
- `$Alias:A`, `$Env:MyPath`, `${E:output.txt}`, and `$function:F` are variables on the corresponding provider drives.
- `$Variable:v` is actually an ordinary variable written with its fully qualified provider drive.#tip
👍3
PowerShell Paging in Microsoft 365
By: Damian Scoles
Introduction You may have heard that things are better in the cloud, that they reduce your costs and time to manage. However, in order to achieve these benefits in a shared system, Microsoft has to make certain changes so that their systems are more efficient and cost effective, something they can then pass on to...
Link
By: Damian Scoles
Introduction You may have heard that things are better in the cloud, that they reduce your costs and time to manage. However, in order to achieve these benefits in a shared system, Microsoft has to make certain changes so that their systems are more efficient and cost effective, something they can then pass on to...
Link
PowerShell Geek
PowerShell Paging in Microsoft 365 - PowerShell Geek
PowerShell Paging in Microsoft 365 is an important concept to understand as Microsoft uses this to control the number of results in the cloud.
Mastering the (steppable) pipeline
By: Ronald Bode
The PowerShell pipeline explained from the beginning to the end.
Link
By: Ronald Bode
The PowerShell pipeline explained from the beginning to the end.
Link
Microsoft News
Mastering the (steppable) pipeline
The PowerShell pipeline explained from the beginning to the end.
👍2
Today's cmdlet ‣ Split-Path
Returns the specified part of a path.
Example's Remarks:
• This command changes your location to the folder that contains the PowerShell profile.
#tutorial
Returns the specified part of a path.
Example's Remarks:
• This command changes your location to the folder that contains the PowerShell profile.
#tutorial
❤1
How to create a PowerShell Module with multiple Functions
By: Patrick Gruenauer
In this blog post, I will show you how to create a module with multiple functions using an example. You will see that this is not rocket science. Let's jump in.
Link
By: Patrick Gruenauer
In this blog post, I will show you how to create a module with multiple functions using an example. You will see that this is not rocket science. Let's jump in.
Link
SID-500.COM
How to create a PowerShell Module with multiple Functions
In this blog post, I will show you how to create a module with multiple functions using an example. You will see that this is not rocket science. Let’s jump in. In order to use multiple funct…
👍2
PowerShell for Developers: Doug Finke’s Story
By: The Powershell Podcast
In this episode, we are joined by the creator of the popular PowerShell module ImportExcel, Doug Finke. Doug shares the story of how he got into PowerShell, the Monad Manifesto, and the PowerShell AI module. He also dives into the details of how ImportExcel works and provides plenty of tips on how to make the most of it. Tune in to learn more about the power of PowerShell, ImportExcel, and PowerShellAI!
Link
By: The Powershell Podcast
In this episode, we are joined by the creator of the popular PowerShell module ImportExcel, Doug Finke. Doug shares the story of how he got into PowerShell, the Monad Manifesto, and the PowerShell AI module. He also dives into the details of how ImportExcel works and provides plenty of tips on how to make the most of it. Tune in to learn more about the power of PowerShell, ImportExcel, and PowerShellAI!
Link
Podbean
PowerShell for Developers: Doug Finke’s Story | The PowerShell Podcast
In this episode, we are joined by the creator of the popular PowerShell module ImportExcel, Doug Finke. Doug shares the story of how he got into PowerShell, the Monad Manifesto, and the PowerShell AI module. He also dives into the details of how ImportExcel…
👍2
ComputerCleanup v1.1.5
By: Tom de Leeuw
Module for freeing up disk space / removing temp files etc.
Link
By: Tom de Leeuw
Module for freeing up disk space / removing temp files etc.
Link
Powershellgallery
ComputerCleanup 1.1.5
Module for freeing up disk space / removing temp files etc.
BluebirdPS v0.8.3
By: Dave Carroll
A Twitter Automation Client for PowerShell 7. Tweet, retweet, send direct messages, manage lists, and more.
Link
By: Dave Carroll
A Twitter Automation Client for PowerShell 7. Tweet, retweet, send direct messages, manage lists, and more.
Link
Powershellgallery
BluebirdPS 0.8.3
A Twitter Automation Client for PowerShell 7. Tweet, retweet, send direct messages, manage lists, and more.
PowerShell, Microsoft, Management, and more with Steve Lee
By: The Powershell Podcast
In this episode, we get to hear the perspective of an insider. Steve Lee shares a bit about his background and how he came to find himself managing the PowerShell team. He talks about the double-edged sword of working on a product that is so widely distributed. Steve talks about how and why PowerShell uses telemetry and some of the challenges that come along with such a large amount of data. We learn about the differences between OpenSSH and WinRM, doing visible work, interacting with the community, AI, and more.
Link
By: The Powershell Podcast
In this episode, we get to hear the perspective of an insider. Steve Lee shares a bit about his background and how he came to find himself managing the PowerShell team. He talks about the double-edged sword of working on a product that is so widely distributed. Steve talks about how and why PowerShell uses telemetry and some of the challenges that come along with such a large amount of data. We learn about the differences between OpenSSH and WinRM, doing visible work, interacting with the community, AI, and more.
Link
Podbean
PowerShell, Microsoft, Management, and more with Steve Lee | The PowerShell Podcast
In this episode, we get to hear the perspective of an insider. Steve Lee shares a bit about his background and how he came to find himself managing the PowerShell team. He talks about the double-edged sword of working on a product that is so widely distributed.…
👍1