SlideShare una empresa de Scribd logo
1 de 80
Descargar para leer sin conexión
Code Focused Training
PowerShell
SYED AWASE KHIRNI
Syed Awase earned his PhD from University of Zurich in GIS, supported by EU V Framework Scholarship from SPIRIT Project (www.geo-spirit.org). He
currently provides consulting services through his startup www.territorialprescience.com and www.sycliq.com. He empowers the ecosystem by sharing his
technical skills worldwide, since 2008.
RESEARCHER | ENTHREPRENEUR | TECHNOLOGY COACH
awasekhirni@gmail.com | @aks008 | +91.9035433124
Code Focused TrainingCode Focused Training
Terms of use
• You shall not circulate these slides without written
permission from Territorial Prescience Research I Pvt ltd.
• If you use any material, graphics or code or notes from these
slides, you shall acknowledge the author Dr. Syed Awase
Khirni
• If you have not received this material, post-training session,
you shall destroy it immediately and not use it for
unauthorized usage of the material.
• Powershell is a copyright of Microsoft
© Syed Awase 2015-16 - PowerShell Ground Up! 2
Code Focused Training
© Syed Awase 2015-16 - PowerShell Ground Up! 3
Code Focused Training
PowerShell?
• A terminal for managing windows
infrastructure using scripting
/commands to automate processes
and workflows.
• Robust, Object oriented scripting
language with access to a wide range
of things on the computer
•Access to entire .NET and WMI
frameworks
•Enables administrators to perform
administrative tasks on both local and
remote windows systems.
• Automating various administrative
tasks and processes
•Similar to Microsoft Management
Console (MMC)
•Task Automation and configuration
management framework
•Consisting of a command-line shell
and associated scripting language
•Built on the .NET Framework
•Provides full access to COM and WMI
© Syed Awase 2015-16 - PowerShell Ground Up! 4
https://msdn.microsoft.com/en-us/powershell/scripting/powershell-scripting
Code Focused Training
Using PowerShell
• PowerShell
•Console
•ISE: Integrated Scripting
Environment
•Third-party Powershell editors
•PrimalScript
•PowerGUI
•PowerShell +
•PowerSE
• Powershell available for
•Windows 8.1 x86 and x64
•Windows Server 2012 R2 x64
•Windows Management
Framework (WMF)
•Windows 7 SPI (or above) x86
and x64
•Windows Embedded Standard
7
•Windows Server 2008 R2 SPI
(or above) x64
•Windows Server 2012
© Syed Awase 2015-16 - PowerShell Ground Up! 5
Code Focused Training
PowerShell? Before and Now?
© Syed Awase 2015-16 - PowerShell Ground Up! 6
Before Now
GUI MMC GUIs built on top of
Powershell
Interactive
Shell
CMD PowerShell
Scripting BAT in CMD PowerShell
COM WMI(VBScript and Jscript) PowerShell
Code Focused Training
PowerShell Compatibility
© Syed Awase 2015-16 - PowerShell Ground Up! 7
PS1.0 PS2.0 PS3.0 PS4.0 PS5.0
Windows XP SP2+ SP3+ Incompatible Incompatible
Server 2003 SP2+ SP2+ Incompatible Incompatible
Windows Vista Installed SP1+ Incompatible Incompatible
Server 2008 Installed SP1+ SP2+ Incompatible
Windows 7 Incompatible Installed Compatible Compatible
Server 2008 R2 Incompatible Installed SP1+ SP1+
Windows 8 Incompatible Version parameter Installed SP1+
Server 2012 Incompatible Version parameter installed Compatible
Windows 8.1 Incompatible Version parameter Version
parameter
Installed
Server 2012 R2 Incompatible Version parameter Version
parameter
Installed
Windows 10 Compatible
Code Focused Training
PowerShell Major Changes
Version 2.O
•PowerShell Remoting
•New PowerShell ISE
•PowerShell Modules
•Background Jobs
•Many new Cmdlets
•Invoke-Command
Version 3.0
•Overhauled PowerShell ISE
•PowerShell Workflow
•Disconnected Sessions
•Scheduled Jobs
•Delegated Administrations
•Cmdlet Discovery
•Show-Command
•Invoke-WebRequest
© Syed Awase 2015-16 - PowerShell Ground Up! 8
Code Focused Training
PowerShell Major Changes
Version 4.O
•Improved Debugging
•Desired State Configuration Cmdlet’s
Version 5.0
© Syed Awase 2015-16 - PowerShell Ground Up! 9
Code Focused Training
PowerShell –Integrated Scripting Environment
© Syed Awase 2015-16 - PowerShell Ground Up! 10
• configuration files
(.ps1xml),
• module script files
(.psm1), and
•Windows
PowerShell profiles
(.ps1).
$PSVersionTable - to get the version
Code Focused Training
Powershell References
•https://msdn.microsoft.com/en-us/library/dd835506(v=vs.85).aspx
•https://msdn.microsoft.com/en-us/library/ff458115.aspx
•https://msdn.microsoft.com/en-us/library/dd878310(v=vs.85).aspx
•https://msdn.microsoft.com/en-us/library/dd878294(v=vs.85).aspx
•https://msdn.microsoft.com/en-us/library/ee126192(v=vs.85).aspx
•https://msdn.microsoft.com/en-us/library/ee706563(v=vs.85).aspx
•https://msdn.microsoft.com/en-us/library/gg580944(v=vs.85).aspx
•https://msdn.microsoft.com/en-us/library/ms714469(v=vs.85).aspx
© Syed Awase 2015-16 - PowerShell Ground Up! 11
• Get-Command
• Get-Help
• Get-PSDrive
Code Focused Training
PowerShell Execution Policies
•execution policies let you determine
the conditions under which Windows
PowerShell loads configuration files
and runs scripts.
•set an execution policy for the local
computer, for the current user, or for a
particular session.
•Execution policies for the local
computer and current user are stored
in the registry.
© Syed Awase 2015-16 - PowerShell Ground Up! 12
https://msdn.microsoft.com/powershell/reference/5.1/Microsoft.PowerShell.Core/about/about_Execution_Policies
• Execution Policies
•Restricted - permits individual commands,
but will not run scripts
• prevents running of all scritps
Code Focused Training
Restricted Execution
Policy
•Default execution policy in Windows
8, Windows Server 2012, and
Windows 8.1.
•Permits individual commands, but
will not run scripts.
•Prevents running of all script files,
including formatting and
configuration files (.ps1xml), module
script files (.psm1), and Windows
PowerShell profiles (.ps1).
AllSigned Execution Policy
•Scripts can run.
•Requires that all scripts and
configuration files be signed by a
trusted publisher, including scripts
that you write on the local computer.
•Prompts you before running scripts
from publishers that you have not yet
classified as trusted or untrusted.
•Risks running signed, but malicious,
scripts.
© Syed Awase 2015-16 - PowerShell Ground Up! 13
Code Focused Training
Remote Signed Execution
Policy
•Scripts can run. This is the default execution
policy in Windows Server 2012 R2.
•Requires a digital signature from a trusted
publisher on scripts and configuration files that
are downloaded from the Internet (including e-
mail and instant messaging programs).
•Does not require digital signatures on scripts that
you have written on the local computer (not
downloaded from the Internet).
•Runs scripts that are downloaded from the
Internet and not signed, if the scripts are
unblocked, such as by using the Unblock-File
cmdlet.
•Risks running unsigned scripts from sources
other than the Internet and signed, but malicious,
scripts.
Unrestricted Execution
Policy
•Unsigned scripts can run. (This risks
running malicious scripts.)
•Warns the user before running
srcipts and configuration files that are
downloaded from the Internet.
© Syed Awase 2015-16 - PowerShell Ground Up! 14
Code Focused Training
Bypass Execution Policy
• Nothing is blocked and there are no
warnings or prompts.
•This execution policy is designed for
configurations in which a Windows
PowerShell script is built in to a a
larger application or for
configurations in which Windows
PowerShell is the foundation for a
program that has its own security
model.
Undefined Execution
Policy
• There is no execution policy set in
the current scope.
•If the execution policy in all scopes is
Undefined, the effective execution
policy is Restricted, which is the
default execution policy.
© Syed Awase 2015-16 - PowerShell Ground Up! 15
Code Focused Training
Vocabulary
• String: Any combination of letters
and numbers “asdad”, “ab123”
•Integer – A number without quotes,
used for math
•Boolean – True or False, represented
in PS as $True or $False
•Variable : A reference to a value that
can be assigned over the course of a
script/program. Declared in
Powershell with a $[word]
example : $variable1
© Syed Awase 2015-16 - PowerShell Ground Up! 16
Code Focused Training
Objects
•An object is a type of “something”
•As an object of a specific type, it
inherits properties and methods
related to it’s object type
•Properties – information about
the object
•Methods – Code that interacts
with the object
•$string.Length
•$string.ToUpper()
© Syed Awase 2015-16 - PowerShell Ground Up! 17
Code Focused Training
Arrays
•A list of objects separated by commas
• ex: “one”,”two”,”three”
•Arrays can be accessed using index
numbers
© Syed Awase 2015-16 - PowerShell Ground Up! 18
Code Focused Training
Commands
• Powershell has 4 features that we
think of as commands
•Internal cmdlets, which only run
inside PowerShell and are written
in a .NET framework language
such as Visual Basic or C#
•Functions, which are written in
PowerShell’s scripting language
•PowerShell v3 and v4 cmdlets,
which are produced from WMI (
Windows Mangement
Instrumentations) classes using
“cmdlets over objects” capabilities.
• External Commands such as ping.exe
which could also be run from old
cmd.exe shell.
© Syed Awase 2015-16 - PowerShell Ground Up! 19
Code Focused Training
CMDLETS
•"Writing a Windows PowerShell
Cmdlet" is for program managers who
are designing cmdlets and for
developers who are implementing
cmdlet code.
•A lightweight command that is used
in the Windows PowerShell
environment.
•Windows PowerShell runtime
invokes these cmdlets within the
context of automation scripts that are
provided at the command line.
•Cmdlets perform an action and typically
return a Microsoft .NET Framework
object to the next command in the
pipeline.
• Primary way of getting things done in
PowerShell
•Always in a “verb-noun” format
•Write-host – print something to
screen
•Get-process – get running processes
•Set-clipboard – copy something to
clipboard
•get-eventlog – get contents of
eventlog
© Syed Awase 2015-16 - PowerShell Ground Up! 20
Code Focused Training
Cmdlet
•Name
•Synopsis
•Syntax
•Description
•Parameters
•Inputs
•Outputs
•Notes
•Parameter Sets
•Cmdlet’s can have multiple sets
•Each set has similar, but discrete
parameter functionality
•Each set can share parameters
• Positional Parameters
•Able to execute command without
specifying name
•Value must be in correct order
•Get-Command *VM ComputerName
© Syed Awase 2015-16 - PowerShell Ground Up! 21
Code Focused Training
Cmdlet
•Named Parameters
•Requires parameter name be
specified prior to value
•Does not have be in specific order
•Mandatory Parameters
•Most cmdlet sets require atleast
one parameter
•Optional Parameters
•A parameter set normally
includes optional parameters
•Identified by [] brackets
© Syed Awase 2015-16 - PowerShell Ground Up! 22
Code Focused Training
Script blocks
•A script block can contain any set of
PowerShell commands and it can
contain as many of them as you need.
© Syed Awase 2015-16 - PowerShell Ground Up! 23
Code Focused Training
Logical Operators
Lt Less than
Le Less than or equal to
Eq Equal to
Ne Not equal to
Ge Greater than or equal to
Gt Greater than
Get-Help
• Show general information on using help
•Get-Help
•Show help for specific command
•Get-Help Get-Command
•Show in-depth details for specific command
•Get-Help Get-Command –Full
•Show examples for a specific command
•Get-Help Get-Command –Examples
•Help Categories
•Alias, Cmdlet, Function,
Provider,Workflow, HelpFile
© Syed Awase 2015-16 - PowerShell Ground Up! 24
Code Focused Training
PowerShell Extensions
•PowerShell Snapins
•Depreciated
•.NET assembly that implements
cmdlets and PS Providers
•PowerShell Modules
•A package of cmdlets that you can
use in PowerShell
• PowerShell Snapins
•Microsoft SQL Server 2008 R2
•SqlServerCmdletSnapin100
•SqlServerProviderSnapin100
•Microsoft SharePoint Server
•Microsoft.SharePoint.PowerSh
ell
•Vmware PowerCLI
•Package of 7 different Snapins
© Syed Awase 2015-16 - PowerShell Ground Up! 25
Code Focused Training
PowerShell Modules
•Community Built
•Hundreds of Modules available on
TechNet Gallery
•Packaged with OS
•ServerManager
•BestPractices
•Many more
•Additional Installation
•SQL Server 2012 R2
© Syed Awase 2015-16 - PowerShell Ground Up! 26
Code Focused Training
PowerShell Provider?
•They are Microsoft .NET
Framework based programs that
make the data in a specialized
data store available in Windows
PowerShell so that you can view
and manage it
• Default PowerShell Providers
•Alias
•Environment
•FileSystem
•Function
•Registry
•Variable
•Certificate
•WSMAN
•SqlServer(other)
•VMWare (other)
© Syed Awase 2015-16 - PowerShell Ground Up! 27
Code Focused Training
PowerShell Drive
• A data store location that you can
access like a file system drive in
Windows PowerShell.
•Windows PowerShell providers
create some drives for you, such as the
file system drives, the registry drives
and the certificate drive and also
users can create their own Windows
PowerShell drives.
© Syed Awase 2015-16 - PowerShell Ground Up! 28
• Default PowerShell Drives
•Alias
•C(and any other disk drive)
•Cert
•Env
•Function
•HKCU (Registry drive)
•HKLM (Registry)
•Variable
•WSMAN
Code Focused Training
PSDrives and PSProviders
• It is a data store location that you can
access like a file system drive in Windows
Powershell.
•It uses the noun, PSDrive for the
commands that work with windows
powershell drive.
•PSProvider parameter lets you display
only the Windows PowerShell drives that
are supported by a particular provider.
© Syed Awase 2015-16 - PowerShell Ground Up! 29
Code Focused Training
Cmdlets
• They are heart-and-soul of windows
PowerShell, Microsoft’s new
command shell/scripting language.
© Syed Awase 2015-16 - PowerShell Ground Up! 30
https://technet.microsoft.com/en-us/library/hh848794.aspx
Code Focused Training
Item Cmdlets
Cmdlet Action
Clear-Item Remove the value of an item
Copy-Item Copy an item to a new location
Get-Item Retrieve data from an item
Get-ChildItem Retrieve child items from parent
Invoke-Item Performs action for a specified item
Move-Item Moves an item to a new location
New-Item Creates a new item
Remove-Item Deletes an item
Rename-Item Renames an item
Set-Item Updates the value of an item
© Syed Awase 2015-16 - PowerShell Ground Up! 31
Code Focused Training
Item Property Cmdlets
CmdLet Action
Clear-ItemProperty Delete value of a property
Copy-ItemProperty Copy property from one location to another
Get-ItemProperty Retrieve properties of item
Move-ItemProperty Move a property and it’s values from one locations to
another
New-ItemProperty Create new item Property
Remove-ItemProperty Delete a property and it’s values
Rename-ItemProperty Rename a property
Set-ItemProperty Update the properties of an item
© Syed Awase 2015-16 - PowerShell Ground Up! 32
Code Focused Training
Location Cmdlets
Cmdlet Action
Get-Location Retrieve current working location
Pop-Location Change current location to most recently pushed
Push-Location Adds current location to the top of a list of
locations
Set-Location Set current working location
© Syed Awase 2015-16 - PowerShell Ground Up! 33
Code Focused Training
Path Cmdlets
Cmdlet Action
Join-Path Combine a parent and child path segment to create
a provider-internal path
Convert-Path Convert a path from a PowerShell path to a
PowerShell provider path
Split-Path Returns a specified part of a path
Resolve-Path Resolves the wildcard characters in a path
Test-Path Determines if all elements of a path exist
© Syed Awase 2015-16 - PowerShell Ground Up! 34
Code Focused Training
Service Cmdlets
Cmdlet Action
Get-Service Returns all of the services for the computer
New-Service Creates a New Service in the service database
Restart-Service Restarts a specified service
Resume-Service Resumes a specified service from a suspended state
Set-Service Modify the state or the property of a specified service
Start-Service Start a specified service
Stop-Service Stop a specified service
Suspend-Service Suspend a specified service
© Syed Awase 2015-16 - PowerShell Ground Up! 35
Code Focused Training
Managing Process Cmdlets (Not Task Manager)
Cmdlet Action
Debug-Process Attaches debugger to specified process(s)
Get-Process Returns all processes running
Start-Process Starts a new process
Stop-Process Stops a process
Wait-Process Suppresses the command prompt until a
process is stopped
© Syed Awase 2015-16 - PowerShell Ground Up! 36
Code Focused Training
EventLog Cmdlets
Cmdlet Action
Clear-EventLog Deletes event log Entries from specified event log
Get-EventLog Retrieves events from specified event log
Limit-EventLog Sets maximum size of event log you specify
New-EventLog Create new event log
Remove-EventLog Deletes an event log
Show-EventLog Opens event viewer
Write-EventLog Write an event to a specified event log
© Syed Awase 2015-16 - PowerShell Ground Up! 37
Code Focused Training
PhysicalDisk Cmdlets
Cmdlet Action
Add-PhysicalDisk Adds specified disk to a specified storage pool or virtual
disk
Get-PhysicalDisk Retrieves all physical disk(s)
Remove-PhysicalDisk Remove specified physical disk from specified storage
pool
Reset-PhysicalDisk Reset status of a physical disk in a storage space
Set-PhysicalDisk Modifies attributes of a specified physical disk
© Syed Awase 2015-16 - PowerShell Ground Up! 38
Code Focused Training
Volume Cmdlets
Cmdlet Action
Format-Volume Format specified volumes
Get-Volume Retrieves all disk volumes
New-Volume Creates a new disk volume for a storage space
Optimize-Volume Trims, Defragments or consolidates slabs for specified
volume
Repair-Volume Repairs Specified Volume
Set-Volume Modify the specified volume
© Syed Awase 2015-16 - PowerShell Ground Up! 39
Code Focused Training
WindowsFeature Cmdlets
Cmdlet Action
Get-WindowsFeature Retrieves Information about Windows Server roles. Role
services and features
Install-WindowsFeature Installs the specified roles, role services and features
Uninstall-WindowsFeature Uninstalls and optionally removes specified roles, role
services and features
© Syed Awase 2015-16 - PowerShell Ground Up! 40
Code Focused Training
PowerShell Pipeline
SYED AWASE
© Syed Awase 2015-16 - PowerShell Ground Up! 41
Code Focused Training
Pipeline
• A series of commands, where in the results of
the preceding expression/command are sent as
input to next command/expression using
“pipe” (|) operator.
•You can identify if pipeline input is accepted
by looking at Code options using
•Get-Help Get-Command -Full
© Syed Awase 2015-16 - PowerShell Ground Up! 42
Code Focused Training
Measure-Object
•Calculate numeric properties of an object
• used to compute the minimum, maximum, Average and Sum of a property
•Counting Total Files in a Directory
•Get-ChildItem –Path c:Windows –File | Measure-Object
•Counting Lines in a text file
•Get-Content C:Syedprofile.txt | Measure-Object -Line
•Summing Total Disk Utilization
•Get-ChildItem C:Syed –Recurse –File | Measure-Object -Property Length -
Sum
© Syed Awase 2015-16 - PowerShell Ground Up! 43
Code Focused Training
Measure-Object
© Syed Awase 2015-16 - PowerShell Ground Up! 44
Code Focused Training
The Out Cmdlet
Cmdlet Action
Out-File Outputs the specified content to a file
Out-GridView Outputs the specified content to an interactive
table
Out-Host Outputs the content to the console
Out-Null Deletes the content that would normally be output
Out-Printer Sends the output to a specified printer
Out-String Converts the output into a string
Out-default Ouput is directly sent to the host/the shell.
© Syed Awase 2015-16 - PowerShell Ground Up! 45
Code Focused Training
Convert Command
• Export in Powershell terms means converting data
into a format say CSV, then saving the converted format
into a file for storage
•Convert on the other hand means conversion to a
different format only not necessarily saving it into a
file
•Get-Service |ConvertTo-HTML | Out-file services.html
© Syed Awase 2015-16 - PowerShell Ground Up! 46
Code Focused Training
The ConvertTo Cmdlet
Cmdlet Action
ConvertTo-Csv Converts provided object to csv string
ConvertTo-Html Converts provided object to HTML string
ConvertTo-Json Converts provided object to JSON string
ConvertTo-SecureString Converts provided encrypted strings or plain text strings to a secure string
ConvertTo-TpmOwnerAuth Converts string value to a TPM owner authorization string
ConvertTo-Xml Converts provided object to an XML String
ConvertFrom
ConvertFrom-Csv Converts a String in a csv form to an object
ConvertFrom-JSON Converts a JSON Object Structure to an object
ConvertFrom-SecureString Converts provided encrypted strings or plain text string to a secure string
ConvertFrom-StringData Converts a string that contains key and value pairs into a hash table
© Syed Awase 2015-16 - PowerShell Ground Up! 47
Code Focused Training
Import and Export XML Documents
•Exporting data to an XML document
•Get-Service | Export-Clixml .myservices.xml
•Importing data from an XML document
•Import-Clixml .myservices.xml
© Syed Awase 2015-16 - PowerShell Ground Up! 48
Code Focused Training
Importing and Exporting CSV Documents
•Exporting data to a CSV Document
•Get-Service | Export-Csv .myservices.csv
•Importing data from CSV Document
•Import-Csv .myservices.csv
© Syed Awase 2015-16 - PowerShell Ground Up! 49
Code Focused Training
Comparison Operators
Operator Definition
-eq Equal to
-ne Not equal to
-gt Greater than
-lt Less than
-le Less than equal to
-ge Greater than equal to
-match Matches a string using a regular expression
-notmatch Does not match a string using a regular expression
-like Match a value using a wildcard character
-notlike Does not match a value using a wild card character
-In Tells whether a test value appears in a collection or referenc evalue
-notin Tells whether a test value does not appear in a collection or reference value
-contains Determines elements in a group
-notcontains Determine excluded elements in a group
© Syed Awase 2015-16 - PowerShell Ground Up! 50
Code Focused Training
Boolean Operators
Operator Purpose
-and Return True if all subexpressions are TRUE
-or Return True if all subexpressions are TRUE
-not or ! Return the opposite, True becomes false and viceversa
-xor Return True if one subexpression is TRUE, but not if both are True
-replace Replaces part of all of the value on the left side of operator
© Syed Awase 2015-16 - PowerShell Ground Up! 51
Code Focused Training
Bitwise Operators
Operator Purpose
-band Return 1 if both compared bits are 1
-bor Return 1 if either compared bit is 1
-bxor Return 1 if one compared bit is 1, but not if both are 1
© Syed Awase 2015-16 - PowerShell Ground Up! 52
Code Focused Training
Object Type Operators
•Powershell provides three operators that identify and
manipulate object types
•“-is” operator is used to test the type of an object
• “Syed Awase” is [string]
•“-isnot” performs the converse action – it tests if an object is not
of a specific type
•“-as” operator attempts to convert an object of one type into
another type
•“string” as [int]
© Syed Awase 2015-16 - PowerShell Ground Up! 53
Code Focused Training
Format Operator
• “-f” format operator to create formatted strings.
Call Operator
•& sign (ampersand) – invoke operator which is used to execute strings
or script blocks
•
© Syed Awase 2015-16 - PowerShell Ground Up! 54
Code Focused Training
SubExpression Operator
•$( ) is used to place expressions inside the parentheses
•A subexpression enables you to have something more
complicated than a single variable
© Syed Awase 2015-16 - PowerShell Ground Up! 55
Code Focused Training
Math Operators
•Math class has a number of methods that supply the math functionality
needed for powershell operations.
•[math]::pi
•[System.Math]::pi
• “::” tells PowerShell to use a static filed and pi determines the field or
method to be accessed.
•[math]::Sqrt(16)
•[math]::Sin([math]::pi/2)
© Syed Awase 2015-16 - PowerShell Ground Up! 56
Code Focused Training
PowerShell
PSSnapins
• They are first approach of extending
the shell, although they are still
supported in versions 2, 3, and 4.
•Deprecated now, but they are
written in .NET language like C# or VB
and they are packaged as DLL files.
Modules
•They are capable of adding functions
to the shell, introduced in version 2.
•Modules can benefit from
autoloading, they can also be
copied from system to system and
on their underlying dependencies.
© Syed Awase 2015-16 - PowerShell Ground Up! 57
• PowerShell has two types of extensions: PSSnapins and Modules,
Both are capable of adding Cmdlets and PSProviders to the shell.
Code Focused Training
Modules
• They are preferred way of extending
the shell. Using Profiles we can
automate the loading of modules
into the memory.
•Modules are novel way of
extending the shell functionality.
© Syed Awase 2015-16 - PowerShell Ground Up! 58
Code Focused Training
Selecting Objects
• Select-Object includes a –Property
parameter, which accepts a comma-
separated list of properties that you
want to display. We use this to
override the default display for that
object type.
•Select-Object can do is select a
subset of “rows” or objects. It can
select a chunk of objects either from the
beginning of the set, or from the end, or
even from the middle.
© Syed Awase 2015-16 - PowerShell Ground Up! 59
Code Focused Training
Making custom properties using select-object
•Select-Object’s –Property parameter accepts a combination of
property names, and some custom properties which are properties
defined on the fly using a special syntax.
© Syed Awase 2015-16 - PowerShell Ground Up! 60
Code Focused Training
Filtering Objects (Where-Object)
•Where-Object is used for filtering out objects based on user’s requirements.
•First introduced in PowerShell v3.0
•It requires
•The name of the property that contains the data you want to filter on
•The property values that you want to keep
© Syed Awase 2015-16 - PowerShell Ground Up! 61
Code Focused Training
Grouping Objects
• Group-Object Cmdlet takes a bunch
of object and puts them into buckets
or groups based on a key property
© Syed Awase 2015-16 - PowerShell Ground Up! 62
Code Focused Training
Enumerating Objects
© Syed Awase 2015-16 - PowerShell Ground Up! 63
Code Focused Training
Special Characters
• Single Quotes will always handle a string quite literally
•Double Quotes, on the other hand will allow you to escape the special
characters that are in the text
•Special character, when preceded by the backtick, or ` will take on
specific actions that otherwise would not be accomplished without the
presence of the backtick.
© Syed Awase 2015-16 - PowerShell Ground Up! 64
Code Focused Training
Special Character Description
`0 Insets a null value
`a Sends an alert(bell or beep) to the computer’s speaker
`b Inserts a backspace
`f Inserts a form feed
`n Inserts a new line
`r Inserts a carriage return
`t Inserts a horizontal tab
`v Inserts a vertical tab
`’ Inserts a single quote
`” Inserts a double quote
© Syed Awase 2015-16 - PowerShell Ground Up! 65
Code Focused Training
Scalers
• They are virtual duffel bags that are utilized in order to store and transport
data within your PS code.
•Scalers that are built into both PS’s and Windows Environments come with
data already allocated to them.
© Syed Awase 2015-16 - PowerShell Ground Up! 66
Code Focused Training
PS Providers
• the core of data store access resides within PS providers. One such providers
is Microsoft .NET.
•It provides you with a data access layer. This layer is between the data and PS
itself.
•This layer and by relation the providers, allow you to connect with various
data stores by utilizing different PS mechanisms.
© Syed Awase 2015-16 - PowerShell Ground Up! 67
Code Focused Training
PS Providers
Providers Data Store
Alias PS built-in and user-defined aliases
Certificate Windows digital signature certificates
Environment Windows environment scalers
FileSystem Windows file system drives, folders and files
Function PS Functions
Registry Windows Registry
Scaler PS Scalers
© Syed Awase 2015-16 - PowerShell Ground Up! 68
Code Focused Training
PowerShell’s Scripting
Language
SYED AWASE
© Syed Awase 2015-16 - PowerShell Ground Up! 69
Code Focused Training
Scripting
• Like many command-line shells, PS
contains a scripting language, which is
useful to automate complex, multipart
processes that may require different
actions to be taken for different
scenarios.
•Language keywords are around 24
commands loosely modeled on C# and
lends a strong resemblance to other C-
based languages such as PHP, C++ and
Java.
• Most of Scripting is based on
conditions to evaluate expressions.
• A script is a convenient way of
packaging a handful of commands
to execute a specific job.
•A function is a wrapper around a
set of commands, created in such a
way that multiple functions can be
listed within a single script file
•Scripts generally run with their
own scope.
© Syed Awase 2015-16 - PowerShell Ground Up! 70
Code Focused Training
Simple Scripting Example (Looping)
© Syed Awase 2015-16 - PowerShell Ground Up! 71
Code Focused Training
Simple Scripting Example(Conditions)
© Syed Awase 2015-16 - PowerShell Ground Up! 72
Code Focused Training
PowerShell Workflow
•Built on top of Windows Workflow
foundation
•Uses Window WF to execute the
scripts
•Two main goals with Workflow
•Allow for long running tasks
•Robust, interruptable
• Workflows use Stateless Execution
•Each line of code in a workflow is
considered an activity
•Each activity is considered a
standalone unit, i.e. when executed
it is as if it is being run for the first
time
•This is necessary so a workflow
can be suspended and resumed
•Exception is with non-object
variables, their values will be
persisted.
© Syed Awase 2015-16 - PowerShell Ground Up! 73
Code Focused Training
Empowering You
TPRI-SYCLIQ PROGRAMS OVERVIEW
© Syed Awase 2015-16 - PowerShell Ground Up! 74
Code Focused TrainingCode Focused Training
Artificial Intelligence
• We also train on AI
Stack
• Reach out to us sak@sycliq.com
or
sak@territorialprescience.com
• www.territorialprescience.com
• www.sycliq.com
• +91.9035433124
© Syed Awase 2015-16 - PowerShell Ground Up! 75
LISP
PROLOG
HASKELL
CLOJURE
F#
PYTHON
GO
Code Focused TrainingCode Focused Training
© Syed Awase 2015-16 - PowerShell Ground Up! 76
Dr. Syed Awase 2016 Session Feedbacks: http://bit.ly/2hhNg58
Reach out to sak@territorialprescience.com/+91.9035433124
Dr. Syed Awase also offers Machine learning Stack, R Statistical Stack,
.NET Stack, Java Stack, RaspberryPi Stack. Get the pulse of performance from here
http://bit.ly/2hhNg58
Angular 2.x/Angular JS 1.5.x
Code Focused TrainingCode Focused Training
JavaScript Frameworks
Code DRIVEN CAPACITY BUILDING PROGRAM
Dr. Syed Awase 2016 Session Feedbacks: http://bit.ly/2hhNg58
Now Offering!
1.X /2.X
Angular
Reach out to sak@territorialprescience.com/+91.9035433124
Dr. Syed Awase also offers Machine learning Stack, R Statistical Stack,
.NET Stack, Java Stack, RaspberryPi Stack. Get the pulse of performance from here
http://bit.ly/2hhNg58
Code Focused TrainingCode Focused Training
React.js Ecosystem
ES 5/6
JSPM/WEBPACK/JEST
NODE.JS/BABEL
React + JSX
React Router/
React-router-redux
Relay
React Native
GraphQL
Flux/Redux/Alt/
Reflux/Fluxxor
React-bootstrap/
Elemental UI
/Material Design
Reselector/
Immutable.js
Dr. Syed Awase also offers Machine learning Stack, R
Statistical Stack, .NET Stack, Java Stack, RaspberryPi
Stack. Get the pulse of performance from here
http://bit.ly/2hhNg58
Reach out to us @ sak@territorialprescience.com / +91.9035433124
REACT.JS LEARNING PATH
Dr. Syed Awase
Now Offering
Code Focused TrainingCode Focused Training
R-Statistical Programming
© Syed Awase 2015-16 - PowerShell Ground Up! 79
1
2
3
4 8
7
6
5
R
Pre-Modeling Stage
Modeling Stage
Post Modeling Stage
Database Connectivity
Text Mining
Web Packages
Data Mining
Web Extraction
Dr. Syed Awase 2016 Session
Feedbacks: http://bit.ly/2hhNg58
Reach out to
sak@territorialprescience.com/
+91.9035433124
Dr. Syed Awase also offers Machine learning Stack, R
Statistical Stack,
.NET Stack, Java Stack, RaspberryPi Stack. Get the pulse of
Code Focused Training
JavaTechnologies
• Core Java
• Hibernate
• Spring
Framewor
k
• Play
Framewor
k
• Hadoop
• Groovy &
Grails
MicrosoftTechnologies
• C# Core
• Entity
Framew
ork
• MVC 5/6
• Web Api
• OWIN/K
ATANA
• WCF
• WPF
Python
• Python
• Django
• Flask
• Numpy
• Scipy
• Machine
Learning
DataScience
• R Statistical
Programmin
g
• Julia
SQLandNoSQL
• Oracle
• PostgreSQ
L
• MSSQL
• MongoDB
• Neo4j
• Redis
• Firebase
• Apache
Cassandra
Client-SideFrameworks
• Angular
JS 1.5.x
• Angular
2.4.x
• React JS
• KnockOut
JS
• VueJS
• Backbone
JS
• EMBER JS
• Hapi JS
• METEORJ
S
• MEANJS
• Coffeescri
pt
• Dart
Others
• LISP
• CLOJUR
E
• RUST
• GO
• Raspberr
yPI
• Coming
Soon
• PHP
• Robotic
OS
Thank You
We also provide Code Driven Open House Trainings : sak@territorialprescience.com or sak@sycliq.com
For code driven trainings for Technology Firms reach out to us +91-9035433124
We are hardcore Technologists/Architects/Programmers
trainings are offered by Dr. SYED Awase

Más contenido relacionado

La actualidad más candente

PowerShell for Penetration Testers
PowerShell for Penetration TestersPowerShell for Penetration Testers
PowerShell for Penetration TestersNikhil Mittal
 
(Declarative) Jenkins Pipelines
(Declarative) Jenkins Pipelines(Declarative) Jenkins Pipelines
(Declarative) Jenkins PipelinesSteffen Gebert
 
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...Andrejs Prokopjevs
 
OpenSync: Open Source for Cloud to Device Enabled Services
OpenSync: Open Source for Cloud to Device Enabled ServicesOpenSync: Open Source for Cloud to Device Enabled Services
OpenSync: Open Source for Cloud to Device Enabled ServicesAll Things Open
 
WebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewWebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewJames Bayer
 
Vert.X: Microservices Were Never So Easy (Clement Escoffier)
Vert.X: Microservices Were Never So Easy (Clement Escoffier)Vert.X: Microservices Were Never So Easy (Clement Escoffier)
Vert.X: Microservices Were Never So Easy (Clement Escoffier)Red Hat Developers
 
WebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck ThreadsWebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck ThreadsMaarten Smeets
 
Maven Basics - Explained
Maven Basics - ExplainedMaven Basics - Explained
Maven Basics - ExplainedSmita Prasad
 
Introduction To Power Shell
Introduction To Power ShellIntroduction To Power Shell
Introduction To Power ShellIvan Suhinin
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesSreenivas Makam
 
Mlag invisibile layer 2 redundancy
Mlag invisibile layer 2 redundancyMlag invisibile layer 2 redundancy
Mlag invisibile layer 2 redundancyCumulus Networks
 
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법Open Source Consulting
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetesrajdeep
 
WebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackWebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackDLT Solutions
 
PowerShell 101
PowerShell 101PowerShell 101
PowerShell 101Thomas Lee
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction Robert Reiz
 
Enable Domino Data Access Services (DAS)
Enable Domino Data Access Services (DAS)Enable Domino Data Access Services (DAS)
Enable Domino Data Access Services (DAS)Slobodan Lohja
 

La actualidad más candente (20)

PowerShell for Penetration Testers
PowerShell for Penetration TestersPowerShell for Penetration Testers
PowerShell for Penetration Testers
 
(Declarative) Jenkins Pipelines
(Declarative) Jenkins Pipelines(Declarative) Jenkins Pipelines
(Declarative) Jenkins Pipelines
 
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
 
OpenSync: Open Source for Cloud to Device Enabled Services
OpenSync: Open Source for Cloud to Device Enabled ServicesOpenSync: Open Source for Cloud to Device Enabled Services
OpenSync: Open Source for Cloud to Device Enabled Services
 
Socket.IO
Socket.IOSocket.IO
Socket.IO
 
WebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewWebLogic Scripting Tool Overview
WebLogic Scripting Tool Overview
 
Vert.X: Microservices Were Never So Easy (Clement Escoffier)
Vert.X: Microservices Were Never So Easy (Clement Escoffier)Vert.X: Microservices Were Never So Easy (Clement Escoffier)
Vert.X: Microservices Were Never So Easy (Clement Escoffier)
 
PowerShell UIAtomation
PowerShell UIAtomationPowerShell UIAtomation
PowerShell UIAtomation
 
WebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck ThreadsWebLogic Stability; Detect and Analyse Stuck Threads
WebLogic Stability; Detect and Analyse Stuck Threads
 
Maven Basics - Explained
Maven Basics - ExplainedMaven Basics - Explained
Maven Basics - Explained
 
Introduction To Power Shell
Introduction To Power ShellIntroduction To Power Shell
Introduction To Power Shell
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting Techniques
 
Mlag invisibile layer 2 redundancy
Mlag invisibile layer 2 redundancyMlag invisibile layer 2 redundancy
Mlag invisibile layer 2 redundancy
 
Continuous delivery-with-maven
Continuous delivery-with-mavenContinuous delivery-with-maven
Continuous delivery-with-maven
 
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
WebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackWebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt Pack
 
PowerShell 101
PowerShell 101PowerShell 101
PowerShell 101
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
Enable Domino Data Access Services (DAS)
Enable Domino Data Access Services (DAS)Enable Domino Data Access Services (DAS)
Enable Domino Data Access Services (DAS)
 

Destacado

Practical PowerShell Programming for Professional People
Practical PowerShell Programming for Professional PeoplePractical PowerShell Programming for Professional People
Practical PowerShell Programming for Professional PeopleBen Ten (0xA)
 
Powershell Training
Powershell TrainingPowershell Training
Powershell TrainingFahad Noaman
 
Power shell training
Power shell trainingPower shell training
Power shell trainingDavid Brabant
 
An Introduction to Windows PowerShell
An Introduction to Windows PowerShellAn Introduction to Windows PowerShell
An Introduction to Windows PowerShellDale Lane
 
PowerShell 101 - What is it and Why should YOU Care!
PowerShell 101 - What is it and Why should YOU Care!PowerShell 101 - What is it and Why should YOU Care!
PowerShell 101 - What is it and Why should YOU Care!Thomas Lee
 
Use Powershell to make your life easy.
Use Powershell to make your life easy.Use Powershell to make your life easy.
Use Powershell to make your life easy.Aman Dhally
 
Practical PowerShell Programming for Professional People - DerbyCon 4
Practical PowerShell Programming for Professional People - DerbyCon 4Practical PowerShell Programming for Professional People - DerbyCon 4
Practical PowerShell Programming for Professional People - DerbyCon 4Ben Ten (0xA)
 
Windows Server 2008 (PowerShell Scripting Uygulamaları)
Windows Server 2008 (PowerShell Scripting Uygulamaları)Windows Server 2008 (PowerShell Scripting Uygulamaları)
Windows Server 2008 (PowerShell Scripting Uygulamaları)ÇözümPARK
 
PowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewPowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewRichard Giles
 
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...Richard Calderon
 
Practical PowerShell Programming for Professional People - Extended Edition
Practical PowerShell Programming for Professional People - Extended EditionPractical PowerShell Programming for Professional People - Extended Edition
Practical PowerShell Programming for Professional People - Extended EditionBen Ten (0xA)
 
Power on, Powershell
Power on, PowershellPower on, Powershell
Power on, PowershellRoo7break
 
Powershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge ClubPowershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge ClubEssam Salah
 
Office 365 & PowerShell - A match made in heaven
Office 365 & PowerShell - A match made in heavenOffice 365 & PowerShell - A match made in heaven
Office 365 & PowerShell - A match made in heavenSébastien Levert
 
PowerShell from *nix user perspective
PowerShell from *nix user perspectivePowerShell from *nix user perspective
PowerShell from *nix user perspectiveJuraj Michálek
 
Managing Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShellManaging Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShellguesta849bc8b
 
PowerShell 101
PowerShell 101PowerShell 101
PowerShell 101Thomas Lee
 
Incorporating PowerShell into your Arsenal with PS>Attack
Incorporating PowerShell into your Arsenal with PS>AttackIncorporating PowerShell into your Arsenal with PS>Attack
Incorporating PowerShell into your Arsenal with PS>Attackjaredhaight
 
Getting Started With PowerShell Scripting
Getting Started With PowerShell ScriptingGetting Started With PowerShell Scripting
Getting Started With PowerShell ScriptingRavikanth Chaganti
 
Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012
Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012
Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012Puppet
 

Destacado (20)

Practical PowerShell Programming for Professional People
Practical PowerShell Programming for Professional PeoplePractical PowerShell Programming for Professional People
Practical PowerShell Programming for Professional People
 
Powershell Training
Powershell TrainingPowershell Training
Powershell Training
 
Power shell training
Power shell trainingPower shell training
Power shell training
 
An Introduction to Windows PowerShell
An Introduction to Windows PowerShellAn Introduction to Windows PowerShell
An Introduction to Windows PowerShell
 
PowerShell 101 - What is it and Why should YOU Care!
PowerShell 101 - What is it and Why should YOU Care!PowerShell 101 - What is it and Why should YOU Care!
PowerShell 101 - What is it and Why should YOU Care!
 
Use Powershell to make your life easy.
Use Powershell to make your life easy.Use Powershell to make your life easy.
Use Powershell to make your life easy.
 
Practical PowerShell Programming for Professional People - DerbyCon 4
Practical PowerShell Programming for Professional People - DerbyCon 4Practical PowerShell Programming for Professional People - DerbyCon 4
Practical PowerShell Programming for Professional People - DerbyCon 4
 
Windows Server 2008 (PowerShell Scripting Uygulamaları)
Windows Server 2008 (PowerShell Scripting Uygulamaları)Windows Server 2008 (PowerShell Scripting Uygulamaları)
Windows Server 2008 (PowerShell Scripting Uygulamaları)
 
PowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewPowerShell Plus v4.7 Overview
PowerShell Plus v4.7 Overview
 
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
 
Practical PowerShell Programming for Professional People - Extended Edition
Practical PowerShell Programming for Professional People - Extended EditionPractical PowerShell Programming for Professional People - Extended Edition
Practical PowerShell Programming for Professional People - Extended Edition
 
Power on, Powershell
Power on, PowershellPower on, Powershell
Power on, Powershell
 
Powershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge ClubPowershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge Club
 
Office 365 & PowerShell - A match made in heaven
Office 365 & PowerShell - A match made in heavenOffice 365 & PowerShell - A match made in heaven
Office 365 & PowerShell - A match made in heaven
 
PowerShell from *nix user perspective
PowerShell from *nix user perspectivePowerShell from *nix user perspective
PowerShell from *nix user perspective
 
Managing Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShellManaging Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShell
 
PowerShell 101
PowerShell 101PowerShell 101
PowerShell 101
 
Incorporating PowerShell into your Arsenal with PS>Attack
Incorporating PowerShell into your Arsenal with PS>AttackIncorporating PowerShell into your Arsenal with PS>Attack
Incorporating PowerShell into your Arsenal with PS>Attack
 
Getting Started With PowerShell Scripting
Getting Started With PowerShell ScriptingGetting Started With PowerShell Scripting
Getting Started With PowerShell Scripting
 
Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012
Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012
Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012
 

Similar a Powershell training material

Holy PowerShell, BATman! - dogfood edition
Holy PowerShell, BATman! - dogfood editionHoly PowerShell, BATman! - dogfood edition
Holy PowerShell, BATman! - dogfood editionDave Diehl
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld
 
Quality code in wordpress
Quality code in wordpressQuality code in wordpress
Quality code in wordpressRan Bar-Zik
 
Acing application lifecycle management in SharePoint
Acing application lifecycle management in SharePointAcing application lifecycle management in SharePoint
Acing application lifecycle management in SharePointJeremy Thake
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopersBryan Cafferky
 
Azure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusabilityAzure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusabilityStephane Lapointe
 
Client side attacks using PowerShell
Client side attacks using PowerShellClient side attacks using PowerShell
Client side attacks using PowerShellNikhil Mittal
 
Build automation best practices
Build automation best practicesBuild automation best practices
Build automation best practicesCode Mastery
 
APEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdfAPEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdfRichard Martens
 
Native script overview
Native script overviewNative script overview
Native script overviewBaskar rao Dsn
 
Building Security into Your Workflow with InSpec
Building Security into Your Workflow with InSpecBuilding Security into Your Workflow with InSpec
Building Security into Your Workflow with InSpecMandi Walls
 
Native Script Overview
Native Script OverviewNative Script Overview
Native Script OverviewBaskar rao Dsn
 
Release Management with Visual Studio Team Services and Office Dev PnP
Release Management with Visual Studio Team Services and Office Dev PnPRelease Management with Visual Studio Team Services and Office Dev PnP
Release Management with Visual Studio Team Services and Office Dev PnPPetter Skodvin-Hvammen
 
Zend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applicationsZend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applicationsEtisbew Technology Group
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Brian Culver
 
Selenium web driver_2.0_presentation
Selenium web driver_2.0_presentationSelenium web driver_2.0_presentation
Selenium web driver_2.0_presentationsayhi2sudarshan
 
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...European Collaboration Summit
 

Similar a Powershell training material (20)

powershell.pdf
powershell.pdfpowershell.pdf
powershell.pdf
 
Holy PowerShell, BATman! - dogfood edition
Holy PowerShell, BATman! - dogfood editionHoly PowerShell, BATman! - dogfood edition
Holy PowerShell, BATman! - dogfood edition
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
 
Quality code in wordpress
Quality code in wordpressQuality code in wordpress
Quality code in wordpress
 
Acing application lifecycle management in SharePoint
Acing application lifecycle management in SharePointAcing application lifecycle management in SharePoint
Acing application lifecycle management in SharePoint
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
 
Azure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusabilityAzure Resource Manager templates: Improve deployment time and reusability
Azure Resource Manager templates: Improve deployment time and reusability
 
Client side attacks using PowerShell
Client side attacks using PowerShellClient side attacks using PowerShell
Client side attacks using PowerShell
 
Build automation best practices
Build automation best practicesBuild automation best practices
Build automation best practices
 
Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros
 
APEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdfAPEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdf
 
Native script overview
Native script overviewNative script overview
Native script overview
 
KumarjitSharma_28011985
KumarjitSharma_28011985KumarjitSharma_28011985
KumarjitSharma_28011985
 
Building Security into Your Workflow with InSpec
Building Security into Your Workflow with InSpecBuilding Security into Your Workflow with InSpec
Building Security into Your Workflow with InSpec
 
Native Script Overview
Native Script OverviewNative Script Overview
Native Script Overview
 
Release Management with Visual Studio Team Services and Office Dev PnP
Release Management with Visual Studio Team Services and Office Dev PnPRelease Management with Visual Studio Team Services and Office Dev PnP
Release Management with Visual Studio Team Services and Office Dev PnP
 
Zend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applicationsZend MVC pattern based Framework – Best for Enterprise web applications
Zend MVC pattern based Framework – Best for Enterprise web applications
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
 
Selenium web driver_2.0_presentation
Selenium web driver_2.0_presentationSelenium web driver_2.0_presentation
Selenium web driver_2.0_presentation
 
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
 

Más de Dr. Awase Khirni Syed

Más de Dr. Awase Khirni Syed (8)

Require js training
Require js trainingRequire js training
Require js training
 
Es2015 training material-syedawase
Es2015 training material-syedawaseEs2015 training material-syedawase
Es2015 training material-syedawase
 
R programming groundup-basic-section-i
R programming groundup-basic-section-iR programming groundup-basic-section-i
R programming groundup-basic-section-i
 
Knockout js
Knockout jsKnockout js
Knockout js
 
Mongo db model relationships with documents
Mongo db model relationships with documentsMongo db model relationships with documents
Mongo db model relationships with documents
 
Mongo db groundup-0-nosql-intro-syedawasekhirni
Mongo db groundup-0-nosql-intro-syedawasekhirniMongo db groundup-0-nosql-intro-syedawasekhirni
Mongo db groundup-0-nosql-intro-syedawasekhirni
 
C# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENTC# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENT
 
SycliQ-AgribusinessInfographik001
SycliQ-AgribusinessInfographik001SycliQ-AgribusinessInfographik001
SycliQ-AgribusinessInfographik001
 

Último

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 

Último (20)

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 

Powershell training material

  • 1. Code Focused Training PowerShell SYED AWASE KHIRNI Syed Awase earned his PhD from University of Zurich in GIS, supported by EU V Framework Scholarship from SPIRIT Project (www.geo-spirit.org). He currently provides consulting services through his startup www.territorialprescience.com and www.sycliq.com. He empowers the ecosystem by sharing his technical skills worldwide, since 2008. RESEARCHER | ENTHREPRENEUR | TECHNOLOGY COACH awasekhirni@gmail.com | @aks008 | +91.9035433124
  • 2. Code Focused TrainingCode Focused Training Terms of use • You shall not circulate these slides without written permission from Territorial Prescience Research I Pvt ltd. • If you use any material, graphics or code or notes from these slides, you shall acknowledge the author Dr. Syed Awase Khirni • If you have not received this material, post-training session, you shall destroy it immediately and not use it for unauthorized usage of the material. • Powershell is a copyright of Microsoft © Syed Awase 2015-16 - PowerShell Ground Up! 2
  • 3. Code Focused Training © Syed Awase 2015-16 - PowerShell Ground Up! 3
  • 4. Code Focused Training PowerShell? • A terminal for managing windows infrastructure using scripting /commands to automate processes and workflows. • Robust, Object oriented scripting language with access to a wide range of things on the computer •Access to entire .NET and WMI frameworks •Enables administrators to perform administrative tasks on both local and remote windows systems. • Automating various administrative tasks and processes •Similar to Microsoft Management Console (MMC) •Task Automation and configuration management framework •Consisting of a command-line shell and associated scripting language •Built on the .NET Framework •Provides full access to COM and WMI © Syed Awase 2015-16 - PowerShell Ground Up! 4 https://msdn.microsoft.com/en-us/powershell/scripting/powershell-scripting
  • 5. Code Focused Training Using PowerShell • PowerShell •Console •ISE: Integrated Scripting Environment •Third-party Powershell editors •PrimalScript •PowerGUI •PowerShell + •PowerSE • Powershell available for •Windows 8.1 x86 and x64 •Windows Server 2012 R2 x64 •Windows Management Framework (WMF) •Windows 7 SPI (or above) x86 and x64 •Windows Embedded Standard 7 •Windows Server 2008 R2 SPI (or above) x64 •Windows Server 2012 © Syed Awase 2015-16 - PowerShell Ground Up! 5
  • 6. Code Focused Training PowerShell? Before and Now? © Syed Awase 2015-16 - PowerShell Ground Up! 6 Before Now GUI MMC GUIs built on top of Powershell Interactive Shell CMD PowerShell Scripting BAT in CMD PowerShell COM WMI(VBScript and Jscript) PowerShell
  • 7. Code Focused Training PowerShell Compatibility © Syed Awase 2015-16 - PowerShell Ground Up! 7 PS1.0 PS2.0 PS3.0 PS4.0 PS5.0 Windows XP SP2+ SP3+ Incompatible Incompatible Server 2003 SP2+ SP2+ Incompatible Incompatible Windows Vista Installed SP1+ Incompatible Incompatible Server 2008 Installed SP1+ SP2+ Incompatible Windows 7 Incompatible Installed Compatible Compatible Server 2008 R2 Incompatible Installed SP1+ SP1+ Windows 8 Incompatible Version parameter Installed SP1+ Server 2012 Incompatible Version parameter installed Compatible Windows 8.1 Incompatible Version parameter Version parameter Installed Server 2012 R2 Incompatible Version parameter Version parameter Installed Windows 10 Compatible
  • 8. Code Focused Training PowerShell Major Changes Version 2.O •PowerShell Remoting •New PowerShell ISE •PowerShell Modules •Background Jobs •Many new Cmdlets •Invoke-Command Version 3.0 •Overhauled PowerShell ISE •PowerShell Workflow •Disconnected Sessions •Scheduled Jobs •Delegated Administrations •Cmdlet Discovery •Show-Command •Invoke-WebRequest © Syed Awase 2015-16 - PowerShell Ground Up! 8
  • 9. Code Focused Training PowerShell Major Changes Version 4.O •Improved Debugging •Desired State Configuration Cmdlet’s Version 5.0 © Syed Awase 2015-16 - PowerShell Ground Up! 9
  • 10. Code Focused Training PowerShell –Integrated Scripting Environment © Syed Awase 2015-16 - PowerShell Ground Up! 10 • configuration files (.ps1xml), • module script files (.psm1), and •Windows PowerShell profiles (.ps1). $PSVersionTable - to get the version
  • 11. Code Focused Training Powershell References •https://msdn.microsoft.com/en-us/library/dd835506(v=vs.85).aspx •https://msdn.microsoft.com/en-us/library/ff458115.aspx •https://msdn.microsoft.com/en-us/library/dd878310(v=vs.85).aspx •https://msdn.microsoft.com/en-us/library/dd878294(v=vs.85).aspx •https://msdn.microsoft.com/en-us/library/ee126192(v=vs.85).aspx •https://msdn.microsoft.com/en-us/library/ee706563(v=vs.85).aspx •https://msdn.microsoft.com/en-us/library/gg580944(v=vs.85).aspx •https://msdn.microsoft.com/en-us/library/ms714469(v=vs.85).aspx © Syed Awase 2015-16 - PowerShell Ground Up! 11 • Get-Command • Get-Help • Get-PSDrive
  • 12. Code Focused Training PowerShell Execution Policies •execution policies let you determine the conditions under which Windows PowerShell loads configuration files and runs scripts. •set an execution policy for the local computer, for the current user, or for a particular session. •Execution policies for the local computer and current user are stored in the registry. © Syed Awase 2015-16 - PowerShell Ground Up! 12 https://msdn.microsoft.com/powershell/reference/5.1/Microsoft.PowerShell.Core/about/about_Execution_Policies • Execution Policies •Restricted - permits individual commands, but will not run scripts • prevents running of all scritps
  • 13. Code Focused Training Restricted Execution Policy •Default execution policy in Windows 8, Windows Server 2012, and Windows 8.1. •Permits individual commands, but will not run scripts. •Prevents running of all script files, including formatting and configuration files (.ps1xml), module script files (.psm1), and Windows PowerShell profiles (.ps1). AllSigned Execution Policy •Scripts can run. •Requires that all scripts and configuration files be signed by a trusted publisher, including scripts that you write on the local computer. •Prompts you before running scripts from publishers that you have not yet classified as trusted or untrusted. •Risks running signed, but malicious, scripts. © Syed Awase 2015-16 - PowerShell Ground Up! 13
  • 14. Code Focused Training Remote Signed Execution Policy •Scripts can run. This is the default execution policy in Windows Server 2012 R2. •Requires a digital signature from a trusted publisher on scripts and configuration files that are downloaded from the Internet (including e- mail and instant messaging programs). •Does not require digital signatures on scripts that you have written on the local computer (not downloaded from the Internet). •Runs scripts that are downloaded from the Internet and not signed, if the scripts are unblocked, such as by using the Unblock-File cmdlet. •Risks running unsigned scripts from sources other than the Internet and signed, but malicious, scripts. Unrestricted Execution Policy •Unsigned scripts can run. (This risks running malicious scripts.) •Warns the user before running srcipts and configuration files that are downloaded from the Internet. © Syed Awase 2015-16 - PowerShell Ground Up! 14
  • 15. Code Focused Training Bypass Execution Policy • Nothing is blocked and there are no warnings or prompts. •This execution policy is designed for configurations in which a Windows PowerShell script is built in to a a larger application or for configurations in which Windows PowerShell is the foundation for a program that has its own security model. Undefined Execution Policy • There is no execution policy set in the current scope. •If the execution policy in all scopes is Undefined, the effective execution policy is Restricted, which is the default execution policy. © Syed Awase 2015-16 - PowerShell Ground Up! 15
  • 16. Code Focused Training Vocabulary • String: Any combination of letters and numbers “asdad”, “ab123” •Integer – A number without quotes, used for math •Boolean – True or False, represented in PS as $True or $False •Variable : A reference to a value that can be assigned over the course of a script/program. Declared in Powershell with a $[word] example : $variable1 © Syed Awase 2015-16 - PowerShell Ground Up! 16
  • 17. Code Focused Training Objects •An object is a type of “something” •As an object of a specific type, it inherits properties and methods related to it’s object type •Properties – information about the object •Methods – Code that interacts with the object •$string.Length •$string.ToUpper() © Syed Awase 2015-16 - PowerShell Ground Up! 17
  • 18. Code Focused Training Arrays •A list of objects separated by commas • ex: “one”,”two”,”three” •Arrays can be accessed using index numbers © Syed Awase 2015-16 - PowerShell Ground Up! 18
  • 19. Code Focused Training Commands • Powershell has 4 features that we think of as commands •Internal cmdlets, which only run inside PowerShell and are written in a .NET framework language such as Visual Basic or C# •Functions, which are written in PowerShell’s scripting language •PowerShell v3 and v4 cmdlets, which are produced from WMI ( Windows Mangement Instrumentations) classes using “cmdlets over objects” capabilities. • External Commands such as ping.exe which could also be run from old cmd.exe shell. © Syed Awase 2015-16 - PowerShell Ground Up! 19
  • 20. Code Focused Training CMDLETS •"Writing a Windows PowerShell Cmdlet" is for program managers who are designing cmdlets and for developers who are implementing cmdlet code. •A lightweight command that is used in the Windows PowerShell environment. •Windows PowerShell runtime invokes these cmdlets within the context of automation scripts that are provided at the command line. •Cmdlets perform an action and typically return a Microsoft .NET Framework object to the next command in the pipeline. • Primary way of getting things done in PowerShell •Always in a “verb-noun” format •Write-host – print something to screen •Get-process – get running processes •Set-clipboard – copy something to clipboard •get-eventlog – get contents of eventlog © Syed Awase 2015-16 - PowerShell Ground Up! 20
  • 21. Code Focused Training Cmdlet •Name •Synopsis •Syntax •Description •Parameters •Inputs •Outputs •Notes •Parameter Sets •Cmdlet’s can have multiple sets •Each set has similar, but discrete parameter functionality •Each set can share parameters • Positional Parameters •Able to execute command without specifying name •Value must be in correct order •Get-Command *VM ComputerName © Syed Awase 2015-16 - PowerShell Ground Up! 21
  • 22. Code Focused Training Cmdlet •Named Parameters •Requires parameter name be specified prior to value •Does not have be in specific order •Mandatory Parameters •Most cmdlet sets require atleast one parameter •Optional Parameters •A parameter set normally includes optional parameters •Identified by [] brackets © Syed Awase 2015-16 - PowerShell Ground Up! 22
  • 23. Code Focused Training Script blocks •A script block can contain any set of PowerShell commands and it can contain as many of them as you need. © Syed Awase 2015-16 - PowerShell Ground Up! 23
  • 24. Code Focused Training Logical Operators Lt Less than Le Less than or equal to Eq Equal to Ne Not equal to Ge Greater than or equal to Gt Greater than Get-Help • Show general information on using help •Get-Help •Show help for specific command •Get-Help Get-Command •Show in-depth details for specific command •Get-Help Get-Command –Full •Show examples for a specific command •Get-Help Get-Command –Examples •Help Categories •Alias, Cmdlet, Function, Provider,Workflow, HelpFile © Syed Awase 2015-16 - PowerShell Ground Up! 24
  • 25. Code Focused Training PowerShell Extensions •PowerShell Snapins •Depreciated •.NET assembly that implements cmdlets and PS Providers •PowerShell Modules •A package of cmdlets that you can use in PowerShell • PowerShell Snapins •Microsoft SQL Server 2008 R2 •SqlServerCmdletSnapin100 •SqlServerProviderSnapin100 •Microsoft SharePoint Server •Microsoft.SharePoint.PowerSh ell •Vmware PowerCLI •Package of 7 different Snapins © Syed Awase 2015-16 - PowerShell Ground Up! 25
  • 26. Code Focused Training PowerShell Modules •Community Built •Hundreds of Modules available on TechNet Gallery •Packaged with OS •ServerManager •BestPractices •Many more •Additional Installation •SQL Server 2012 R2 © Syed Awase 2015-16 - PowerShell Ground Up! 26
  • 27. Code Focused Training PowerShell Provider? •They are Microsoft .NET Framework based programs that make the data in a specialized data store available in Windows PowerShell so that you can view and manage it • Default PowerShell Providers •Alias •Environment •FileSystem •Function •Registry •Variable •Certificate •WSMAN •SqlServer(other) •VMWare (other) © Syed Awase 2015-16 - PowerShell Ground Up! 27
  • 28. Code Focused Training PowerShell Drive • A data store location that you can access like a file system drive in Windows PowerShell. •Windows PowerShell providers create some drives for you, such as the file system drives, the registry drives and the certificate drive and also users can create their own Windows PowerShell drives. © Syed Awase 2015-16 - PowerShell Ground Up! 28 • Default PowerShell Drives •Alias •C(and any other disk drive) •Cert •Env •Function •HKCU (Registry drive) •HKLM (Registry) •Variable •WSMAN
  • 29. Code Focused Training PSDrives and PSProviders • It is a data store location that you can access like a file system drive in Windows Powershell. •It uses the noun, PSDrive for the commands that work with windows powershell drive. •PSProvider parameter lets you display only the Windows PowerShell drives that are supported by a particular provider. © Syed Awase 2015-16 - PowerShell Ground Up! 29
  • 30. Code Focused Training Cmdlets • They are heart-and-soul of windows PowerShell, Microsoft’s new command shell/scripting language. © Syed Awase 2015-16 - PowerShell Ground Up! 30 https://technet.microsoft.com/en-us/library/hh848794.aspx
  • 31. Code Focused Training Item Cmdlets Cmdlet Action Clear-Item Remove the value of an item Copy-Item Copy an item to a new location Get-Item Retrieve data from an item Get-ChildItem Retrieve child items from parent Invoke-Item Performs action for a specified item Move-Item Moves an item to a new location New-Item Creates a new item Remove-Item Deletes an item Rename-Item Renames an item Set-Item Updates the value of an item © Syed Awase 2015-16 - PowerShell Ground Up! 31
  • 32. Code Focused Training Item Property Cmdlets CmdLet Action Clear-ItemProperty Delete value of a property Copy-ItemProperty Copy property from one location to another Get-ItemProperty Retrieve properties of item Move-ItemProperty Move a property and it’s values from one locations to another New-ItemProperty Create new item Property Remove-ItemProperty Delete a property and it’s values Rename-ItemProperty Rename a property Set-ItemProperty Update the properties of an item © Syed Awase 2015-16 - PowerShell Ground Up! 32
  • 33. Code Focused Training Location Cmdlets Cmdlet Action Get-Location Retrieve current working location Pop-Location Change current location to most recently pushed Push-Location Adds current location to the top of a list of locations Set-Location Set current working location © Syed Awase 2015-16 - PowerShell Ground Up! 33
  • 34. Code Focused Training Path Cmdlets Cmdlet Action Join-Path Combine a parent and child path segment to create a provider-internal path Convert-Path Convert a path from a PowerShell path to a PowerShell provider path Split-Path Returns a specified part of a path Resolve-Path Resolves the wildcard characters in a path Test-Path Determines if all elements of a path exist © Syed Awase 2015-16 - PowerShell Ground Up! 34
  • 35. Code Focused Training Service Cmdlets Cmdlet Action Get-Service Returns all of the services for the computer New-Service Creates a New Service in the service database Restart-Service Restarts a specified service Resume-Service Resumes a specified service from a suspended state Set-Service Modify the state or the property of a specified service Start-Service Start a specified service Stop-Service Stop a specified service Suspend-Service Suspend a specified service © Syed Awase 2015-16 - PowerShell Ground Up! 35
  • 36. Code Focused Training Managing Process Cmdlets (Not Task Manager) Cmdlet Action Debug-Process Attaches debugger to specified process(s) Get-Process Returns all processes running Start-Process Starts a new process Stop-Process Stops a process Wait-Process Suppresses the command prompt until a process is stopped © Syed Awase 2015-16 - PowerShell Ground Up! 36
  • 37. Code Focused Training EventLog Cmdlets Cmdlet Action Clear-EventLog Deletes event log Entries from specified event log Get-EventLog Retrieves events from specified event log Limit-EventLog Sets maximum size of event log you specify New-EventLog Create new event log Remove-EventLog Deletes an event log Show-EventLog Opens event viewer Write-EventLog Write an event to a specified event log © Syed Awase 2015-16 - PowerShell Ground Up! 37
  • 38. Code Focused Training PhysicalDisk Cmdlets Cmdlet Action Add-PhysicalDisk Adds specified disk to a specified storage pool or virtual disk Get-PhysicalDisk Retrieves all physical disk(s) Remove-PhysicalDisk Remove specified physical disk from specified storage pool Reset-PhysicalDisk Reset status of a physical disk in a storage space Set-PhysicalDisk Modifies attributes of a specified physical disk © Syed Awase 2015-16 - PowerShell Ground Up! 38
  • 39. Code Focused Training Volume Cmdlets Cmdlet Action Format-Volume Format specified volumes Get-Volume Retrieves all disk volumes New-Volume Creates a new disk volume for a storage space Optimize-Volume Trims, Defragments or consolidates slabs for specified volume Repair-Volume Repairs Specified Volume Set-Volume Modify the specified volume © Syed Awase 2015-16 - PowerShell Ground Up! 39
  • 40. Code Focused Training WindowsFeature Cmdlets Cmdlet Action Get-WindowsFeature Retrieves Information about Windows Server roles. Role services and features Install-WindowsFeature Installs the specified roles, role services and features Uninstall-WindowsFeature Uninstalls and optionally removes specified roles, role services and features © Syed Awase 2015-16 - PowerShell Ground Up! 40
  • 41. Code Focused Training PowerShell Pipeline SYED AWASE © Syed Awase 2015-16 - PowerShell Ground Up! 41
  • 42. Code Focused Training Pipeline • A series of commands, where in the results of the preceding expression/command are sent as input to next command/expression using “pipe” (|) operator. •You can identify if pipeline input is accepted by looking at Code options using •Get-Help Get-Command -Full © Syed Awase 2015-16 - PowerShell Ground Up! 42
  • 43. Code Focused Training Measure-Object •Calculate numeric properties of an object • used to compute the minimum, maximum, Average and Sum of a property •Counting Total Files in a Directory •Get-ChildItem –Path c:Windows –File | Measure-Object •Counting Lines in a text file •Get-Content C:Syedprofile.txt | Measure-Object -Line •Summing Total Disk Utilization •Get-ChildItem C:Syed –Recurse –File | Measure-Object -Property Length - Sum © Syed Awase 2015-16 - PowerShell Ground Up! 43
  • 44. Code Focused Training Measure-Object © Syed Awase 2015-16 - PowerShell Ground Up! 44
  • 45. Code Focused Training The Out Cmdlet Cmdlet Action Out-File Outputs the specified content to a file Out-GridView Outputs the specified content to an interactive table Out-Host Outputs the content to the console Out-Null Deletes the content that would normally be output Out-Printer Sends the output to a specified printer Out-String Converts the output into a string Out-default Ouput is directly sent to the host/the shell. © Syed Awase 2015-16 - PowerShell Ground Up! 45
  • 46. Code Focused Training Convert Command • Export in Powershell terms means converting data into a format say CSV, then saving the converted format into a file for storage •Convert on the other hand means conversion to a different format only not necessarily saving it into a file •Get-Service |ConvertTo-HTML | Out-file services.html © Syed Awase 2015-16 - PowerShell Ground Up! 46
  • 47. Code Focused Training The ConvertTo Cmdlet Cmdlet Action ConvertTo-Csv Converts provided object to csv string ConvertTo-Html Converts provided object to HTML string ConvertTo-Json Converts provided object to JSON string ConvertTo-SecureString Converts provided encrypted strings or plain text strings to a secure string ConvertTo-TpmOwnerAuth Converts string value to a TPM owner authorization string ConvertTo-Xml Converts provided object to an XML String ConvertFrom ConvertFrom-Csv Converts a String in a csv form to an object ConvertFrom-JSON Converts a JSON Object Structure to an object ConvertFrom-SecureString Converts provided encrypted strings or plain text string to a secure string ConvertFrom-StringData Converts a string that contains key and value pairs into a hash table © Syed Awase 2015-16 - PowerShell Ground Up! 47
  • 48. Code Focused Training Import and Export XML Documents •Exporting data to an XML document •Get-Service | Export-Clixml .myservices.xml •Importing data from an XML document •Import-Clixml .myservices.xml © Syed Awase 2015-16 - PowerShell Ground Up! 48
  • 49. Code Focused Training Importing and Exporting CSV Documents •Exporting data to a CSV Document •Get-Service | Export-Csv .myservices.csv •Importing data from CSV Document •Import-Csv .myservices.csv © Syed Awase 2015-16 - PowerShell Ground Up! 49
  • 50. Code Focused Training Comparison Operators Operator Definition -eq Equal to -ne Not equal to -gt Greater than -lt Less than -le Less than equal to -ge Greater than equal to -match Matches a string using a regular expression -notmatch Does not match a string using a regular expression -like Match a value using a wildcard character -notlike Does not match a value using a wild card character -In Tells whether a test value appears in a collection or referenc evalue -notin Tells whether a test value does not appear in a collection or reference value -contains Determines elements in a group -notcontains Determine excluded elements in a group © Syed Awase 2015-16 - PowerShell Ground Up! 50
  • 51. Code Focused Training Boolean Operators Operator Purpose -and Return True if all subexpressions are TRUE -or Return True if all subexpressions are TRUE -not or ! Return the opposite, True becomes false and viceversa -xor Return True if one subexpression is TRUE, but not if both are True -replace Replaces part of all of the value on the left side of operator © Syed Awase 2015-16 - PowerShell Ground Up! 51
  • 52. Code Focused Training Bitwise Operators Operator Purpose -band Return 1 if both compared bits are 1 -bor Return 1 if either compared bit is 1 -bxor Return 1 if one compared bit is 1, but not if both are 1 © Syed Awase 2015-16 - PowerShell Ground Up! 52
  • 53. Code Focused Training Object Type Operators •Powershell provides three operators that identify and manipulate object types •“-is” operator is used to test the type of an object • “Syed Awase” is [string] •“-isnot” performs the converse action – it tests if an object is not of a specific type •“-as” operator attempts to convert an object of one type into another type •“string” as [int] © Syed Awase 2015-16 - PowerShell Ground Up! 53
  • 54. Code Focused Training Format Operator • “-f” format operator to create formatted strings. Call Operator •& sign (ampersand) – invoke operator which is used to execute strings or script blocks • © Syed Awase 2015-16 - PowerShell Ground Up! 54
  • 55. Code Focused Training SubExpression Operator •$( ) is used to place expressions inside the parentheses •A subexpression enables you to have something more complicated than a single variable © Syed Awase 2015-16 - PowerShell Ground Up! 55
  • 56. Code Focused Training Math Operators •Math class has a number of methods that supply the math functionality needed for powershell operations. •[math]::pi •[System.Math]::pi • “::” tells PowerShell to use a static filed and pi determines the field or method to be accessed. •[math]::Sqrt(16) •[math]::Sin([math]::pi/2) © Syed Awase 2015-16 - PowerShell Ground Up! 56
  • 57. Code Focused Training PowerShell PSSnapins • They are first approach of extending the shell, although they are still supported in versions 2, 3, and 4. •Deprecated now, but they are written in .NET language like C# or VB and they are packaged as DLL files. Modules •They are capable of adding functions to the shell, introduced in version 2. •Modules can benefit from autoloading, they can also be copied from system to system and on their underlying dependencies. © Syed Awase 2015-16 - PowerShell Ground Up! 57 • PowerShell has two types of extensions: PSSnapins and Modules, Both are capable of adding Cmdlets and PSProviders to the shell.
  • 58. Code Focused Training Modules • They are preferred way of extending the shell. Using Profiles we can automate the loading of modules into the memory. •Modules are novel way of extending the shell functionality. © Syed Awase 2015-16 - PowerShell Ground Up! 58
  • 59. Code Focused Training Selecting Objects • Select-Object includes a –Property parameter, which accepts a comma- separated list of properties that you want to display. We use this to override the default display for that object type. •Select-Object can do is select a subset of “rows” or objects. It can select a chunk of objects either from the beginning of the set, or from the end, or even from the middle. © Syed Awase 2015-16 - PowerShell Ground Up! 59
  • 60. Code Focused Training Making custom properties using select-object •Select-Object’s –Property parameter accepts a combination of property names, and some custom properties which are properties defined on the fly using a special syntax. © Syed Awase 2015-16 - PowerShell Ground Up! 60
  • 61. Code Focused Training Filtering Objects (Where-Object) •Where-Object is used for filtering out objects based on user’s requirements. •First introduced in PowerShell v3.0 •It requires •The name of the property that contains the data you want to filter on •The property values that you want to keep © Syed Awase 2015-16 - PowerShell Ground Up! 61
  • 62. Code Focused Training Grouping Objects • Group-Object Cmdlet takes a bunch of object and puts them into buckets or groups based on a key property © Syed Awase 2015-16 - PowerShell Ground Up! 62
  • 63. Code Focused Training Enumerating Objects © Syed Awase 2015-16 - PowerShell Ground Up! 63
  • 64. Code Focused Training Special Characters • Single Quotes will always handle a string quite literally •Double Quotes, on the other hand will allow you to escape the special characters that are in the text •Special character, when preceded by the backtick, or ` will take on specific actions that otherwise would not be accomplished without the presence of the backtick. © Syed Awase 2015-16 - PowerShell Ground Up! 64
  • 65. Code Focused Training Special Character Description `0 Insets a null value `a Sends an alert(bell or beep) to the computer’s speaker `b Inserts a backspace `f Inserts a form feed `n Inserts a new line `r Inserts a carriage return `t Inserts a horizontal tab `v Inserts a vertical tab `’ Inserts a single quote `” Inserts a double quote © Syed Awase 2015-16 - PowerShell Ground Up! 65
  • 66. Code Focused Training Scalers • They are virtual duffel bags that are utilized in order to store and transport data within your PS code. •Scalers that are built into both PS’s and Windows Environments come with data already allocated to them. © Syed Awase 2015-16 - PowerShell Ground Up! 66
  • 67. Code Focused Training PS Providers • the core of data store access resides within PS providers. One such providers is Microsoft .NET. •It provides you with a data access layer. This layer is between the data and PS itself. •This layer and by relation the providers, allow you to connect with various data stores by utilizing different PS mechanisms. © Syed Awase 2015-16 - PowerShell Ground Up! 67
  • 68. Code Focused Training PS Providers Providers Data Store Alias PS built-in and user-defined aliases Certificate Windows digital signature certificates Environment Windows environment scalers FileSystem Windows file system drives, folders and files Function PS Functions Registry Windows Registry Scaler PS Scalers © Syed Awase 2015-16 - PowerShell Ground Up! 68
  • 69. Code Focused Training PowerShell’s Scripting Language SYED AWASE © Syed Awase 2015-16 - PowerShell Ground Up! 69
  • 70. Code Focused Training Scripting • Like many command-line shells, PS contains a scripting language, which is useful to automate complex, multipart processes that may require different actions to be taken for different scenarios. •Language keywords are around 24 commands loosely modeled on C# and lends a strong resemblance to other C- based languages such as PHP, C++ and Java. • Most of Scripting is based on conditions to evaluate expressions. • A script is a convenient way of packaging a handful of commands to execute a specific job. •A function is a wrapper around a set of commands, created in such a way that multiple functions can be listed within a single script file •Scripts generally run with their own scope. © Syed Awase 2015-16 - PowerShell Ground Up! 70
  • 71. Code Focused Training Simple Scripting Example (Looping) © Syed Awase 2015-16 - PowerShell Ground Up! 71
  • 72. Code Focused Training Simple Scripting Example(Conditions) © Syed Awase 2015-16 - PowerShell Ground Up! 72
  • 73. Code Focused Training PowerShell Workflow •Built on top of Windows Workflow foundation •Uses Window WF to execute the scripts •Two main goals with Workflow •Allow for long running tasks •Robust, interruptable • Workflows use Stateless Execution •Each line of code in a workflow is considered an activity •Each activity is considered a standalone unit, i.e. when executed it is as if it is being run for the first time •This is necessary so a workflow can be suspended and resumed •Exception is with non-object variables, their values will be persisted. © Syed Awase 2015-16 - PowerShell Ground Up! 73
  • 74. Code Focused Training Empowering You TPRI-SYCLIQ PROGRAMS OVERVIEW © Syed Awase 2015-16 - PowerShell Ground Up! 74
  • 75. Code Focused TrainingCode Focused Training Artificial Intelligence • We also train on AI Stack • Reach out to us sak@sycliq.com or sak@territorialprescience.com • www.territorialprescience.com • www.sycliq.com • +91.9035433124 © Syed Awase 2015-16 - PowerShell Ground Up! 75 LISP PROLOG HASKELL CLOJURE F# PYTHON GO
  • 76. Code Focused TrainingCode Focused Training © Syed Awase 2015-16 - PowerShell Ground Up! 76 Dr. Syed Awase 2016 Session Feedbacks: http://bit.ly/2hhNg58 Reach out to sak@territorialprescience.com/+91.9035433124 Dr. Syed Awase also offers Machine learning Stack, R Statistical Stack, .NET Stack, Java Stack, RaspberryPi Stack. Get the pulse of performance from here http://bit.ly/2hhNg58 Angular 2.x/Angular JS 1.5.x
  • 77. Code Focused TrainingCode Focused Training JavaScript Frameworks Code DRIVEN CAPACITY BUILDING PROGRAM Dr. Syed Awase 2016 Session Feedbacks: http://bit.ly/2hhNg58 Now Offering! 1.X /2.X Angular Reach out to sak@territorialprescience.com/+91.9035433124 Dr. Syed Awase also offers Machine learning Stack, R Statistical Stack, .NET Stack, Java Stack, RaspberryPi Stack. Get the pulse of performance from here http://bit.ly/2hhNg58
  • 78. Code Focused TrainingCode Focused Training React.js Ecosystem ES 5/6 JSPM/WEBPACK/JEST NODE.JS/BABEL React + JSX React Router/ React-router-redux Relay React Native GraphQL Flux/Redux/Alt/ Reflux/Fluxxor React-bootstrap/ Elemental UI /Material Design Reselector/ Immutable.js Dr. Syed Awase also offers Machine learning Stack, R Statistical Stack, .NET Stack, Java Stack, RaspberryPi Stack. Get the pulse of performance from here http://bit.ly/2hhNg58 Reach out to us @ sak@territorialprescience.com / +91.9035433124 REACT.JS LEARNING PATH Dr. Syed Awase Now Offering
  • 79. Code Focused TrainingCode Focused Training R-Statistical Programming © Syed Awase 2015-16 - PowerShell Ground Up! 79 1 2 3 4 8 7 6 5 R Pre-Modeling Stage Modeling Stage Post Modeling Stage Database Connectivity Text Mining Web Packages Data Mining Web Extraction Dr. Syed Awase 2016 Session Feedbacks: http://bit.ly/2hhNg58 Reach out to sak@territorialprescience.com/ +91.9035433124 Dr. Syed Awase also offers Machine learning Stack, R Statistical Stack, .NET Stack, Java Stack, RaspberryPi Stack. Get the pulse of
  • 80. Code Focused Training JavaTechnologies • Core Java • Hibernate • Spring Framewor k • Play Framewor k • Hadoop • Groovy & Grails MicrosoftTechnologies • C# Core • Entity Framew ork • MVC 5/6 • Web Api • OWIN/K ATANA • WCF • WPF Python • Python • Django • Flask • Numpy • Scipy • Machine Learning DataScience • R Statistical Programmin g • Julia SQLandNoSQL • Oracle • PostgreSQ L • MSSQL • MongoDB • Neo4j • Redis • Firebase • Apache Cassandra Client-SideFrameworks • Angular JS 1.5.x • Angular 2.4.x • React JS • KnockOut JS • VueJS • Backbone JS • EMBER JS • Hapi JS • METEORJ S • MEANJS • Coffeescri pt • Dart Others • LISP • CLOJUR E • RUST • GO • Raspberr yPI • Coming Soon • PHP • Robotic OS Thank You We also provide Code Driven Open House Trainings : sak@territorialprescience.com or sak@sycliq.com For code driven trainings for Technology Firms reach out to us +91-9035433124 We are hardcore Technologists/Architects/Programmers trainings are offered by Dr. SYED Awase