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/
❗ Future improvements to DSC support in PowerShell 7.1
Open discussion on GitHub -> DSC resource platform changes to use JSON instead of MOF.
https://github.com/PowerShell/PowerShell/issues/13359
#DSC
Open discussion on GitHub -> DSC resource platform changes to use JSON instead of MOF.
https://github.com/PowerShell/PowerShell/issues/13359
#DSC
GitHub
DSC resource platform changes to use JSON instead of MOF · Issue #13359 · PowerShell/PowerShell
Problem Statement As we continue to make DSC more viable cross-platform, we have a serious problem with MOF. MOF parsing is provided by MMI.dll (there is both native code and managed code). MMI its...
This media is not supported in your browser
VIEW IN TELEGRAM
💡Finally something useful!
#fun
$a = @"(>'-')>#^('-')^#<('-'<)#^('-')^"@$i = 0do { foreach ($frame in $($a.Split("#").Trim())) { Clear-Host Write-Output "$frame`n`n`n" Start-Sleep -Milliseconds 250 } $i++} until ($i -eq 50)#fun
📘Use PowerShell to apply vRealizeOps rightsizing recommendations.
https://mycloudrevolution.com/en/2020/07/31/noscript-apply-rightsizing-recommendations/
https://mycloudrevolution.com/en/2020/07/31/noscript-apply-rightsizing-recommendations/
my cloud-(r)evolution
Script - Apply Rightsizing Recommendations - my cloud-(r)evolution
Rightsizing starts with how to get users to order the right size of VM and then leads to how to Apply Rightsizing Recommendations to existing vSphere VMs.