aboutsummaryrefslogtreecommitdiff
path: root/samples/powershell
diff options
context:
space:
mode:
Diffstat (limited to 'samples/powershell')
-rw-r--r--samples/powershell/hello.ps12
-rw-r--r--samples/powershell/hello.psm15
2 files changed, 7 insertions, 0 deletions
diff --git a/samples/powershell/hello.ps1 b/samples/powershell/hello.ps1
new file mode 100644
index 0000000..eca1e76
--- /dev/null
+++ b/samples/powershell/hello.ps1
@@ -0,0 +1,2 @@
+# Hello world in powershell
+Write-Host 'Hello World' \ No newline at end of file
diff --git a/samples/powershell/hello.psm1 b/samples/powershell/hello.psm1
new file mode 100644
index 0000000..3db82f0
--- /dev/null
+++ b/samples/powershell/hello.psm1
@@ -0,0 +1,5 @@
+# Hello World powershell module
+
+function hello() {
+ Write-Host 'Hello World'
+} \ No newline at end of file