Added list-mDNS.ps1

This commit is contained in:
Markus Fleschutz 2024-05-25 14:56:43 +02:00
parent f70946156f
commit c08c36b456

2
scripts/list-mDNS.ps1 Normal file
View File

@ -0,0 +1,2 @@
Get-NetUDPEndpoint -localPort 5353 | Select-Object LocalAddress,LocalPort,OwningProcess,@{ Name="Process"; Expression={((Get-Process -Id $_.OwningProcess).Name )} }
exit 0 # success