aboutsummaryrefslogtreecommitdiff
path: root/samples/PowerShell
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2012-07-23 15:52:49 -0500
committerJoshua Peek <josh@joshpeek.com>2012-07-23 15:52:49 -0500
commit7b6caa0f6c7603aabb5e6ed657e24aaddbeafc78 (patch)
treeec0522eae75bb04ae73d28ae3f599682a2bfdaeb /samples/PowerShell
parent314f0e485227915931db361be14d308a210bedea (diff)
Rename samples subdirectories
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