Getting started with PowerShell

PowerShell is a powerful and very flexible language that is relatively easy to understand.
PowerShell allows you as a system administrator to create scripts that help you automate certain tasks in a simple and very practical way.

Table of contents

  • Getting started with PowerShell
  • Installation or configuration
  • Allow scripts stored on your machine to run without signing
  • Aliases and similar functions
  • The Pipeline - Using the output of a PowerShell cmdlet
  • Call .Net library methods
  • Basic use of Import-Csv
  • Import from CSV and convert properties to correct type
  • Anonymize IP addresses (v4 and v6) in a text file with Powershell
  • Application of script prerequisites
  • Apply a minimal version of the powershell host
  • Run the script as administrator
  • Automation of infrastructure
  • Simple script for testing black box integration of console applications
  • curls
  • PowerShell Classes
  • Inherit from parent class to child class
  • Naming Cmdlet
  • How to download the latest artifact from Artifactory using the script
  • Powershell script to download the latest artifact
  • Communication with RESTful APIs
  • TCP communication with PowerShell
  • Behavior back in PowerShell
  • How to work with functions returns
  • Desired state configuration
  • Importing psd1 (data file) into a local variable
  • List of available DSC resources
  • Naming conventions
  • Using variables in a string
  • Change statement with the Regex parameter
  • Change statement with expressions
  • Mail sending
  • Simple sending message
  • Send-MailMessage with predefined parameters
  • SMTPClient - Mail with a .txt file in the body message
  • Executables running
  • Replace the text with a dynamic value by a MatchEvalutor
  • Escape special characters
  • Several connections
  • Using Select-String
  • Simple function without parameters
  • Basic parameters
  • Packet management
  • Uninstall a module my name and version
  • Update a module by name
  • Secrets and credentials management
  • GUI in Powershell
  • Access a hash value by key.
  • Introduction to Pester
  • Simple parameter sets
  • Parameterset to force the use of a parameter when another is selected.
  • Parameter defined to limit the combination of parameters
  • Error management
  • Redirection operators
  • Mix the types of operands: the type of the left operand determines the behavior.
  • Use parameters and arguments
  • Conditional logic
  • Compress archives with a joker
  • Update the existing ZIP with Compress-Archive
  • Extract a zip with Expand-Archive
  • Get all the features installed on a site collection
  • Powershell modules
  • Dynamic parameter "simple"
  • PowerShell workstations
  • PowerShell "Streams"; Debug, Verbose, Warning, Error, Output and Information
  • Remote Serialization Warning
  • Using arguments
  • Good practice for automatically cleaning sessions PSSession
  • View file size in KB - Calculated properties
  • PowerShell Script Parser
  • Changing the Execution Policy Using Set-ExecutionPolicy
  • Bypassing the Execution Policy for a Single Script
  • Other enforcement policies:
  • Get the current execution policy
  • Security and cryptography
  • Amazon Web Services (AWS) Simple Storage Service (S3)
  • Create a new S3 bucket
  • Download a local file in an S3 bucket
Size : 1944.957 Kb
File type : pdf
Downloads: 207
Created: 2019-04-27

Others PowerShell Tutorials

PowerShell tutorial for professionals

Essential PowerShell

Windows PowerShell Networking Guide

Windows PowerShell Networking Guide

Exploring PowerShell Automation

Others related eBooks about Getting started with PowerShell

Excel VBA Notes for Professionals

Download free course Excel VBA Notes for Professionals, pdf file on 127 pages by Stack Overflow Community....

I Love Ruby

Download free course I Love Ruby, pdf file on 314 pages by Karthikeyan A K....

Android Programming Tutorials

This book shows you what you can do with Android, through a series of 40 individual exercises. It gives you hands-on instruction in how to build sophisticated Android applications, using many of the technologies outlined in CommonsWare's other Android books. ...

COBOL in 21 days

This tutorial present an easy way to learn COBOL in a few days,free training courses in PDF for beginners and intermediate level users....

Problem Solving with Algorithms and Data Structures

Download free tutorial in Algorithms and data structures created by Brad Miller and David ranum....

C# and .NET course

14 lessons to get you started with C# and .NET, free PDF tutorial by Jonathan Worthington ....

TypeScript eBook for professionals

Download free TypeScript tutorial course in PDF, training file in 30 chapters and 97 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Practices of the Python Pro

Download free course Practices of the Python Pro, pdf file on 248 pages by Dane Hillard....

Python Scripting for Spatial Data Processing

This book is a Python tutorial for beginners aiming at teaching spatial data processing. It is used as part of the courses taught in Remote Sensing and GIS at Aberystwyth University, UK....

Reverse Engineering for Beginners

Download free ebook about Reverse Engineering for Beginners. A PDF tutorial on 942 pages by Dennis Yurichev....