Last active
October 16, 2022 03:10
-
-
Save scudette/a520632012eb8abdc223fd27de24fb2f to your computer and use it in GitHub Desktop.
A named pipe server in powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while (1) { | |
| $npipeServer = new-object System.IO.Pipes.NamedPipeServerStream('BlackJack', | |
| [System.IO.Pipes.PipeDirection]::InOut) | |
| $npipeServer.WaitForConnection() | |
| $npipeServer.Close() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Connect to this using the client_pipe.ps1 here https://gist.github.com/scudette/b6a50f9756f58ed93c9f0f3bdcc01072