Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tworzymy funkcję niezbędną do maskowania polecenia na innych komputerach
$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