mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fixed a few spelling errors
This commit is contained in:
parent
0401e0d5f0
commit
8e51d5b5c2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user