Skip to content

Instantly share code, notes, and snippets.

@mr-scripting
mr-scripting / API_Connections_Governance.ps1
Created August 2, 2022 19:17
API_Connections_Governance
<#
.SYNOPSIS
This script lists all Logic app api connections v1 and shows which apis belong
to which Logic app.It also lists the orfan apis
.DESCRIPTION
This script lists all Logic app api connections v1 and shows which apis belong
to which Logic app.It also lists the orfan apis
.NOTES
This script was created by the Microsoft Engineer Yanbo Deng
.LINK
@mr-scripting
mr-scripting / SetADPassword
Last active June 6, 2022 10:40
Powershell Change AD Password
Set-ADAccountPassword -Identity elisada -OldPassword (ConvertTo-SecureString -AsPlainText "oldPassword" -Force) -NewPassword (ConvertTo-SecureString -AsPlainText "#newP@ssword" -Force)
@mr-scripting
mr-scripting / Get-OwnedAppRegistrations
Last active June 1, 2022 10:16
Gets all owned app registrations
# Get all Azure AD applications (app registrations) owned by me
Install-Module -Name Az.Resources -Force -ErrorAction SilentlyContinue
Get-AzADApplication -OwnedApplication
sh -x script [arg1 …]
bash -x script [arg1 …]
#disable debug
set +x
#enable debug