This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Enable or disable service plan options within each license package while respecting current configuration for each user. | |
.DESCRIPTION | |
Even when using PowerShell, Microsoft doesn’t make it simple when it comes to adjusting licensing in bulk and service plan | |
options/apps within. Mainly that is because there is no easy way to keep a current configuration – | |
any license change you apply to a user overwrites their existing setup. | |
To address that letdown I created a script you can find below. | |
.WARNING | |
This script assumes you are already connected to the right services and have all modules installed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Change domain of all office 365 users. | |
.DESCRIPTION | |
This script change the domain of all office 365 users on your tenant. | |
This change the "userPricipalName". | |
.WARNING | |
This script assumes you are already connected to the right services and have all modules installed. | |
.EXAMPLE | |
Execute the script and type your choices. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# URL is for if you want to host your own copy of this payload | |
$url = "https://s.topchretien.com/media/filer_public_thumbnails/filer_public/e1/79/e179cc79-d3b4-4004-9c21-bacb3677d7da/homme_laid-_humour.jpg__770x433_q85_crop_subsampling-2_upscale.jpg" | |
$wp = "$Env:tmp\---wp.png" | |
iwr $url -O $wp | |
Function Set-WallPaper { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Encryption seeds for Pro Action Replay v3/4 | |
Seeds = [ | |
0x7AA9648F, | |
0x7FAE6994, | |
0xC0EFAAD5, | |
0x42712C57 | |
] | |
def decrypt(opcode, operand): | |
for i in range(32, 0, -1): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Office 365 : Set immutableID to $null | |
.DESCRIPTION | |
This script set immutableID for an Office 365 user to $null value. | |
.EXAMPLE | |
.\Set_immutableid_to_null.ps1 | |
#> | |
# Connexion à l'API Graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
This script manages Exchange Online calendar permissions for one or more users. | |
.DESCRIPTION | |
This script first checks if the ExchangeOnlineManagement module is installed and installs it if necessary. | |
Then, it connects to Exchange Online and retrieves the current permissions on the specified users' calendars. | |
The user can then choose to add, update, or remove permissions on the calendars, specifying the target user and the permissions to grant. | |
The changes are then made to the relevant calendars. |
OlderNewer