PowerShell SnippetRace 27-2020

PoshGUI, MyInvocation, PS->c#->PS, ExO Mailbox staticsics

Events

7.7.2020 – PowerShell7 Launch Event Austria – live with Steve Lee from the Microsoft PowerShell Team. Get Answers to your most important questions:

  • When shall i start to use PS7?
  • Mixed operations PS7/Windows PowerShell 5.1?
  • Remoting – when will SSH be the standard ?
  • and much more . . .

Registration link is here: https://www.xing.com/events/powershell-7-launch-osterreich-2792996

Snippets

Create GUI Applications with the PoshGUI website

PowerShell is not typically a GUI scripting language, still there are moments when a GUI makes sense. Visit this website to create your PoshGUI with a view clicks. Link

The magic of MyInvocation

When writing scripts, functions and modules, referencing to the current invocation is done with the automatic $MyInvocation variable. See some real magic on how to use it. Link

Book: PowerShell to C# and back

Find the book on leanpub and read it if you want to get deeper into PS Classes and similarities between PS and C#. i admin – i bought it !. Link

Exchange Online Mailbox Staticsics

This script collects several statistics and information from all mailboxes in Exchange Online, such as mailbox size, number of deleted/sent items and their size, quotas, and more. Link

Wish you a great summer, read us next week.

Roman

Photo by Sai Kiran Anagani on Unsplash