Powershell Resources
satya - 12/12/2019, 11:29:33 AM
These resources are broadly broken down into
1. Powershell Overview, Modules, Homepage, Architecture
2. Powershell Language Reference
3. Azure Cloud Shell
4. Extraneous Links
5. Advanced Topics
satya - 12/12/2019, 11:29:55 AM
1. Powershell Overview, Modules, Homepage, Architecture
1. Powershell Overview, Modules, Homepage, Architecture
satya - 12/12/2019, 11:31:18 AM
What it covers
Entry point to all other resources.
Overview, Gallery, Module Browser, Latest versions, blogs, forums.
How to download and install if necessary.
satya - 12/12/2019, 11:31:56 AM
What it covers
Powershell Overview. Briefly talks about powershell philosophy.
How to discover commands using Get-command and Get-help.
It is also take you to the pane where all the documentation is presented.
satya - 12/12/2019, 11:32:41 AM
What it covers
This is a learning resources page at Github repo of powershell.
It documents key aliases that are often used in place of commandlets.
Commerical Resources and Books
satya - 12/12/2019, 11:33:14 AM
what it covers
Features of powershell extension
how to install
Intellisense, Run, Debug, Type hints
satya - 12/12/2019, 11:33:42 AM
Powershell Module Browser
Find all the modules and browse each module for functions
satya - 12/12/2019, 11:34:12 AM
Azure Powershell Modules Reference
satya - 12/12/2019, 11:34:21 AM
what it covers
Browse azure modules and commandlets here.
This is a link to the Az.Accounts module
For other modules in azure powershell see the Reference on the left
This is one way to browse Azure modules without searching
This is a like a directory of Azure Modules
satya - 12/12/2019, 11:34:55 AM
what it covers
Good to know verbs like Get, Set, Find etc.
Larger part of the document set in the commandlets SDK.
How to write commandlets using the SDK
Powershell SDk is here
satya - 12/12/2019, 11:35:04 AM
2. Powershell Language Reference
2. Powershell Language Reference
satya - 12/12/2019, 11:35:35 AM
What you will find here
Powershell is a programming language.
As you code in powershell you will need a language reference.
It is not documented like a traditional language reference.
It is there but it is hidden as something else.
This section of links show where language aspects are doucmented.
satya - 12/12/2019, 11:35:58 AM
Here is Language Reference: Also called "About"
satya - 12/12/2019, 11:36:07 AM
what it covers
It is a sub topic under powershell-docs/Reference/...powershell core/about.
Its parallel topics cover most of the language reference
Many references in this section are sub links here.
satya - 12/12/2019, 11:37:03 AM
How to work with conditional statements: if
satya - 12/12/2019, 11:37:19 AM
How to work with loops: for statement
satya - 12/12/2019, 11:37:51 AM
what it covers
It is a sub topic under powershell-docs/samplescripts/working-withobjects.
Select parts of an object, sort objects, do something for each object,
running a pipeline for objects.
This is not under the language reference documentation.
satya - 12/12/2019, 11:39:12 AM
4. Azure Cloud Shell
You can run powershell for azure directly in the cloud.
satya - 12/12/2019, 11:41:39 AM
Article by Thomas Maurer: Mastering Cloudshell
Article by Thomas Maurer: Mastering Cloudshell
Various features and benefits of Cloud azure-cloud-shell
satya - 12/12/2019, 11:42:16 AM
Mastering Azure using Cloud Shell, PowerShell and Bash!: Thomas Maurer: You tube
Mastering Azure using Cloud Shell, PowerShell and Bash!: Thomas Maurer: You tube
Really good video
satya - 12/12/2019, 11:43:25 AM
5. Advanced Topics
At some point you want to write your own commandlets.
Writing scripts using commandlets.
This helps with argument processing better.
Writing advanced functions.
satya - 12/12/2019, 11:43:48 AM
Powershell SDK Commandlet Overview
satya - 12/12/2019, 11:44:01 AM
what is covered here
useful for writing commandlets
A deeper topic
You won't need in your initial efforts at Powershell.
satya - 12/12/2019, 11:44:28 AM
Full Azure Automation - Part 1 The Azure Automation Service: youtube video
Full Azure Automation - Part 1 The Azure Automation Service: youtube video
satya - 6/15/2024, 12:15:08 PM
Key features
- Discover Modules: Browse and search for a wide variety of modules, scripts, and DSC resources.
- Install Modules: Easily install modules directly from the gallery to your local system.
- Publish Modules: Share your own modules and scripts with the community by publishing them to the gallery.
- Versioning: Supports multiple versions of a module, allowing you to install a specific version if needed
satya - 6/15/2024, 12:20:47 PM
Some module commands
- Find-Module: Searches for modules in online repositories
- Install-Module: Installs a module from an online repository
- Update-Module: Updates an installed module to the latest version
- Uninstall-Module: Uninstalls a module from the local system
- Save-Module: Saves a module to the specified path without installing it
- Get-InstalledModule: Lists installed modules on the local system
- Get-Module: Lists modules that are currently loaded or available to be loaded
- Import-Module: Imports a module into the current session
- Remove-Module: Removes a module from the current session
- Publish-Module: Publishes a module to an online repository
- Update-ModuleManifest: Updates the manifest of a module
- New-ModuleManifest: Creates a new module manifest file
satya - 6/15/2024, 2:32:08 PM
Current version as of 2024 is Version 7
satya - 6/15/2024, 2:34:07 PM
You will find here
- How to install 7
- works on windows, mac, linux
- can be installed on windows as a zip file, or executable (msi), or winget (recommended)
satya - 6/16/2024, 3:10:09 PM
The language reference link is broken above. The new link for 7.x is
The language reference link is broken above. The new link for 7.x is
satya - 6/16/2024, 3:10:39 PM
It has
- I could not find such a thing as language refereence for PS
- Closest thing I can find that can explain variables, functions etc is here
- Note: This link may change over time
- This is filed under Microsoft.Powershell.core, about
satya - 6/16/2024, 3:37:40 PM
The core commandlets are documented one by one here
satya - 6/16/2024, 3:38:17 PM
Key ones include
- get-command
- get-help
- get-module
- get-history