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. |
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
# 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
# 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
<# | |
.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
<# | |
.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
net stop spooler | |
del /q /s C:\Windows\System32\spool\PRINTERS\* | |
net start spooler | |
pause |
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 | |
Set an out of office message for o365 users by list between two datetime. | |
.DESCRIPTION | |
The script create a exchange powershell session and browse an external list from file to set an o365 out of office message for every occurences on the file between two datetime | |
.EXAMPLE | |
Create a txt file with all the email adress you have to set an out of message with this form : | |
email@adress.com | |
email2@adress.com | |
email3@adress.com |
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 | |
Steals the wifi information from the computer and send it by email. | |
.DESCRIPTION | |
The script retrieves the wifi information, parses them, sends this information by email and erases the traces. | |
.EXAMPLE | |
.\Wi-fi_Password_Stealer_Email.ps1 | |
#> | |
#Creation of the temp directory and moving into it |
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 | |
Renames an Office 365 group. | |
.DESCRIPTION | |
This script is used to rename an Office 365 group. | |
.EXAMPLE | |
Change "Identity" and "DisplayName" parameters before running this script. | |
.\Rename_O365_Group.ps1 |
NewerOlder