-
-
Save bielawb/280cfed16ad4393ff52bb6cb9dde47c6 to your computer and use it in GitHub Desktop.
Tworzymy funkcję niezbędną do maskowania polecenia na innych komputerach
This file contains 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
$polecenie = Get-Command Get-GitHubPullRequest | |
@" | |
function Get-GitHubPullRequest { | |
param ( | |
$( | |
[Management.Automation.ProxyCommand]:: | |
GetParamBlock( | |
$polecenie | |
) | |
) | |
) | |
throw "Błąd w poleceniu Get-GitHubPullRequest - zamaskuj mnie!" | |
} | |
"@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment