Skip to content

Instantly share code, notes, and snippets.

View AgainPsychoX's full-sized avatar

Patryk Ludwikowski AgainPsychoX

  • Poland
View GitHub Profile
@Wra7h
Wra7h / Get-ProcessPipes.ps1
Last active May 3, 2024 00:41
Use PowerShell to get the PIDs associated with Named Pipes
function Get-ProcessPipes{
param(
[Parameter(Mandatory=$false)]
[string]$CSV,
[Parameter(Mandatory=$false)]
[switch]$All
)
Add-Type -TypeDefinition @"
using System;