Skip to content

Instantly share code, notes, and snippets.

View PatrickLang's full-sized avatar

Patrick Lang PatrickLang

  • Washington, USA
View GitHub Profile
@jeffpatton1971
jeffpatton1971 / Get-WinEventTail.ps1
Last active December 14, 2023 16:59
This function will allow you to tail Windows Event Logs. You specify a Logname for either the original logs, Application, System and Security or the new format for the newer logs Microsoft-Windows-PowerShell/Operational
Function Get-WinEventTail
{
<#
.SYNOPSIS
A tail cmdlet for Eventlogs
.DESCRIPTION
This function will allow you to tail Windows Event Logs. You specify
a Logname for either the original logs, Application, System and Security or
the new format for the newer logs Microsoft-Windows-PowerShell/Operational
.PARAMETER LogName
@minatoaquaMK2
minatoaquaMK2 / rke2-with-cilium-on-wsl2.md
Last active July 28, 2023 16:45
Install RKE2 with Cilium on WSL2

Install RKE2 with Cilium on WSL2

Compiling your own WSL2 Kernel for Cilium

  1. Run a Docker container to build the image
  2. docker run --name wsl-kernel-builder --rm -it [email protected] bash
    

    from inside the container (now bash):