Created
August 14, 2013 11:20
-
-
Save hapylestat/6230152 to your computer and use it in GitHub Desktop.
Template for creating new PS Classes
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
#=================================as custom object | |
$<classname>_code={ | |
function init(){ | |
} | |
Export-ModuleMember -function init | |
} | |
$<classname>=new-module -ScriptBlock $<classname>_connect -AsCustomObject | |
#===============================insert as path of c# code | |
#Todo: add snipet here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment