summaryrefslogtreecommitdiffhomepage
path: root/powershell.html.markdown
diff options
context:
space:
mode:
authorderek-austin <derek.austin35@mailinator.com>2016-11-22 12:45:45 +0100
committersamcv <samantham@posteo.net>2016-11-22 03:45:45 -0800
commitc518beae09eafa02a392a1ea35782871f85c6311 (patch)
tree7f9c7901854167b54d1e08e0e8e682df98cbfb2d /powershell.html.markdown
parente25918acabcafc8f2e3bda35e8e28fa583cb70b9 (diff)
Add syntax highlight (#2581)
Only the first chunk of code was highlighted
Diffstat (limited to 'powershell.html.markdown')
-rw-r--r--powershell.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/powershell.html.markdown b/powershell.html.markdown
index f34d5b4e..573b5440 100644
--- a/powershell.html.markdown
+++ b/powershell.html.markdown
@@ -35,7 +35,7 @@ $PSVersionTable
Getting help:
-```
+```powershell
# Find commands
Get-Command about_* # alias: gcm
Get-Command -Verb Add
@@ -52,7 +52,7 @@ Update-Help # Run as admin
The tutorial starts here:
-```
+```powershell
# As you already figured, comments start with #
# Simple hello world example:
@@ -300,7 +300,7 @@ $Shortcut.Save()
Configuring your shell
-```
+```powershell
# $Profile is the full path for your `Microsoft.PowerShell_profile.ps1`
# All code there will be executed when the PS session starts
if (-not (Test-Path $Profile)) {