diff options
author | Adam <adam@adambard.com> | 2016-01-08 14:35:53 +0800 |
---|---|---|
committer | Adam <adam@adambard.com> | 2016-01-08 14:35:53 +0800 |
commit | ef28fa69775ba064dfed212e034b5caae7edb7b9 (patch) | |
tree | d3a30be274822754414b438fe9b9c102edc09630 /powershell.html.markdown | |
parent | 8ad537a9ba9889234a63c5a38caeab3e225856e4 (diff) | |
parent | 04166190367a93236e7173901dff7ae9661736ba (diff) |
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'powershell.html.markdown')
-rw-r--r-- | powershell.html.markdown | 4 |
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 |