1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 06:47:54 +02:00

Merge pull request #2547 from amrue/powershell-en

[Powershell/en] Fixed a few spelling errors
This commit is contained in:
Geoff Liu
2016-10-30 23:35:25 -04:00
committed by GitHub

View File

@@ -113,7 +113,7 @@ if ($Age -is [string]) {
echo 'Adult' echo 'Adult'
} }
# Switch statements are more powerfull compared to most languages # Switch statements are more powerful compared to most languages
$val = "20" $val = "20"
switch($val) { switch($val) {
{ $_ -eq 42 } { "The answer equals 42"; break } { $_ -eq 42 } { "The answer equals 42"; break }
@@ -204,7 +204,7 @@ function foo([string]$name) {
# Calling your function # Calling your function
foo "Say my name" foo "Say my name"
# Functions with named parameters, parameter attributes, parsable documention # Functions with named parameters, parameter attributes, parsable documentation
<# <#
.SYNOPSIS .SYNOPSIS
Setup a new website Setup a new website
@@ -308,7 +308,7 @@ if (-not (Test-Path $Profile)) {
notepad $Profile notepad $Profile
} }
# More info: `help about_profiles` # More info: `help about_profiles`
# For a more usefull shell, be sure to check the project PSReadLine below # For a more useful shell, be sure to check the project PSReadLine below
``` ```
Interesting Projects Interesting Projects