Last active
December 18, 2018 11:15
-
-
Save PrateekKumarSingh/3e4c897e7511fba298e3f2d7ff7916bb to your computer and use it in GitHub Desktop.
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
[ScriptBlock].FullName # full name of the class | |
# creating the script block then invokig it | |
[ScriptBlock]::create('$args[0]*2').invoke(2) | |
[ScriptBlock]::create('$args[0]*2').invoke(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment