Created
May 16, 2023 08:08
-
-
Save Inndy/55437c4286b3c6ad88aed03532e17f1a to your computer and use it in GitHub Desktop.
PowerShell is crap
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
function Fun() { | |
$sb = New-Object System.Text.StringBuilder | |
for ($i = 1; $i -le 10; $i++) { | |
$sb.Append($i) | |
} | |
return $sb.ToString() | |
} | |
$ans = Fun | |
echo $ans.GetType() | |
echo $ans | |
# Enjoy your crap scripting language ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment