Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Sherif Talaat, Chendrayan Venkatesan
Windows PowerShell for .NET Developers - Second Edition
Windows PowerShell for .NET Developers Second Edition
Table of Contents
Windows PowerShell for .NET Developers Second Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with Windows PowerShell
Scripting the cmdlet style
Introducing Windows PowerShell
Installing Windows Management Framework 5.0
The Windows PowerShell consoles
The Windows PowerShell console host
Setting up the console host using GUI
Setting up the console host using PowerShell
Exploring the Windows PowerShell ISE host using GUI
Benefits of an ISE
The PowerShell ISE script browser
Using an interactive shell
Windows PowerShell cmdlets
Getting help
Understanding aliases
Understanding expressions
Understanding objects
Understanding pipelines
Exporting a running process to a CSV file
Understanding filtering and formatting
PowerShell formatting
Exploring snippets in the PowerShell ISE
Getting started with PowerShell scripting
Summary
2. Unleashing Development Skills Using Windows PowerShell 5.0
Basics of WMI and CIM
Working with XML and COM
Exploring COM and Automation
Exploring .NET objects
Creating .NET objects
Extending .NET objects for Administrations and Development tasks
Extending the .NET Framework types
Building advanced scripts and modules
Exploring Windows PowerShell 5.0
The basics of Desired State Configuration
The Authoring phase
The Staging phase
The "Make it so" phase
Use case of classes in WMF 5.0
Constructors
Parsing structured objects using PowerShell
Exploring Package Management
Exploring PowerShellGet
Understanding PowerShell modules
Introduction to modules
Script modules
Binary modules
Manifest modules
Dynamic modules
Script debugging
Managing breakpoints
Line breakpoints
Variable breakpoints
Command breakpoints
Debugging scripts
Summary
3. Exploring Desired State Configuration
Prerequisites
Installing the WMF 5.0 April 2015 preview
Imperative versus declarative programming
Getting started with DSC
The Authoring phase
The Staging phase
The "Make it so" phase
Local Configuration Manager
Parameterizing the configuration script
Understanding MOF
Exploring Windows Remote Management and CIM
Windows PowerShell remoting
Exploring WSMan cmdlets
HTTP/HTTPS Listener
Exploring CIM commands
Exploring CIM methods
Querying the remote machines using CIM
Creating configuration scripts
Creating a configuration with MOF
Creating a Class-defined DSC resource
Types of deployment modes
The push mode
The pull mode
Creating a pull server using the SMB share
Creating the pull server using HTTP and HTTPS
Summary
4. PowerShell and Web Technologies
PowerShell Web Access
Installing PowerShell Web Access
Configuring PowerShell Web Access
Applying authorization rules
Management OData IIS Extensions
Creating the Management OData web service
Exploring web requests
Downloading files from the Internet
Reading a file from the Internet
Exploring web services
Using web services
Building web services
Exploring the REST API
Using the Azure REST API in PowerShell
Exploring JSON
Summary
5. Exploring Application Programming Interface
Exploring API using PowerShell
The EWS API for managing Exchange Online
Purging items in the mailbox folder
Deleting items from the mailbox folder
The Lync 2013 client-side API
Installation of LYNC SDK
Exploring client settings
Automating test calls
IM with contacts
Client-side object model – SharePoint Online
How does CSOM Work?
Creating and deleting list
Making PowerShell modules with SDKs
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Summary
Index
A
advanced functions
versus compiled cmdlets /
Getting started with PowerShell scripting
advanced modules
building /
Building advanced scripts and modules
advanced scripts
building /
Building advanced scripts and modules
aliases
using /
Understanding aliases
API
exploring, PowerShell used /
Exploring API using PowerShell
Exchange Web Services (EWS) API, for managing Exchange Online /
The EWS API for managing Exchange Online
items, purging in mailbox folder /
Purging items in the mailbox folder
items, deleting from mailbox folder /
Deleting items from the mailbox folder
Application Lifecycle Management (ALM) /
Using the Azure REST API in PowerShell
Authoring phase, Desired State Configuration /
The Authoring phase
Automation
exploring /
Exploring COM and Automation
Azure Resource Manager (ARM) /
Using the Azure REST API in PowerShell
B
binary modules
about /
Binary modules
breakpoints
managing /
Managing breakpoints
line breakpoint /
Line breakpoints
variable breakpoint /
Variable breakpoints
command breakpoint /
Command breakpoints
C
certification authority (CA) /
HTTP/HTTPS Listener
CIM
basics /
Basics of WMI and CIM
about /
Exploring Windows Remote Management and CIM
commands, exploring /
Exploring CIM commands
methods, exploring /
Exploring CIM methods
used, for querying remote machines /
Querying the remote machines using CIM
CIM cmdlets
benefits /
Basics of WMI and CIM
client-side object model (CSOM)
about /
Client-side object model – SharePoint Online
working /
How does CSOM Work?
list, creating /
Creating and deleting list
list, deleting /
Creating and deleting list
PowerShell modules, creating with SDKs /
Making PowerShell modules with SDKs
cmdlet definition XML (CDXML)
about /
Working with XML and COM
cmdlets
about /
Scripting the cmdlet style
,
Windows PowerShell cmdlets
exploring /
Windows PowerShell cmdlets
commands /
Windows PowerShell cmdlets
retrieving /
Windows PowerShell cmdlets
commands, exploring /
Windows PowerShell cmdlets
cmdlet style
scripting /
Scripting the cmdlet style
CodePlex
URL /
Client-side object model – SharePoint Online
Collaborative Application Markup Language (CAML) /
Client-side object model – SharePoint Online
COM
working with /
Working with XML and COM
exploring /
Exploring COM and Automation
command breakpoint
about /
Command breakpoints
compiled cmdlets
versus advanced functions /
Getting started with PowerShell scripting
configurations scripts
creating /
Creating configuration scripts
creating, with MOF /
Creating a configuration with MOF
Class-Defined DSC resource, creating /
Creating a Class-defined DSC resource
constructors
about /
Constructors
contributions
URL /
The EWS API for managing Exchange Online
CSV file
process, running to /
Exporting a running process to a CSV file
custom DSC resource
URL /
Creating a Class-defined DSC resource
D
declarative programming
versus imperative programming /
Imperative versus declarative programming
deployment modes
types /
Types of deployment modes
about /
Types of deployment modes
push mode /
The push mode
pull mode /
The pull mode
Desired State Configuration
basics /
The basics of Desired State Configuration
Authoring phase /
The Authoring phase
Staging phase /
The Staging phase
$$Make it so$$ phase /
The "Make it so" phase
Desired State Configuration (DSC)
about /
Introducing Windows PowerShell
,
Installing Windows Management Framework 5.0
Distributed COM (DCOM)
about /
Basics of WMI and CIM
Distributed Management Task Force (DMTF)
about /
Basics of WMI and CIM
DSC
prerequisites /
Prerequisites
URL /
Installing the WMF 5.0 April 2015 preview
about /
Getting started with DSC
use cases /
Getting started with DSC
architecture /
Getting started with DSC
authoring phase /
The Authoring phase
staging phase /
The Staging phase
make it so phase /
The "Make it so" phase
Local Configuration Manager (LCM) /
Local Configuration Manager
configuration script, parameterizing /
Parameterizing the configuration script
MOF /
Understanding MOF
dynamic module
about /
Dynamic modules
E
EWS Managed API 2.2
URL /
The EWS API for managing Exchange Online
Exchange Online
managing, Exchange Web Services (EWS) API used /
The EWS API for managing Exchange Online
Exchange Online session
connecting to /
Working with XML and COM
Exchange Web Services (EWS) API
for, managing Exchange Online /
The EWS API for managing Exchange Online
F
Format-Custom cmdlet
about /
PowerShell formatting
Format-Table cmdlet
about /
PowerShell formatting
G
Get-Alias cmdlet
about /
Understanding aliases
Get-Command cmdlet
about /
Understanding aliases
Get-FormatData cmdlet
about /
PowerShell formatting
Get-Help cmdlet
about /
Getting help
Get-Member cmdlet
about /
Understanding objects
Get-Service cmdlet
about /
Understanding pipelines
GitHub /
Installing the WMF 5.0 April 2015 preview
GlobalWeather web service /
Using web services
Graphical User Interface (GUI)
about /
Setting up the console host using PowerShell
GUI
used, for setting up console host /
Setting up the console host using GUI
used, for setting up Windows PowerShell ISE host /
Exploring the Windows PowerShell ISE host using GUI
H
help
obtaining /
Getting help
here-string /
Extending the .NET Framework types
I
imperative programming
versus declarative programming /
Imperative versus declarative programming
interactive shell
using /
Using an interactive shell
cmdlets, using /
Windows PowerShell cmdlets
help, obtaining /
Getting help
aliases, using /
Understanding aliases
regular expressions (regex) /
Understanding expressions
objects /
Understanding objects
pipelines /
Understanding pipelines
filtering /
Understanding filtering and formatting
,
PowerShell formatting
formatting /
Understanding filtering and formatting
,
PowerShell formatting
snippets, exploring in PowerShell ISE /
Exploring snippets in the PowerShell ISE
J
JavaScript object model (JSOM) /
Client-side object model – SharePoint Online
JavaScript Object Notation (JSON)
exploring /
Exploring JSON
L
line-of-business (LOB) /
The Lync 2013 client-side API
line breakpoint
about /
Line breakpoints
Local Configuration Manager (LCM)
about /
The "Make it so" phase
/
The "Make it so" phase
,
Local Configuration Manager
Lync 2013
about /
The Lync 2013 client-side API
client settings, exploring /
Exploring client settings
test calls, automating /
Automating test calls
IM, with contacts /
IM with contacts
Lync Extensibility API
URL /
The Lync 2013 client-side API
Lync Model API
URL /
The Lync 2013 client-side API
LYNC SDK
installing /
Installation of LYNC SDK
URL /
Installation of LYNC SDK
M
$$Make it so$$ phase, Desired State Configuration /
The "Make it so" phase
Managed Object Format (MOF) file
about /
Basics of WMI and CIM
Management OData Schema Designer
URL /
Creating the Management OData web service
Management OData Web Service
URL /
Creating the Management OData web service
manifest modules
about /
Manifest modules
Measure-Command cmdlet
about /
Getting started with PowerShell scripting
Microsoft Connect
URL /
Scripting the cmdlet style
Microsoft Online Services Module for Windows PowerShell
URL, for downloading /
Working with XML and COM
Microsoft Online Services Sign-In Assistant
URL, for downloading /
Working with XML and COM
modules
about /
Introduction to modules
script modules /
Script modules
binary modules /
Binary modules
manifest modules /
Manifest modules
dynamic module /
Dynamic modules
MOF
about /
Understanding MOF
tasks, performing /
Understanding MOF
URL /
Understanding MOF
used, for creating configurations /
Creating a configuration with MOF
MSDN
URL /
The EWS API for managing Exchange Online
N
.NET Framework 4
URL, for download /
Prerequisites
.NET Framework types
extending /
Extending the .NET Framework types
.NET objects
exploring /
Exploring .NET objects
creating /
Creating .NET objects
extending, for Administrations and Development tasks /
Extending .NET objects for Administrations and Development tasks
New-Variable cmdlet
about /
Getting started with PowerShell scripting
O
objects
using /
Understanding objects
OCSPowerShell
URL /
Exploring WSMan cmdlets
Open Data Protocol (OData)
about /
Management OData IIS Extensions
IIS Extensions, managing /
Management OData IIS Extensions
Management OData web service, creating /
Creating the Management OData web service
P
Package Management
exploring /
Exploring Package Management
pipelines
using /
Understanding pipelines
process, running to CSV file /
Exporting a running process to a CSV file
PowerShell
used, for setting up console host /
Setting up the console host using PowerShell
used, for parsing structured objects /
Parsing structured objects using PowerShell
used, for exploring API /
Exploring API using PowerShell
PowerShell Gallery
URL /
Exploring PowerShellGet
PowerShellGet
exploring /
Exploring PowerShellGet
PowerShell ISE
snippets, exploring in /
Exploring snippets in the PowerShell ISE
PowerShell modules
about /
Understanding PowerShell modules
creating, with SDKs /
Making PowerShell modules with SDKs
PowerShell Web Access (PSWA)
about /
PowerShell Web Access
installing /
Installing PowerShell Web Access
configuring /
Configuring PowerShell Web Access
authorization rules, applying /
Applying authorization rules
prerequisites, DSC /
Prerequisites
pull mode, deployment modes
about /
The pull mode
pull server, creating with SMB Share /
Creating a pull server using the SMB share
pull server, creating with HTTP and HTTP(s) /
Creating the pull server using HTTP and HTTPS
push mode, deployment modes /
The push mode
R
regular expressions (regex)
using /
Understanding expressions
reference link /
Understanding expressions
Remove-Variable cmdlet
about /
Getting started with PowerShell scripting
report issues
URL /
The EWS API for managing Exchange Online
Representation State Transfer (REST) /
Exploring web requests
request batching
URL /
How does CSOM Work?
REST API
exploring /
Exploring the REST API
,
Using the Azure REST API in PowerShell
S
Script Browser
about /
The PowerShell ISE script browser
options /
The PowerShell ISE script browser
benefits /
The PowerShell ISE script browser
URL /
The PowerShell ISE script browser
script debugging
about /
Script debugging
,
Debugging scripts
scripting
in cmdlet style /
Getting started with PowerShell scripting
principles /
Getting started with PowerShell scripting
variables, using /
Getting started with PowerShell scripting
using /
Getting started with PowerShell scripting
consideration /
Getting started with PowerShell scripting
creating /
Getting started with PowerShell scripting
executing /
Getting started with PowerShell scripting
advanced functions, writing /
Getting started with PowerShell scripting
compiled cmdlet, creating /
Getting started with PowerShell scripting
advanced functions, using /
Getting started with PowerShell scripting
script modules
about /
Script modules
Select-Object cmdlet
about /
Understanding filtering and formatting
Server Message Block (SMB) /
The Staging phase
ServiceController class
URL /
Windows PowerShell cmdlets
SharePoint 2010 CSOM
URL /
Client-side object model – SharePoint Online
SharePoint 2013 CSOM
URL /
Client-side object model – SharePoint Online
SharePoint Online CSOM
URL /
Client-side object model – SharePoint Online
Simple Object Access Protocol (SOAP) /
Exploring web services
Software Inventory Logging (SIL)
about /
Exploring Package Management
Staging phase, Desired State Configuration /
The Staging phase
Stop-Service cmdlet
about /
Understanding pipelines
structured objects
parsing, PowerShell used /
Parsing structured objects using PowerShell
System.Math class
URL /
Using an interactive shell
T
TechNet Gallery
URL /
Installing the WMF 5.0 April 2015 preview
U
Uniform Resource Identifier (URI) /
Exploring web requests
Universal Description, Discovery, and Integration (UDDI) /
Exploring web services
Updatable Help feature
about /
Manifest modules
Update-Help cmdlet
about /
Getting help
use case of classes, WMF 5.0
about /
Use case of classes in WMF 5.0
constructors /
Constructors
V
variable breakpoint
about /
Variable breakpoints
variables
using /
Getting started with PowerShell scripting
Visual Studio
URL /
How does CSOM Work?
W
web requests
exploring /
Exploring web requests
files, downloading from Internet /
Downloading files from the Internet
files, reading from Internet /
Reading a file from the Internet
web services
exploring /
Exploring web services
using /
Using web services
URL /
Using web services
building /
Building web services
Web Services Description Language (WSDL) /
Exploring web services
Web Services Management (WS-Man)
abilities /
Windows PowerShell remoting
cmdlets, exploring /
Exploring WSMan cmdlets
cmdlets, URL /
Exploring WSMan cmdlets
Where-Object cmdlet
about /
Understanding filtering and formatting
Windows Data Protection API
about /
Working with XML and COM
Windows Management Framework 5.0
installing /
Installing Windows Management Framework 5.0
Windows Management Instrumentation (WMI) /
Exploring CIM commands
Windows PowerShell
about /
Introducing Windows PowerShell
URL /
Introducing Windows PowerShell
Windows PowerShell 5.0
reference link /
Scripting the cmdlet style
about /
Exploring Windows PowerShell 5.0
reference link, for benefits /
Exploring Windows PowerShell 5.0
highlights /
Exploring Windows PowerShell 5.0
basics, of Desired State Configuration /
The basics of Desired State Configuration
Package Management, exploring /
Exploring Package Management
PowerShellGet, exploring /
Exploring PowerShellGet
Windows PowerShell console host
about /
The Windows PowerShell consoles
,
The Windows PowerShell console host
setting up, GUI used /
Setting up the console host using GUI
setting up, PowerShell used /
Setting up the console host using PowerShell
Windows PowerShell consoles
console host /
The Windows PowerShell consoles
Windows PowerShell ISE host /
The Windows PowerShell consoles
Windows PowerShell ISE host
about /
The Windows PowerShell consoles
exploring, GUI used /
Exploring the Windows PowerShell ISE host using GUI
benefits /
Benefits of an ISE
Script Browser /
The PowerShell ISE script browser
WinRM
about /
Exploring Windows Remote Management and CIM
,
Exploring CIM commands
HTTP/HTTPS Listener /
HTTP/HTTPS Listener
WMF 4.0
URL, for download /
Prerequisites
WMF 5.0
use case of classes /
Use case of classes in WMF 5.0
WMF 5.0 April 2015 preview
installing /
Installing the WMF 5.0 April 2015 preview
URL /
Installing the WMF 5.0 April 2015 preview
,
Creating a Class-defined DSC resource
WMI
basics /
Basics of WMI and CIM
references /
Basics of WMI and CIM
WMIClass type accelerators
[WMI] /
Basics of WMI and CIM
[WMIClass] /
Basics of WMI and CIM
[WMISearcher] /
Basics of WMI and CIM
WMI Query Language (WQL)
about /
Basics of WMI and CIM
WS-Management (WS-Man) /
Exploring CIM commands
WSMan
about /
Basics of WMI and CIM
WSMan object
about /
Basics of WMI and CIM
X
xHotfix resource /
Installing the WMF 5.0 April 2015 preview
XML
working with /
Working with XML and COM
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset