Skip to content

Instantly share code, notes, and snippets.

View J0rtIT's full-sized avatar
🌋
https://www.faboit.com https://Twitch.tv/j0rt

Jose Gabriel Ortega Castro J0rtIT

🌋
https://www.faboit.com https://Twitch.tv/j0rt
View GitHub Profile
@J0rtIT
J0rtIT / EnableModernAuth.Reg
Created October 23, 2022 21:09
Outlook2013-ModernAuth
Registry key,Type,Value
HKEY_CURRENT_USER\Software\Microsoft\Exchange\AlwaysUseMSOAuthForAutoDiscover,REG_DWORD,1
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity\EnableADAL,REG_DWORD,1
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity\Version,REG_DWORD,1
@J0rtIT
J0rtIT / Get-GroupsMemberByUser.ps1
Last active June 4, 2022 02:03
Script to gather Groups membership by user in Office365
<#
.Synopsis
Gather groups membership by user in all O365 Tenant.
Medium Article: https://j0rt3g4.medium.com/report-with-all-the-group-membership-by-the-user-in-office-365-ca48a2398072
.DESCRIPTION
Gather the membership by user in all O365 Groups
.EXAMPLE
.\Get-GroupsMemberByUser.ps1
Get the membership saved into Variable $Report and show it on screen
.EXAMPLE
@J0rtIT
J0rtIT / xmlToString.ps1
Created April 16, 2020 05:27 — forked from vors/xmlToString.ps1
PowerShell function to convert any [xml] element to string
function Convert-XmlElementToString
{
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
$xml
)
$sw = [System.IO.StringWriter]::new()
$xmlSettings = [System.Xml.XmlWriterSettings]::new()