Initial commit

This commit is contained in:
Mark J Price 2022-07-07 16:51:53 +01:00
parent 95dbd59fcd
commit 36b9464af2
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# Scripting tasks using PowerShell
PowerShell is Microsofts 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)

View 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.

View 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.