-
-
Save bielawb/396e4c2e658d33e7e0fc15cff0b44418 to your computer and use it in GitHub Desktop.
Komunikacja z wykorzystaniem parametrów/ wyjscia
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
$zmienna = 'Słowo' | |
function Set-Słowo { | |
param ( | |
[String] $Słowo | |
) | |
"Moje $Słowo" | |
} | |
$nowaZmienna = Set-Słowo -Słowo $zmienna | |
"Wejście: $zmienna. Wyjście: $nowaZmienna" | |
<# | |
Na wyjściu: | |
Wejście: Słowo. Wyjście: Moje Słowo | |
#> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment