04 | Advanced Functions Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.

Slides:



Advertisements
Similar presentations
Turning PowerShell Commands into Reusable CLI and GUI Tools Don Jones Senior Partner and Principal Technologist Concentrated Technology, LLC WCL404.
Advertisements

School of Engineering & Technology Computer Architecture Pipeline.
Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
$$ Idea Updatable help system Method overload discovery HelpUri attribute support HelpFile property on FunctionInfo Simplified Where and.
Great people, great experience, great passion Administering SharePoint with Windows PowerShell Go Beyond the Management Shell with SharePoint and Windows.
1 times table 2 times table 3 times table 4 times table 5 times table
Adding a Module The Import-Module cmdlet  Can be used to load any external module into PowerShell.  Uses the following syntax to add the ActiveDirectory.
Module 2 Creating Active Directory ® Domain Services User and Computer Objects.
Software Firewalls © N. Ganesan, Ph.D.. Module Objectives Explore the features of a software firewall such as Zone Alarm Pro.
Good PowerShell EXPAND YOUR POWERSHELL SKILLZ BY KIERAN JACOBSEN.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
Module 2 Creating Active Directory ® Domain Services User and Computer Objects.
MAGDALINA MEDINA INDUSTRIAL ENGINEERING -HUMAN FACTORS -INDUSTRIAL MANAGEMENT SYSTEMS Mars Robotic Curriculum using “Shared World” views.
Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
Windows PowerShell Desired State Configuration Overview (for WMF 4.0 Preview) Windows PowerShell Desired State Configuration (DSC) is a new management.
Georgia Institute of Technology Creating Classes part 4 Barb Ericson Georgia Institute of Technology May 2006.
CreatingClasses-SlideShow-part41 Creating Classes part 4 Barb Ericson Georgia Institute of Technology Dec 2009.
Adding SubtractingMultiplyingDividingMiscellaneous.
PROGRAMMING IN C#. Collection Classes (C# Programming Guide) The.NET Framework provides specialized classes for data storage and retrieval. These classes.
Phase Test 2 You have been provided with a finished application available from the module web site called Phase Test 2 Sample Application. This application.
COMPUTER PROGRAMMING 2 ArrayLists. Objective/Essential Standard Essential Standard 3.00Apply Advanced Properties of Arrays Essential Indicator 3.02 Apply.
Documentation Javadocs. Design/Documentation An essential ingredient of good Object Oriented programming is known as design by contract. This means that.
Cisco UCS Director – Carmel (5.0)
TechEd /3/2018 4:18 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
02 | The Help system Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
Managing Exchange Online using Office 365 Admin Console
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
Writing a DSL for PowerShell (Domain Specific Languages)
02 | The Help system Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
07 | The Power in the Shell - Remoting
03 | The Pipeline : Getting Connected
Introduction to PowerShell
Getting Started with PowerShell Desired State Configuration (DSC)
08 | Tools that make changes
09 | Script and manifest modules
Cube and its properties
BRK2279 Real-World Data Movement and Orchestration Patterns using Azure Data Factory Jason Horner, Attunix Cathrine Wilhelmsen, Inmeta -
Managing Exchange Online using PowerShell
09 | Automation in scale - Remoting
05 | More on Parameters Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
Managing Exchange Online using Office 365 Admin Console
SQL Server and PowerShell Let’s Get Serious
Getting Started with PowerShell Desired State Configuration (DSC)
03 | Web API Configuration
Managing Exchange Online using Office 365 Admin Console
I PRO' -.._ r.. f FOLLOW I 0.
An overview of WWI. K: An overview of the main political and military events of the war. U: The reasons why government power was extended and the impact.
Managing Exchange Online using PowerShell
08 | Getting prepared for automation
06 | The Pipeline : Deeper Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.

Figure 11-1.
Adding with 9’s.
Adding with 10’s.
02 | PowerShell’s Scripting Language
Figure Overview.
Figure Overview.
06 | Writing Help Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
Adding ____ + 10.
3 times tables.
6 times tables.
TechEd /30/2019 7:18 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Managing Exchange Online using PowerShell
05 | Object for the Admin Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
Getting Started with PowerShell Desired State Configuration (DSC)
07 | Error Handling Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
07 | Recovery Ashley McGlone | Premier Field Engineer, Microsoft
Using PowerShell for Active Directory
Jeffrey Snover | Distinguished Engineer & Lead Architect
10 | Introducing scripting and toolmaking
Presentation transcript:

04 | Advanced Functions Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology

Module Overview The purpose to Advanced Functions An Advanced Function template Creating and testing parameters Adding your code Writing objects out to the pipeline

The purpose to Advanced Functions You can create functions that are similar to cmdlets using PowerShell These are not the same as compiled cmdlets, but are perfect the for IT pro!

Advanced Function template You can make your own The ISE has built-in templates Try Ctrl-J

Creating and testing parameters Can test params using IF and Foreach constructs

Adding your code The Foreach iterates through the computer names Place the properties into a hash table

Writing objects out to the pipeline New-Object

Questions or comments?