mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

581
comptes actifs

#powershell

1 message1 participant0 message aujourd’hui

Practical Graph: Creating Dynamic Microsoft 365 Groups without Entra P1 Licenses

Dynamic Microsoft 365 Groups come with many advantages, but they also require Entra P1 licenses. This article explores how to create and maintain a DIY version of dynamic Microsoft 365 groups using the Microsoft Graph PowerShell SDK and Azure Automation. At the end of the day, the principle is proven, but maybe it's best to pay for the licenses.

practical365.com/diy-dynamic-m
#Microsoft365 #PowerShell

Practical 365 · Practical Graph: Creating Dynamic Microsoft 365 Groups without Entra P1 LicensesDynamic Microsoft 365 Groups come with many advantages, but they also require Entra P1 licenses. This article explores how to create and maintain a DIY version of dynamic Microsoft 365 groups using the Microsoft Graph PowerShell SDK and Azure Automation. At the end of the day, the principle is proven, but maybe it's best to pay for the licenses.

Phew! 🥳 This little #powershell gem saved my ass today when I tried to migrate a #Signal Desktop install to another Windows PC.
(Not a thing officially supported by @signalapp)

The database encryption key itself is device-specifically encrypted using the „Data Protection API“ (haha) #DPAPI, so signal can't decrypt it on the new machine.

Using a legacy parameter, you can put the unencrypted key on the old machine, transfer it to the new one and have it re-encrypted.

github.com/MatejKafka/PSSignal

GitHubGitHub - MatejKafka/PSSignalDecrypt: A PowerShell script to decrypt your Signal Desktop config, allowing you to move the database to a new computer.A PowerShell script to decrypt your Signal Desktop config, allowing you to move the database to a new computer. - MatejKafka/PSSignalDecrypt

Maintaining a Microsoft 365 Retention Policy with PowerShell

The Connect-IPPSSession cmdlet is needed to connect to the Security and Compliance endpoint to update a Microsoft 365 retention policy. Unhappily, the Security and Compliance module doesn’t support managed identities, which makes it harder to run Connect-IPPSSession securely in an Azure Automation runbook. In the end, we use a credential stored in the automation account. And then we had to disable WAM. All explained here.

office365itpros.com/2025/08/12
#Microsoft365 #PowerShell

Office 365 for IT Pros · Running Connect-IPPSSession to Update a Retention PolicyThe Connect-IPPSSession cmdlet is needed to connect to the Security and Compliance endpoint to update a Microsoft 365 retention policy.

iX-Workshop: Windows Server absichern und härten

Lernen Sie, wie Sie Ihren Windows Server effektiv absichern und härten, Schutzmaßnahmen integrieren, Konfigurationen optimieren und Angriffsszenarien bewerten.

heise.de/news/iX-Workshop-Wind

heise online · iX-Workshop: Windows Server absichern und härtenPar Ilona Krause

Creating a Microsoft 365 Retention Policy for Shared Mailboxes

After being asked whether licenses are needed to include shared mailboxes in Microsoft 365 retention policies, I investigated and found that licenses are not. This led to a consideration of the steps needed to create a special retention policy for shared mailboxes (with PowerShell, naturally) and how to avoid retention setting collisions with other policies. All explained in detail here.

office365itpros.com/2025/08/05
#Microsoft365 #PowerShell

Office 365 for IT Pros · Creating a Microsoft 365 Retention Policy for Shared MailboxesAfter being asked whether licenses are needed to include shared mailboxes in Microsoft 365 retention policies, I investigated and found that licenses are not.

How Microsoft Graph PowerShell SDK Access Tokens Work

If you use the Microsoft Graph PowerShell SDK, you don’t need to worry about obtaining an access token because SDK cmdlets include automatic token management. Although you don’t need to know the details of the access token used in an SDK session, it’s possible to find and examine its contents, and even use the token with a Graph request. Knowing the details of the access token is something that you’ll probably never need in practice, but good to know none the same.

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

Office 365 for IT Pros · How Access Tokens Work with the Graph PowerShell SDKIf you use the Microsoft Graph PowerShell SDK, you don't need to worry about obtaining an access token because the SDK includes automatic token management.

iX-Workshop: Windows Server absichern und härten

Lernen Sie, wie Sie Ihren Windows Server effektiv absichern und härten, Schutzmaßnahmen integrieren, Konfigurationen optimieren und Angriffsszenarien bewerten.

heise.de/news/iX-Workshop-Wind

heise online · iX-Workshop: Windows Server absichern und härtenPar Ilona Krause

August 2025 Update for Automating Microsoft 365 with PowerShell eBook

The August 2025 update for the Automating Microsoft 365 with PowerShell eBook is available for subscribers to download. The eBook now includes over 350 content-rich pages packed full of practical examples of how to use PowerShell to automate Microsoft 365 operations. It’s an essential tool for anyone who needs to use PowerShell in a Microsoft 365 environment.

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

Office 365 for IT Pros · Automating Microsoft 365 with PowerShell eBook Version 14The August 2025 update for the Automating Microsoft 365 with PowerShell eBook is available for subscribers to download.
A répondu dans un fil de discussion

@gsuberland

In fairness, that's a culture that the GNOME, KDE, et al. desktop people changed by doing, years ago.

They've had long meaningful names, with more than 1 vowel in, in the desktop applications world for years.

When it comes to nomenclature "st" actually sucks *more* as a name to unfamiliar users than "gnome-terminal". (-:

It's the same sort of deal with the "convenience" aliases versus the full cmdlet names in #PowerShell.

New Powershell Module "ContextCache"

🔄 Need to access local variables from a PowerShell function without entering a debugging session?
ContextCache lets you save & restore all local vars at any point in the same terminal. Perfect for ad-hoc testing & step-tracing!
📦 github.com/Callidus2000/Contex
#PowerShell #Debugging

GitHubGitHub - Callidus2000/ContextCache: Powershell module for saving/restoring variables for debuggingPowershell module for saving/restoring variables for debugging - Callidus2000/ContextCache

How to Remove Members from Microsoft 365 Groups with PowerShell

After writing about how to copy group memberships from one user to another, the question arises about removing members from groups. The answer is straightforward when dealing with members of distribution lists and mail-enabled security groups, but things become more complicated when working with Microsoft 365 groups and it’s important to handle group owners correctly.

office365itpros.com/2025/07/23
#Microsoft365 #MicrosoftGraph #PowerShell

Office 365 for IT Pros · Removing Members from Groups with PowerShellAfter writing about how to copy group memberships from one user to another, the question arises about removing members from groups.
A répondu dans un fil de discussion

@chfkch
Nice, never heard of #Atuin before. Might be because I use Windows and #PowerShell for work 98% of the time 😉.
As cool as Atuin seems, my CmdFav isn’t meant to replace the built-in history. It’s more for the kind of stuff that’s “too complex to type/invent multiple times but not relevant enough to store in a script/module.”
Like: “Query credentials, connect to API backend, export data to Excel.”
I hate remembering the correct server names 🤣

🚀 New version of CmdFav released!
A PowerShell module to manage your most-used commands – even multiline ones – and share them across teams.
✨ Features: • Save commands with tags & descriptions
• Organize in multiple repositories
• Export/Import via JSON
• Team-friendly sharing
📦 Install via PowerShell Gallery: Install-Module CmdFav
🔗 github.com/Callidus2000/CmdFav
#PowerShell #DevOps #CLI

Copying Group Membership with the Microsoft Graph PowerShell SDK

Sometimes tenants need to copy group membership from one user to another. Often PowerShell is used, but with the demise of the Azure AD module you might need to update the script that you use. Things are a little more complicated when using the Graph, but where there’s a will, there’s a way. Here’s how to use the Graph PowerShell SDK to do the job.

office365itpros.com/2025/07/08
#Microsoft365 #PowerShell

Office 365 for IT Pros · Hiw to Copy Group Membership from One User to AnotherSometimes tenants need to copy group membership from one user to another. Often Powershell is used, and here's how to use the Graph SDK to do the job.