Skip to content

Instantly share code, notes, and snippets.

@tsadmin365
tsadmin365 / warner-bicep-2022.md
Created February 18, 2022 00:16 — forked from timothywarner/warner-bicep-2022.md
Azure Bicep Quick Start by Tim Warner (@TechTrainerTim)
function Get-RdpLogonEvent
{
[CmdletBinding()]
param(
[Int32] $Last = 10
)
$RdpInteractiveLogons = Get-WinEvent -FilterHashtable @{
LogName='Security'
ProviderName='Microsoft-Windows-Security-Auditing'