summaryrefslogtreecommitdiffhomepage
path: root/powershell.html.markdown
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2016-01-06 03:17:33 +0800
committerAdam Bard <github@adambard.com>2016-01-06 03:17:33 +0800
commite47099866bee5e5f6d2852f4e4cbf92e4d4b0053 (patch)
treef65abf1989845dee318ecddedfc987795c625d3e /powershell.html.markdown
parent0fbf289e3cbce3f2b6e830d5dcf1c8d3685a88a1 (diff)
Fix formatting.
Diffstat (limited to 'powershell.html.markdown')
-rw-r--r--powershell.html.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/powershell.html.markdown b/powershell.html.markdown
index 4bc1ab39..8920d254 100644
--- a/powershell.html.markdown
+++ b/powershell.html.markdown
@@ -18,6 +18,7 @@ rather than plain text.
[Read more here.](https://technet.microsoft.com/en-us/library/bb978526.aspx)
If you are uncertain about your environment:
+
```
Get-ExecutionPolicy -List
Set-ExecutionPolicy AllSigned
@@ -33,6 +34,7 @@ $PSVersionTable
```
Getting help:
+
```
# Find commands
Get-Command about_* # alias: gcm
@@ -49,6 +51,7 @@ Update-Help # Run as admin
```
The tutorial starts here:
+
```
# As you already figured, comments start with #
@@ -292,6 +295,7 @@ $Shortcut.Save()
Configuring your shell
+
```
# $Profile is the full path for your `Microsoft.PowerShell_profile.ps1`
# All code there will be executed when the PS session starts