🎬 PowerShell 7 New Feature: ForEach-Object -Parallel
https://youtu.be/coEaJsBdwM0
#video
$logNames | ForEach-Object -Parallel { Get-WinEvent -LogName $_ -MaxEvents 10} -ThrottleLimit 5https://youtu.be/coEaJsBdwM0
#video
YouTube
PowerShell Parallel processing | Richard Siddaway | PSDayUK 2019
Windows PowerShell uses workflows to achieve parallel processing but PowerShell core doesn't support workflows. This session will work through the options available to you, explain how they work and finish with some recommendations for how you approach working…
🗂️ Ansible, Windows and PowerShell
– Introduction
– Part 1, Windows Services
– Part 2, Install PowerShell Modules
– Part 3, Windows Roles and Features
– Part 4, Invoking PowerShell Code
– Part 5, Example PowerShell Error Handling
– Part 6, Displaying Output from PowerShell Code
– Part 7, Utilising PowerShell DSC
– Part 8, Rebooting & Waiting
– Part 9, Disk Creation
– Part 10, Local Users
– Part 11, Local Groups
– Part 12, Set TimeZone
– Part 13, Environment Variables
– Part 14, Registry Entries
– Part 15, Install Chocolatey Packages
#series
– Introduction
– Part 1, Windows Services
– Part 2, Install PowerShell Modules
– Part 3, Windows Roles and Features
– Part 4, Invoking PowerShell Code
– Part 5, Example PowerShell Error Handling
– Part 6, Displaying Output from PowerShell Code
– Part 7, Utilising PowerShell DSC
– Part 8, Rebooting & Waiting
– Part 9, Disk Creation
– Part 10, Local Users
– Part 11, Local Groups
– Part 12, Set TimeZone
– Part 13, Environment Variables
– Part 14, Registry Entries
– Part 15, Install Chocolatey Packages
#series
🎬 Take PowerShell Debugging to the Next Level [01:30:53]
Added: 23.06.2020
https://www.youtube.com/watch?v=9QBtPs_OwRE
#video
Added: 23.06.2020
https://www.youtube.com/watch?v=9QBtPs_OwRE
#video
YouTube
Take PowerShell Debugging to the Next Level
Take PowerShell Debugging to the Next Level with Japp Brasser -- Watch live at https://www.twitch.tv/devopsorg
📘 Formatting PowerShell TimeSpans
https://jdhitsolutions.com/blog/powershell/7565/formatting-powershell-timespans/
https://jdhitsolutions.com/blog/powershell/7565/formatting-powershell-timespans/
The Lonely Administrator
Formatting PowerShell TimeSpans • The Lonely Administrator
I often will figure out how to do something and later struggle to remember how to do it a months later. Rather than trying to remember what piece of code I wrote, why not write about. Assuming I can remember! Anyway, here's today's "PSRemembery". Manage…
❓ Classes
A class in .NET might be considered to be the recipe used to create a type. A type is a representation of something, anything.
Classes are created using the Class keyword.
An instance of the Car class can be created using ::new().
What type results when you create classes like above?
#quiz
A class in .NET might be considered to be the recipe used to create a type. A type is a representation of something, anything.
Classes are created using the Class keyword.
An instance of the Car class can be created using ::new().
class Car { }$car = [Car]::new()What type results when you create classes like above?
#quiz
📦 Microsoft.PowerShell.Kubectl
Microsoft experiments with native application wrapping.
https://github.com/PowerShell/Microsoft.PowerShell.Kubectl
#module
Microsoft experiments with native application wrapping.
https://github.com/PowerShell/Microsoft.PowerShell.Kubectl
#module
GitHub
GitHub - PowerShell/Microsoft.PowerShell.Kubectl: PowerShell module to manage Kubernetes
PowerShell module to manage Kubernetes. Contribute to PowerShell/Microsoft.PowerShell.Kubectl development by creating an account on GitHub.
🎁 Grab the latest PowerShell 7.1 Preview 4 release!
- Breaking Changes
- Engine Updates and Fixes
- General Cmdlet Updates and Fixes
Check full list of changes on GitHub
- Breaking Changes
- Engine Updates and Fixes
- General Cmdlet Updates and Fixes
Check full list of changes on GitHub
📘 Monitoring SQL Server with PowerShell Instance Data Collection
https://www.mssqltips.com/sqlservertip/6468/monitoring-sql-server-with-powershell-instance-data-collection/
#sql
https://www.mssqltips.com/sqlservertip/6468/monitoring-sql-server-with-powershell-instance-data-collection/
#sql
Mssqltips
Monitoring SQL Server with PowerShell Instance Data Collection
In this part of the series we look at noscripts that can capture instance level data for SQL Server instances being monitored.
❗ Classes
Properties are used to describe different information about an object.
A hashtable can be used to fill the properties of an object when the object is created.
Properties which do not have an explicit type name defined are given the type System.Object.
#quiz
Properties are used to describe different information about an object.
A hashtable can be used to fill the properties of an object when the object is created.
class Car { $Make [string] $Model}$car = [Car]@{ Make = 'Volkswagon' Model = 'Golf'}Properties which do not have an explicit type name defined are given the type System.Object.
$car | gm -name Make#quiz
🎬 PowerShell 7. New Operators
https://youtu.be/LjjL2X6lkTc?list=PLdESG89G24aOhO0UyFPf-3VlRc_5ZYICm
#video
https://youtu.be/LjjL2X6lkTc?list=PLdESG89G24aOhO0UyFPf-3VlRc_5ZYICm
#video
YouTube
Part 2 New Operators
📦 PS1 to Service.
A tool to convert your PS1 to Windows Service on local or other devices
http://www.systanddeploy.com/2020/06/ps1-to-service-tool-to-convert-your-ps1.html
#module
A tool to convert your PS1 to Windows Service on local or other devices
http://www.systanddeploy.com/2020/06/ps1-to-service-tool-to-convert-your-ps1.html
#module
Systanddeploy
PS1 to Service: A tool to convert your PS1 to Windows Service on local or other devices
In this post I will show you a tool I created that allows you to create your own Windows Service to run a PowerShell noscript and specify t...
🎬 ForEach-Object -Parallel
https://youtu.be/2Orjc3EB7Tg?list=PLdESG89G24aOhO0UyFPf-3VlRc_5ZYICm
#video
https://youtu.be/2Orjc3EB7Tg?list=PLdESG89G24aOhO0UyFPf-3VlRc_5ZYICm
#video
YouTube
Part 3 ForEachObject
❓ Classes
Methods are used to execute predefined actions. This may be changing a property of the object itself, or a change to the the thing the object represents, or it might be used to generate something new from the object.
Will you see any output in the shell?
#quiz
Methods are used to execute predefined actions. This may be changing a property of the object itself, or a change to the the thing the object represents, or it might be used to generate something new from the object.
class File { [string] $Path Create() { New-Item -Path $this.Path -ItemType File }}$file = [File]@{ Path = "c:\temp\test.txt"}$file.Create()Will you see any output in the shell?
#quiz
🏆 Awesome PowerShell
A curated list of delightful PowerShell packages and resources.
API Wrapper
Blogs
Books
Build Tools
Code and Package Repositories
Commandline Productivity
Communities
Documentation Helper
Editors and IDEs
Frameworks
Interactive Learning
Module Development Templates
Package Managers
Parallel Processing
Podcasts
Security
SharePoint
SQL Server
Testing
Themes
Videos
Webserver
Misc
A curated list of delightful PowerShell packages and resources.
API Wrapper
Blogs
Books
Build Tools
Code and Package Repositories
Commandline Productivity
Communities
Documentation Helper
Editors and IDEs
Frameworks
Interactive Learning
Module Development Templates
Package Managers
Parallel Processing
Podcasts
Security
SharePoint
SQL Server
Testing
Themes
Videos
Webserver
Misc
GitHub
GitHub - janikvonrotz/awesome-powershell: This repository has been moved to https://codeberg.org/janikvonrotz/awesome-powershell.…
This repository has been moved to https://codeberg.org/janikvonrotz/awesome-powershell. Please visit the new location for the latest updates. - janikvonrotz/awesome-powershell
A new Leanpub book project was announced recently.
https://tommymaynard.com/a-book-powershell-to-c-sharp-and-back/
#ebook #notfree
https://tommymaynard.com/a-book-powershell-to-c-sharp-and-back/
#ebook #notfree
🎬 PowerShell 7. Performance Improvements
https://youtu.be/BOCVJOQjYeI?list=PLdESG89G24aOhO0UyFPf-3VlRc_5ZYICm
#video
https://youtu.be/BOCVJOQjYeI?list=PLdESG89G24aOhO0UyFPf-3VlRc_5ZYICm
#video
YouTube
Part 4 Performance