veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

208
active users

#powershell

15 posts15 participants0 posts today

Automating Microsoft 365 with PowerShell Update #11

Update #11 for the Automating Microsoft 365 with PowerShell eBook is now available for subscribers to download. The eBook is now over 300 pages long and includes extensive coverage of using PowerShell to interact with Exchange Online, Teams, Planner, SharePoint Online, and OneDrive for Business data using workload modules or the Graph APIs (and Microsoft Graph PowerShell SDK).

office365itpros.com/2025/04/28
#PowerShell #Microsoft365

Automating Microsoft 365 with PowerShell Update #11
Office 365 for IT Pros · Automating Microsoft 365 with PowerShell Update #11Update #11 for the Automating Microsoft 365 with PowerShell eBook is now available for subscribers to download. The eBook is now over 300 pages long.

PowerShell Weekly for April 25, 2025

programming.dev/post/29216947

programming.devPowerShell Weekly for April 25, 2025 - programming.dev## Announcements! - PowerShell v7.5.1 [https://github.com/PowerShell/PowerShell/releases/tag/v7.5.1] Come and get the latest and greatest! ## Blogs, Articles, and Posts - Restrict and report logon hours for Active Directory accounts [https://4sysops.com/archives/restrict-and-report-logon-hours-for-active-directory-accounts/] For security purposes, it may be beneficial to restrict Active Directory account logins to regular working hours. These logon times can be configured using the calendar widget in Active Directory Users and Computers (ADUC). However, PowerShell provides a more efficient and flexible alternative, particularly because it offers reporting capabilities that the graphical interface does not. - How to Report the Sponsors of Entra ID Guest Accounts [https://office365itpros.com/2025/04/18/guest-accounts-sponsors/] Entra ID populates the sponsor property for new guest accounts with details of the person who invites the guest to the tenant. It’s data that can be used for different purposes, such as having someone to justify the continued presence of a guest account in a Microsoft 365 tenant. This article explains how to report guest accounts and their sponsors with some straightforward PowerShell. - Why aligning equals signs in PowerShell hash tables matters [https://mikefrobbins.com/2025/04/23/why-aligning-equals-signs-in-powershell-hash-tables-matters/] If you ever formatted a hash table in PowerShell, you know how easy it is to focus on function over form. But what if one minor formatting tweak could improve readability, reduce syntax errors, simplify code reviews, and enhance script maintainability? - Windows PowerToys 2 in 1 Short cuts [https://blog.ifconfig.pro/2025/04/16/windows-powertoys-2-in-1-short-cuts/] In Windows 11 there’s a really powerful set of tools called “Microsoft PowerToys“. Within the features there’s a section to make your own shortcut hot keys under “Keyboard Manager” - Tab completions in PowerShell [https://www.damirscorner.com/blog/posts/20250425-TabCompletionsInPowerShell.html] While learning about Fast Node Manager, I noticed completions for PowerShell being mentioned in the documentation. I wasn’t aware of completions beyond filenames and cmdlets were even supported in PowerShell. I decided to try them out with Fast Node Manager first and then check if they are available for other command line tools I regularly use. - How to post on Bluesky with PowerShell [https://blog-en.topedia.com/2025/04/how-to-post-on-bluesky-with-powershell/] I wanted to know how to use the Bluesky APIs and PowerShell for new posts (or Skeets). Bluesky has published a sample to post via code, also they have very good documentation about their API. ## Books, Media, and Learning Resources - Video: Windows Server App Control and Azure Arc [https://www.thomasmaurer.ch/2025/04/video-windows-server-app-control-and-azure-arc/] Are you looking for ways to enhance the security of your Windows Server environment? In this video, we explore how to leverage App Control to secure your Windows Server and manage it at scale using Microsoft Azure Arc. - PowerShell Execution Policy: A Comprehensive Guide [https://www.spguides.com/powershell-set-execution-policy/] Have you encountered an error “execution of scripts is disabled on this system” while trying to run a PowerShell script? I am sure you must have at least at the beginning. This is because of PowerShell’s execution policy settings. In this article, I will walk you through everything you need to know about PowerShell execution ## Community - The Powershell Podcast Summit sessions with Adam Rivera, Asmar Fontenot, & Luis Orta [https://powershellpodcast.podbean.com/e/the-powershell-podcast-summit-sessions-with-adam-rivera-asmar-fontenot-luis-orta/] In this episode of the PowerShell Podcast, we bring you another Summit Sessions special recorded live at the PowerShell + DevOps Global Summit 2025! This episode is a celebration of first-time attendees, newcomers to the PowerShell community, and those discovering their voice in tech. Andrew Pla sits down with passionate IT professionals who share their personal stories of growth, connection, and finding purpose through PowerShell and community. ## Fun - PSPodcast [https://github.com/jdhitsolutions/PSPodcast] A few commands to get and display information of episodes of The PowerShell Podcast. - Basically me to my new coworkers this week. [https://bsky.app/profile/leekydesu.bsky.social/post/3ln2mycettc2v] 100% agree! ## Events - Rolling Your Own Configuration as Code Toolset [https://rtpsug.com/meetups/2025/04/01/May-7th-2025-Meetup] Lucas will demo his home-grown toolset which includes custom PowerShell modules for maintaining the environment, the Microsoft.PowerShell.SecretManagement module for managing automation credentials, GitHub for versioning and collaboration and good old Window Task Scheduler. - PowerShell Conference Europe 2025 [https://psconf.eu/] 23-26 June 2025 Check out psweekly.dowst.dev [https://psweekly.dowst.dev/] for all past editions as well as a searchable archive.

I tried to figure out how to change the default font in #Outlook (being annoyed that I would have to change it in 2 places if doing it manually through File > Options > Mail > Compose messages > Stationery and Fonts for New mail messages and for Replying or forwarding messages)

I asked #MSCopilot

It proposed the #PowerShell command
Set-MailboxMessageConfiguration -Identity $userPrincipalName -FontName $fontname

Turns out that is wrong. Correct is
Set-MailboxMessageConfiguration -Identity $userPrincipalName -DefaultFontName $fontname

While the AI help me to get on the right track, this demonstrates how dangerous (blindly) trusting the AI result is.

If this wouldn't have been easily verifiable (because it was basically a single line of code) and didn't fail it could have caused any serious of problems.