Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: "PowerShell" word spelling #633

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions source/_posts/powershell.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Powershell
title: PowerShell
date: 2020-11-25 18:28:43
background: bg-[#397fe4]
tags:
Expand All @@ -8,7 +8,7 @@ tags:
categories:
- Programming
- Operating System
intro: This is a quick reference cheat sheet to getting started with Powershell scripting.
intro: This is a quick reference cheat sheet to getting started with PowerShell scripting.
plugins:
- copyCode
---
Expand Down Expand Up @@ -253,7 +253,7 @@ $dict = @{k1 = 'test'; k2 = 'best'}

Variable Commands

```Powershell
```powershell
New-Variable -Name FirstName -Value Trevor
New-Variable FirstName -Value Trevor -Option <ReadOnly/Constant>

Expand Down Expand Up @@ -378,7 +378,7 @@ function Get-EvenNumbers {
#### Modules

```powershell
# powershell looks module in the path
# PowerShell looks module in the path
$env:PSModulePath

# lists all modules installed on system
Expand All @@ -401,13 +401,13 @@ New-Module -Name trevor -ScriptBlock {

### Tips

- In most of the languages, escape character is backslash **\\** whereas in powershell it is backtick **`**
- In most of the languages, escape character is backslash **\\** whereas in PowerShell it is backtick **`**

```powershell

```

## Also see {.cols-1}

- [Microsoft Powershell](https://learn.microsoft.com/en-us/powershell/scripting/samples/sample-scripts-for-administration?view=powershell-7.3)
- [Microsoft PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/samples/sample-scripts-for-administration?view=powershell-7.3)
_(learn.microsoft.com)_