PowerShell SnippetRace 40/41-2022

Graph, Send Mail, Azure Function, Remoting, copy AD-attributes

Events

  • Microsoft Ignite 12-14 October Online
  • PowerShell Workshop (MS-Graph, PowerShellGet, news around PS), 19. November 2022 (tbd)

Snippets

Sending e-mails in Exchange online in a post-basic-authentication world

Basic SMTP Auth is dead and thats ok froma security perspective. Sone old habits dont work anymore, like the Send-MailMessage Commandlet from the 2.x ExchangeOnlineManagement Module. Przemyslaw Klys from EvoTec in Poland wrote an entertaining blog-article about the above change, impacts and new possibilities with Microsoft Tools and the great Mailozaurr Module to get back on track with sending E-mails via the command line.

Building PowerShell Azure Functions with VS Code (Series 1)

When Microsoft announced Azure Functions, the call for PowerShell support was big. Now its there – so we should use it. Read and follow this blog series about PowerShell Azure Functions.

PowerShell Remoting – the Ultimate Guide

This article is from 2021, but still valid (had it in my favorites list). As we still have some hybrid-style remoting with WinRM and SSH as option, reading through this blog-post may bring some light into the darkness.

Change or copy (multivalued) Active Directory attributes with PowerShell

Also an older article, but pretty interesting. When a user has an Attribute set to a specific value, how do i copy this value to another user account ?

Have a nice week ! R.

Photo by Markus Spiske on Unsplash