Friday, May 3, 2024
HomePowershell2021: A PowerShell Yr in Evaluation

2021: A PowerShell Yr in Evaluation


2021 was fairly the 12 months for PowerShell. We noticed loads of first and enhancements within the platform. Not simply from Microsoft however the neighborhood as a complete. I additionally personally hit a number of milestones.

Firstly, comfortable 15th birthday to PowerShell.

This 12 months was additionally an enormous 12 months for me. My e book Sensible Automation with PowerShell was launched for early entry. You should purchase the eBook now and skim chapters 1-8 immediately, with chapters September 11 coming very quickly. The complete e book might be obtainable this spring in eBook or hardcopy. This e book goals that will help you take your PowerShell expertise to the subsequent degree and create full enterprise-ready automations.

Sadly, my weblog posting has slowed a bit resulting from writing a complete e book, however I did hit the 100th version milestone for PowerShell Weekly. And I’m planning some redesigns for it later this 12 months.

This 12 months additionally marked my Podcast debut on IT Actuality Podcast. I used to be additionally honored to current Automate Your Whole Server Patching Course of for PowerShell Southampton and Automate the Admin for the New York PowerShell Meetup.

I’m wanting ahead to persevering with my journey with PowerShell and know-how on the whole. However I do know most of you aren’t right here to examine me, so right here is my recap of a few of the highlights from this 12 months.

PowerShell Staff

The PowerShell crew at Microsoft has a busy 12 months. me different firsts for PowerShell this 12 months.

  • PowerShell 7 noticed 12 totally different manufacturing releases, together with 7.2.0 in November, adopted shortly by 7.2.1 in December. There have been additionally 11 preview and RC releases.
  • SecretManagement and SecretStore modules are made usually obtainable, giving PowerShell a safe, repeatable, customizable option to retailer and retrieve passwords and secrets and techniques inside your scripts/automations.
  • PowerShell 7.2 updates are made obtainable by way of Microsoft Replace
  • Azure AD modules have been migrated to Graph
  • PowerShell Crescendo 0.7.0-Preview.4 is launched. Getting us one step nearer to having a production-ready framework to develop PowerShell cmdlets for native OS instructions. On any platform.
  • PowerShellGet 3.0 Preview 12 Launch contains extra parameters, further pipeline assist, extra wildcard assist and quite a lot of different options detailed within the hyperlink offered.

The Group

Some exceptional and noteworthy neighborhood contributions from this 12 months.

  • @kieranwalsh made slightly PowerShell script to scan all regionally put in modules and replace them.
  • @Christopher83 with an incredible tip about utilizing CTRL+SPACE to get an inventory of cmdlets.
  • @Jaap_Brasser developed a unbelievable module to assist configure Home windows 11.
  • @SimonWahlin launched the MyTesla module to automate your Tesla. As a result of why not!
  • @Ba4bes wrote a submit exhibiting you to create an API to seek out an Azure useful resource abbreviation. And the best way to flip it into an Azure Operate App. All with PowerShell.
  • @TylerLeonhardt launched Inline Values assist for PowerShell. Permitting you to degree up your PowerShell debugging by seeing values of variables proper inline within the VS Code editor.
  • u/Kathy_Cooper1012 shared a script to audit Workplace 365 person’s exercise with PowerShell.
  • u/rumorsofdemise exhibits the best way to take a look at connectivity to ports from a server.
  • u/MadBoyEvo with the one command you’ll ever want to know and repair your Group Insurance policies (GPO).

PowerShell and Safety

I don’t learn about the remainder of you, nevertheless it felt like each time we completed resolving some main vulnerability, one other would pop up. Thank full the neighborhood and PowerShell have been there to assist us via a few of the powerful instances.

  • @0gtweet with a script to remotely cease all spoolers the place solely default printers exist. #PrintNightmare
  • @sstranger created Get-Log4shellVuln.ps1 to scan all native drives for the presence of log4j jar recordsdata and analyzed the contents of the jar file to find out whether it is susceptible to log4shell (CVE-2021-44228) vulnerability
  • @darkQuassar  launched a brand new package deal known as AzureHunter, a Cloud Forensics Powershell module to run menace looking playbooks on Azure UnifiedAuditLog knowledge.

Prime 10 PowerShell Weekly Hyperlinks

These hyperlinks have been probably the most visited from PowerShell Weekly Publication

  1. Jeff Hicks: Higher Occasion Logs with PowerShell
  2. u/DustinDortch: Why is  += so frowned upon?
  3. Kelvin Tegelaar: Tech in 5 minutes: Azure Features
  4. Grzegorz Tworek: StopAndDisableDefaultSpoolers.ps1
  5. Adam Driscoll: Search Every part with PowerShell
  6. Idera: Discovering System Paths
  7. Change Staff: EXO V2 PowerShell module is now Usually Obtainable on Linux & macOS
  8. Ioan Popovici: Clear-ADInactiveDevice
  9. Adam Driscoll: It is a PowerShell syntaxtechnique I used to be unaware of till in the present day.
  10. Damien Van Robaeys: OneDrive and PowerShell: Get measurement and measurement on disk.

Modules

These modules have been both launched this 12 months or obtained notable updates.

  • Pester v5.3.1 Pester supplies a framework for working BDD model Checks to execute and validate PowerShell instructions within PowerShell. Model 5.3.x included a bunch of latest performance, together with a brand new Code Protection mode, configure output for failed assessments, computerized CI detection, and far more.
  • PSSlack v1.0.6 PowerShell module for the Slack API. Model 1.0.6 was launched with a number of enhancements and updates.
  • Foil v0.1.0 A PowerShell Crescendo wrapper for Chocolatey – https://github.com/ethanbergstrom/Foil
  • PnP.PowerShell v1.9.0 Microsoft 365 Patterns and Practices PowerShell Cmdlets
  • Posh-SSH v3.0.0 Offers SSH and SCP performance for executing instructions towards distant hosts.

I do know this submit doesn’t even come near capturing even a small quantity of neighborhood contributions. So please be happy to remark or contact me with those you assume ought to be included.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments