mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-01-03 06:49:55 +01:00
Initial commit
This commit is contained in:
parent
95dbd59fcd
commit
36b9464af2
6
docs/powershell/README.md
Normal file
6
docs/powershell/README.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Scripting tasks using PowerShell
|
||||
|
||||
PowerShell is Microsoft’s scripting tool for automating tasks on every operating system. The current release uses .NET 5 as its runtime. Microsoft recommends Visual Studio Code with the PowerShell extension for writing PowerShell scripts.
|
||||
|
||||
- [Installing PowerShell](install-powershell.md)
|
||||
- [Exploring the PowerShell language](powershell-language.md)
|
||||
16
docs/powershell/install-powershell.md
Normal file
16
docs/powershell/install-powershell.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Installing PowerShell and its Visual Studio Code extension
|
||||
|
||||
You can install PowerShell by downloading the appropriate installation package for your operating system from the following link:
|
||||
|
||||
https://aka.ms/powershell-release?tag=stable
|
||||
|
||||
For example, for Windows 10 64-bit, you would download the file named `PowerShell-7.1.3-win-x64.msi`.
|
||||
|
||||
On macOS, you can install PowerShell using Homebrew, as shown in the following command:
|
||||
```
|
||||
brew install --cask powershell
|
||||
```
|
||||
For Linux and ARM, use the instructions at the following link:
|
||||
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell
|
||||
|
||||
Now you can install the Visual Studio Code extension for PowerShell.
|
||||
7
docs/powershell/powershell-language.md
Normal file
7
docs/powershell/powershell-language.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Exploring the PowerShell language
|
||||
|
||||
Let's see some examples of what you can do with PowerShell:
|
||||
1. In Visual Studio Code,
|
||||
2. Enter a special command to see PowerShell information, as shown in the following command:
|
||||
$PSVersionTable
|
||||
3.
|
||||
Loading…
Reference in a new issue