📘 Discovering Provider Specific Commands
https://jdhitsolutions.com/blog/powershell/7604/discovering-provider-specific-commands/
https://jdhitsolutions.com/blog/powershell/7604/discovering-provider-specific-commands/
🎬 How to use Postman and PowerShell to Query API data
https://www.youtube.com/watch?v=WqVD4h8OxS0
#video
https://www.youtube.com/watch?v=WqVD4h8OxS0
#video
YouTube
How to use Postman and PowerShell to Query API data
In this video, I demonstrate how to use Postman, a free API development and testing tool, to format URL’s and make requests against web endpoints and use those URL’s to get data in PowerShell. I also give a quick walk through of viewing the data in PowerShell.…
🏆 A PowerShell Nonsense Challenge
- Create a random, nonsense “word” of a user-specified length, such as ‘jhmoz’
- Create a sentence of nonsense words of a user-specified length. Words should be of varying lengths.
- Create a paragraph of nonsense sentences, of varying lengths.
- Create 10 sample document files of varying paragraph length.
https://ironnoscripter.us/a-powershell-nonsense-challenge/
#challenge #intermediate
- Create a random, nonsense “word” of a user-specified length, such as ‘jhmoz’
- Create a sentence of nonsense words of a user-specified length. Words should be of varying lengths.
- Create a paragraph of nonsense sentences, of varying lengths.
- Create 10 sample document files of varying paragraph length.
https://ironnoscripter.us/a-powershell-nonsense-challenge/
#challenge #intermediate
This media is not supported in your browser
VIEW IN TELEGRAM
💡 Windows Terminal Preview 1.2 Release
https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-2-release
https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-2-release
🎬 PowerShell Setup with Chocolatey and Oh-My-Posh on Windows
https://www.youtube.com/watch?v=S9OTVZtpIvE&feature=youtu.be
#video
https://www.youtube.com/watch?v=S9OTVZtpIvE&feature=youtu.be
#video
YouTube
PowerShell Setup with Chocolatey and Oh-My-Posh on Windows
In this video I go over how I set up my developer environment on Windows 10.
WARNING: I disable UAC and I also Set-ExecutionPolicy Bypass. This is insecure for normal usage and I don't recommend doing this normally. BUT since this is a working session and…
WARNING: I disable UAC and I also Set-ExecutionPolicy Bypass. This is insecure for normal usage and I don't recommend doing this normally. BUT since this is a working session and…
📘 PowerShell Remoting Over SSH, Without SSH!
https://blog.devolutions.net/2020/07/powershell-remoting-over-ssh-without-ssh
https://blog.devolutions.net/2020/07/powershell-remoting-over-ssh-without-ssh
❓ Quiz. Numbers
In PowerShell, we can use several different data types to represent numbers.
The two most common types are:
- Integers. Represent whole numbers.
- Doubles. Typically numbers which include decimal places or exponents.
What type results when you multiply integers and doubles?
#quiz
In PowerShell, we can use several different data types to represent numbers.
The two most common types are:
- Integers. Represent whole numbers.
- Doubles. Typically numbers which include decimal places or exponents.
$Int = 10$Double = 10.0$Result = $Int * $DoubleWhat type results when you multiply integers and doubles?
$Result.GetType().Fullname#quiz
This media is not supported in your browser
VIEW IN TELEGRAM
📦 Green Means Go - A (Visual) Mutex Demo
Why do I care?
More than likely you don't. But, if your noscript does some Asynchronous-Fu (think Jobs or ThreadJobs) and those worker-jobs share a log file you're gonna need a mutex. Otherwise those jobs will be stepping on each other - log entries will be missed...exceptions will be thrown...crying and nashing of teeth sort-of-thing.
Why do I care?
More than likely you don't. But, if your noscript does some Asynchronous-Fu (think Jobs or ThreadJobs) and those worker-jobs share a log file you're gonna need a mutex. Otherwise those jobs will be stepping on each other - log entries will be missed...exceptions will be thrown...crying and nashing of teeth sort-of-thing.
📦 PSScriptAnalyzer 1.19.1
New Rule: AvoidUsingDoubleQuotesForConstantString (disabled by default)
When the value of a string is constant (i.e. not being interpolated by injecting variables or expression into such as e.g.
#module
New Rule: AvoidUsingDoubleQuotesForConstantString (disabled by default)
When the value of a string is constant (i.e. not being interpolated by injecting variables or expression into such as e.g.
"$PID-$(hostname)"), then single quotes should be used to express the constant nature of the string.#module
This media is not supported in your browser
VIEW IN TELEGRAM
📦 Oh-my-posh. A prompt theming engine for Powershell
Features:
- Easy installation
- Awesome prompt themes for PowerShell in ConEmu
- Git status indications (powered by posh-git)
- Failed command indication
- Admin indication
- Current session indications (admin, failed command, user)
- Configurable
- Easily create your own theme
- Separate settings for oh-my-posh and posh-git
- Does not mess with the default Powershell console
Features:
- Easy installation
- Awesome prompt themes for PowerShell in ConEmu
- Git status indications (powered by posh-git)
- Failed command indication
- Admin indication
- Current session indications (admin, failed command, user)
- Configurable
- Easily create your own theme
- Separate settings for oh-my-posh and posh-git
- Does not mess with the default Powershell console
This media is not supported in your browser
VIEW IN TELEGRAM
💡 Public Preview of Notebook Mode for VSCode
This provides the ability to open PowerShell noscripts (.ps1 files) in a Notebook-like view without having to fully adopt something like Jupyter Notebooks or .NET Interactive Books.
This provides the ability to open PowerShell noscripts (.ps1 files) in a Notebook-like view without having to fully adopt something like Jupyter Notebooks or .NET Interactive Books.
❗ The Send-MailMessage cmdlet is obsolete.
SmtpClient doesn't support many modern protocols. It is compat-only. It's great for one off emails from tools, but doesn't scale to modern requirements of the protocol.
PS. Use MailKit or other libraries.
SmtpClient doesn't support many modern protocols. It is compat-only. It's great for one off emails from tools, but doesn't scale to modern requirements of the protocol.
PS. Use MailKit or other libraries.
🎬 How to Use .NET Interactive Jupyter Notebooks in Daily Work-Life | Data Exposed: MVP Edition
[01:04] Why use notebooks
[02:01] Demo
[04:15] Display notebooks in GitHub
[04:52] Get your own .NET Interactive notebook
[05:26] Edit .NET Interactive notebooks in Azure Data Studio
[07:37] SQL Instance Permissions
https://www.youtube.com/watch?v=W-F0gO7dVOE
#video
[01:04] Why use notebooks
[02:01] Demo
[04:15] Display notebooks in GitHub
[04:52] Get your own .NET Interactive notebook
[05:26] Edit .NET Interactive notebooks in Azure Data Studio
[07:37] SQL Instance Permissions
https://www.youtube.com/watch?v=W-F0gO7dVOE
#video
YouTube
How to Use .NET Interactive Jupyter Notebooks in Daily Work-Life | Data Exposed: MVP Edition
Jupyter Notebooks are best known as tools for Data Scientists to display Python, Spark or R noscripts. A Jupyter Notebook enables you to share words, images, code AND code results. .NET interactive Jupyter notebooks add c sharp, f sharp and PowerShell core…
🎬 Skylines Summer Session, Adam Bertram
Premiere Date: Aug 4, 2020
- About Adam
- The Difference Between #PowerShell and PowerShell Core
- Adam's Go-to Modules
- What Tool Adam uses when creating PowerShell Scripts
- Demo: How to notice patterns when writing PowerShell and how to encapsulate patterns into functions
- Where the name Adam the Automator came from
- Adam's Hobby: Remote Control Cars
https://www.youtube.com/watch?v=7TCke2s0Lto&feature=youtu.be
Premiere Date: Aug 4, 2020
- About Adam
- The Difference Between #PowerShell and PowerShell Core
- Adam's Go-to Modules
- What Tool Adam uses when creating PowerShell Scripts
- Demo: How to notice patterns when writing PowerShell and how to encapsulate patterns into functions
- Where the name Adam the Automator came from
- Adam's Hobby: Remote Control Cars
https://www.youtube.com/watch?v=7TCke2s0Lto&feature=youtu.be
YouTube
PowerShell - Adam Bertram
In this Skylines Summer Session, Adam Bertram, #Microsoft #MVP, is interviewed by Richard Hooper and Gregor Suttie and discusses:
- About Adam
- The Difference Between #PowerShell and PowerShell Core
- Adam's Go-to Modules
- What Tool Adam uses when creating…
- About Adam
- The Difference Between #PowerShell and PowerShell Core
- Adam's Go-to Modules
- What Tool Adam uses when creating…
🗓️ SEC505: Securing Windows and PowerShell Automation
Jason Fossen's six-day PowerShell for the Blue Team course is currently hosted by the SANS Institute as course SEC505: Securing Windows and PowerShell Automation.
https://www.sans.org/course/securing-windows-with-powershell
#notfree
Jason Fossen's six-day PowerShell for the Blue Team course is currently hosted by the SANS Institute as course SEC505: Securing Windows and PowerShell Automation.
https://www.sans.org/course/securing-windows-with-powershell
#notfree
Semantic Highlighting in the PowerShell Preview extension for Visual Studio Code
https://devblogs.microsoft.com/powershell/semantic-highlighting-in-the-powershell-preview-extension-for-visual-studio-code/
https://devblogs.microsoft.com/powershell/semantic-highlighting-in-the-powershell-preview-extension-for-visual-studio-code/