jeffrey snover | distinguished engineer & lead architect

Post on 04-Feb-2016

65 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

05 | Object for the Admin. Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology. Course Topics. Module Overview. Object across the pipeline Getting the information you need Sorting Objects Selecting Objects Custom Properties - PowerPoint PPT Presentation

TRANSCRIPT

Click to edit Master subtitle style

05 | Object for the AdminJeffrey Snover | Distinguished Engineer & Lead ArchitectJason Helmick | Senior Technologist, Concentrated Technology

Course Topics

Getting Started with PowerShell

01 | Don’t fear the shell 06 | The pipeline : Deeper

02 | The Help system07 | The Power in the Shell - Remoting

03 | The pipeline : Getting connected

08 | Getting prepared for automation

04 | Extending the shell09 | Automation in scale - Remoting

05 | Objects for the Admin10 | Introducing scripting and toolmaking

• Object across the pipeline

• Getting the information you need

• Sorting Objects

• Selecting Objects

• Custom Properties

• Filtering data

• Methods – When no cmdlet exists

Module Overview

Object across the pipeline

Getting the information you need

• Get-Member (gm)

• TypeName is a unique Windows assigned name

• Displays the properties and methods of an object

• Properties are potential columns of information

• Methods are the potential actions that can be taken

Sorting Objects

• Sort-Object sorts properties.

• Use Get-Member to see a list of properties

Selecting Objects

• Select-Object selects properties.

• Use Get-Member to list properties to select from.

• -first and -last restrict list of rows displayed.

Custom Properties

Filter Object Out of the Pipeline

Comparison Operators

• Comparison returns boolean True or False

• Comparison can be case-sensitive using ‘c’ prefix

• For complete description, see About_Comparison

Methods – When no cmdlet exists

Questions or comments?

©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

top related