Radical Technologies
Call :+91 8055223360 | 8103400400

POWERSHELL SCRIPTING

PowerShell is one of the easiest languages to get started with and learn for multiple reasons. PowerShell follows a “verb-noun” convention, which makes even more complex scripts easier to use (and read) than a more abstracted language like .NET. For instance, you can do quite a bit with the “–get” and “–set” commands. PowerShell has the ability to pass the results of a “get-” command to a “set-” command. This makes batch operations easy and extremely powerful.

Satisfied Learners

Powershell Training by Industry Expert

Training Duration : 40 hrs

Batch type : weekdays /weekends

Mode of Training: Offline / Online / Corporate Training

What is PowerShell?

PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

Shell

PowerShell is a modern command shell that includes the best features of other popular shells. Unlike most shells that only accept and return text, PowerShell accepts and returns .NET objects. The shell includes the following features:

  • Robust command-line history
  • Tab completion and command prediction (See about_PSReadLine)
  • Supports command and parameter aliases
  • Pipeline for chaining commands
  • In-console help system, similar to Unix man pages

Scripting language

As a scripting language, PowerShell is commonly used for automating the management of systems. It is also used to build, test, and deploy solutions, often in CI/CD environments. PowerShell is built on the .NET Common Language Runtime (CLR). All inputs and outputs are .NET objects. No need to parse text output to extract information from output. The PowerShell scripting language includes the following features:

  • Extensible through functions, classes, scripts, and modules
  • Extensible formatting system for easy output
  • Extensible type system for creating dynamic types
  • Built-in support for common data formats like CSV, JSON, and XML

Configuration management

PowerShell Desired State Configuration (DSC) is a management framework in PowerShell that enables you to manage your enterprise infrastructure with configuration as code. With DSC, you can:

  • Create declarative configurations and custom scripts for repeatable deployments
  • Enforce configuration settings and report on configuration drift
  • Deploy configuration using push or pull models

Basic PowerShell Scripting Course Contents

Module-1

Windows PowerShell | Core PS
What is Windows Powershell
Windows Powershell Architecture
Overview and Background
Finding and Running Commands
Exploring Inbuilt Security

Module-2

Powershell Help System
Understanding PowerShell help System
Types of Help Available
How to read PS Help
Understanding the commands
Identifying the parameters

Module-3

Working with the Pipeline
Concept of Pipeline
Advantages of Pipeline
Exporting, Importing, and Converting Data
Filtering Objects Out of the Pipeline
Enumerating Objects in the Pipeline

Module-4

How the Pipeline Works
Passing Data in the Pipeline ByValue
Passing Data in the Pipeline ByPropertyName

Module-5

Using PSProviders and PSDrives
What are PSProviders and PSDrives
Purpose of PSProviders and PSDrives
Using PSDrives to work with Registry, Files system
Modifying/Querying the Registry and File system

Module-6

Formatting Output
Using Basic Formatting
Exploring Inbuilt formatting
Using Advanced Formatting
Redirecting Formatted Output to file, Screen, Printer
Custom Formatting

Advanced Powershell Scripting Course Content

Module-7

Using WMI and CIM
Introduction to WMI and WMI Objects
Need of WMI in Powershell
Querying Data with WMI/CIM
Making Changes with WMI/CIM

Module-8

Preparing for Scripting
Types Of Variable
Using Variables
Scope of Variables
Data types
Operators
Scripting Security

Module-9

Loops Supported in Powershell
If Statement
If-else Statement
Else-if Statement
Switch Statement
Nested If Statement
Foreach
For
While Loop
Continue and Break Statement

Module-10

Introduction to Error Handling
Handling Errors
Try Catch Finally statement
Trap Exception
Add error handling to a function
Script to know list of exception

Module-11

Using Advanced PowerShell Techniques and Profiles
Understanding Powershell Function
Purpose Of Functions
Creating Powershell Functions
Test completed functions
Adding Help information in functions
Using Parameters in script
Adding advanced parameters.
Creating Profile Scripts

Module-12

Moving From a Command to a Script to a Module
Moving From Command to Script
Moving From Script to Function to Module
Implementing Basic Error Handling
Using Basic Scripting Constructs
Further Exploration in Scripting

Module-13

Administering Remote Computers
What is PowerShell Remoting?
Prerequisites for Remoting
Using Basic Remoting 1:1 and 1: Many
Creating interactive Remote session
Creating Persistent Session
Using Remoting for Delegated Administration

Module-14

Powershell Modules and Manifests
Adding additional functionality in shell
Exploring new CMDLETS
Dynamic/Manual Module loading
Creating your own module

Our Courses

Drop A Query

    Call Now ButtonCall Us