Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Verboon alexverboon

View GitHub Profile
View Get-AzureImageSkuInfo.ps1
function Get-AzureImageSkuInfo
{
<#
.Synopsis
Get-AzureImageSkuInfo retrieves the available Azure Image SKUs
.DESCRIPTION
The Get-AzureImageSkuInfo cmdlet retrieves all image SKUs available
in the offers from all publishers
Use this function to identify the parameter values required for the
View Get-LAPSLoggingMode.ps1
function Get-LAPSLoggingMode
{
<#
.SYNOPSIS
Get-LAPSLoggingMode
.DESCRIPTION
Get-LAPSLoggingMode retrieves the ExtensionDebugLevel status from the LAPS Client Side Extension.
Possible values are:
View Set-LAPSLoggingMode.ps1
function Set-LAPSLoggingMode
{
<#
.SYNOPSIS
Set-LAPSLoggingMode
.DESCRIPTION
Set-LAPSLoggingMode sets the ExtensionDebugLevel status for the LAPS Client Side Extension.
Possible values are:
View Get-AzMFAStatus.ps1
function Get-AzMFAStatus
{
<#
.Synopsis
Get-AzMFAStatus
.DESCRIPTION
Get-AzMFAStatus retrieves Multifactor Authentication configuration informationo
from all registered users within an Azure Active Directory tenant.
UserPrincipalName : alex@contoso.com
View Get-DefenderATPStatus.ps1
function Get-DefenderATPStatus
{
<#
.SYNOPSIS
Get-DefenderATPStatus
.DESCRIPTION
Get-DefenderATPStatus retrieves the status of Windows Defender ATP
.PARAMETER Computername
@alexverboon
alexverboon / FlowDefenderATPAlertemail.html
Created Mar 17, 2019
Flow - Defender ATP alert email template
View FlowDefenderATPAlertemail.html
<!-- Windows Defender ATP e-mail alert template -->
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style>
.alertTable {
width:750px;
background-color:white;
border-spacing:5px;
font-size:16px;
@alexverboon
alexverboon / Get-WDATPAlerts.ps1
Created Mar 21, 2019
Retrieve Windows Defender ATP Alerts using RestAPI and PowerShell
View Get-WDATPAlerts.ps1
function Get-WDATPAlerts
<#
.Synopsis
Get-WDATPAlerts
.DESCRIPTION
Get-WDATPAlerts retrieves Windows Defender Advanced Threat Protection alerts exposed
through the Windows Defender Advanced Threat Protection Alerts Rest API.
View Validate-DefenderExclusion.ps1
function Validate-DefenderExclusion
<#
.Synopsis
Validate-DefenderExclusion
.DESCRIPTION
Validate-DefenderExclusion checks whether the specified path or file is excluded.
The cmdlet will return the following information
- The path of the specified folder or file
- The result of the check, True, False or PathNotFound
View Get-DefenderEGEvents.ps1
function Get-DefenderEGEvents
{
<#
.Synopsis
Get-DefenderEGEvents
.DESCRIPTION
Get-DefenderEGEvents retrieves Windows Defender Exploit Guard related events
.PARAMETER Component
View Verify-MSCoreUTransportWhitelists.ps1
function Verify-MSCoreUTransportWhitelists
{
<#
.Synopsis
Verify-MSCoreUTransportWhitelists
.DESCRIPTION
The Verify-MSCoreUTransportWhitelists cmdlet lists whitelisted domains if present