Search
Contents
9. Introduction to PowerShell
9. Introduction to PowerShell
ΒΆ
9.1. PowerShell Fundamentals
9.1.1. Core Tenets
9.1.1.1. File System Paths
9.1.1.2. Framework Interpretation
9.1.1.3. Everything Is An Object
9.1.1.4. File Extensions Matter
9.1.1.5. Cmdlets, Functions, and Modules
9.2. Cmdlet Basics
9.2.1. The Verb-Noun Pattern
9.2.2. Options & Arguments
9.2.3. Autocompletion
9.2.4. Getting Help
9.2.4.1. Updating Help Documentation
9.3. Working With the File System
9.3.1. Get the Current Working Directory
9.3.2. Change Directory
9.3.3. List Directory Contents
9.3.4. Move a Directory or File
9.3.5. Copy a Directory or File
9.3.6. Delete a Directory or File
9.3.7. Create a Directory or File
9.3.8. Reading File Contents
9.4. Working With Objects
9.4.1. Properties & Methods
9.4.2. Accessing a Property
9.4.3. Calling a Method
9.4.4. Discovering Methods and Properties
9.5. Expression Evaluation
9.5.1. Grouping Expression Operator
9.5.2. Subexpression Operator
9.6. Studio: Introduction to PowerShell Scripting
9.6.1. Running PowerShell Scripts
9.6.1.1. Allow script execution
9.6.1.2. Executing your first script
9.6.2. The Auto-Committing-Setup Script
9.6.2.1. Requirements
9.6.2.2. Limited Guidance
9.6.2.3. Command Bank
9.6.2.4. Submitting your work
9.7. Piping in PowerShell
9.7.1. Piping in Action
9.7.1.1. Piping to Sort Directory Contents
9.7.1.2. Adding Contents to a File
9.7.2. Pipeline Parameter Binding
9.7.2.1. Binding
ByValue
9.7.2.2. Binding
ByPropertyName
9.7.2.3. Parameter Discovery
9.7.3. Using Pipelines to Learn About Pipelines
9.7.4. Pipeline Planning
9.8. Making API Requests Using Invoke-RestMethod
9.8.1. Command-Line REST
9.8.2.
Invoke-RestMethod
9.8.3. Open-Notify Examples
9.8.3.1. Astronaut Resource Shapes
9.8.3.2. Making a Request
9.8.3.3. Grouping to Access Fields of the JSON Response
9.8.3.4. Piping to Access Nested Fields
9.8.3.5. Storing Response Objects in a Reusable Variable
9.8.3.6. Sorting Response Data
9.8.3.7. Converting to Other Formats
9.8.3.8. Saving and Loading as CSV Files
9.8.3.9. Saving and loading as JSON files
9.8.4.
CodingEventsAPI
Examples
9.8.4.1.
GET
Example
9.8.4.2.
DELETE
Example
9.8.4.3.
POST
Example
9.8.5. Continue Learning
9.9. Studio: Automated Deployment of the Coding Events API
9.9.1. Your Tasks
9.9.1.1. Fork & Clone
9.9.1.2. Complete the Provision Resources Script
9.9.1.3. Update Source Code
9.9.1.4. Update the Deliver & Deploy Script
9.9.1.5. Run the Script
9.9.2. Submitting Your Work
9.9.3. Limited Guidance
9.9.3.1. Running Custom PowerShell Scripts
9.9.3.2. Azure CLI Response Examples
9.9.3.3. AZ CLI Help
9.9.3.4. Capturing AZ CLI Output in a Variable
9.9.3.5. Fresh Start
←
8.4. Exploration: an Automated Deployment Bash Script
9.1. PowerShell Fundamentals
→