© 2007 Asynchrony Solutions, Inc. 1 10/29/07 Introduction to PowerShell Brian Button VP Engineering Asynchrony Solutions, Inc

Slides:



Advertisements
Similar presentations
© 2010 Quest Software, Inc. ALL RIGHTS RESERVED Techstravaganza 2010 PowerShell AD commandlets Barry Gerdsen Solutions Architect - Quest Software
Advertisements

DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Windows PowerShell Aaron Lerch. Contact Info Aaron Lerch Interactive Intelligence, Inc. Personal
James Boother Blog: INTRODUCTION TO POWERSHELL.
More Control and Flexibility Vitalis Konopelec Technology Solution Professional Microsoft Slovakia s.r.o.
James Boother Blog: AUTOMATING ADMIN TASKS WITH POWERSHELL.
Welcome to the Minnesota SharePoint User Group July 14 th, 2010 Introducing the BCS Raymond Mitchell Meeting # 67.
INTRODUCTION TO POWERSHELL Neil Iversen. Points of Interest  Introduction  Getting Around  Basic Syntax  Making yourself at ~  Not-So-Basic Syntax.
Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training November 2007.
Accelerate adoption, provide customer insights to engineering, and deliver knowledge to the IT Pro community.
WMU GNL Automation How to make my IT life easier CHRISTOPHER KEYAERT CONSULTANT AT INOVATIV CLOUD AND DATACENTER MANAGEMENT MVP.
Keys to a Successful Hybrid Deployment Tips and Tricks from the Field.
PowerShell: Drink the Kool-Aid!. Who we are…..Who we are…..
#BSidesCMH PowerShell Copyright (C) 2014 ColumbusBSides. PowerShell: Drink the Kool-Aid.
Connect with life L.Srividya Architect Advisor | Microsoft India.
PowerShell Lessons Learned from Building an Automated SQL Installation and Patch Management Implementation Presented by: Fany Carolina Vargas, Microsoft.
TFS WI PriorityPackaging/Test SLADeployment SLA PRI13 business days to UAT4 business hours PRI28 business days to UAT8 business hours PRI314 business.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
Managing Citrix Farms Using MFCOM and Powershell.
Introduction to VB.NET Tonga Institute of Higher Education.
MS WINDOWS POWER SHELL CSE 535 Operating Systems.
What’s New in SSIS with SQL 2008 Bret Stateham Training Manager Vortex Learning Solutions blogs.netconnex.com.
Datacenter X Datacenter Y ….com Contoso.com Exchange Labs ACME.com Ops NK App user Finance HR Sales Purchase Fabrikam Enterprises.
Terry Henry IS System Manager, SharePoint SME Micron Technology Inc.
Ken Casada Developer Evangelist Microsoft Switzerland WebMatrix: Your Web Made.
Python: An Introduction
Functional comparison between Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 October 14 th, 2009, Lexington Microsoft Users.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DMVMUG User Conference 2013 – Reston, VA.
Good Morning and Thank You!.  Have some Fun!  Learn at least one thing new!  Make myself available to you So please …  Ask questions and enjoy!
Automated Deployment Framework Using TFS and Custom PowerShell cmdlets to create an automated deployment framework.
Managing System Center 2012 Configuration Manager with Windows PowerShell MEMUG August 23 rd 2013.
PowerShell For SharePoint Developers Neil Iversen Inetium
PowerShell and SQL Server References. References - PowerShell  Windows PowerShell In Action Second Edition, Bruce Payette, Manning  Windows PowerShell.
Enterprise Library Extensibility Brian Button VP of Engineering Asynchrony Solutions, Inc.
What’s New in SharePoint 2010 SharePoint 2010 Development Primer New Developer Tools for SharePoint 2010 SharePoint 2010 Integration with PowerShell.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
Windows PowerShell Introduction 1 Morgan Simonsen Ementor.
 An alias is an alternative name assigned to a Cmdlet.  Aliases allow users to quickly interact with the shell.  The Cmdlet get-alias is.
Module 1 Introduction to SQL Server® 2008 R2 and its Toolset.
CIS 1402: Intro to CIS Tom Gustafson. Facts About PowerShell PowerShell is Microsoft’s command-line interface that provides scripting and management capability.
 It is Microsoft's new task-based command- line shell and scripting language designed especially for system administration.  It helps Information Technology.
Windows PowerShell. What is Windows PowerShell? A command-line interface (CLI) A new way of developing Windows and other products to be more manageable.
Automating SharePoint 2010 administration tasks with Power Shell Toni Frankola SharePoint MVP, Croatia
Get-Intro –Name PowerShell Jason Helmick Systems Instructor Interface Technical Training.
POWERSHELL ABOVE AND BEYOND: GUIS, WORKFLOWS, AND MORE Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia SESSION.
Created by Name 2013/10/01 ESKER EXCHANGE CONNECTOR TRAINING PART 1 VERSION WITH DELIVERYWARE on EDW6.0 EXCHANGE.
Eliminate Team Build Headaches with Unit Tests, WiX and Virtualization Benjamin Day
Managing Database objects in Visual Studio and Team Foundation Server Presented by Sean P SQL Saturday - Phoenix 2016.
Rob Sewell Making PowerShell Useful Real-Life Examples of Powershell in Action Slides available here -
Ravikanth C.
Mikael Deurell Senior Consultant Microsoft Mail: Blog: blogs.msdn.com/deurell.
Productivity Architect Meet Chris Bortlik Author, Blogger, Speaker.
PowerShell 5 & Windows 10. What are we covering today? What is PowerShell? Why is PowerShell important? Some simple demos on Windows 10.
Start-SPPowerShell – Introduction to PowerShell for SharePoint Admins and Developers Paul BAker.
How to Start SQL Server and SSDT BI in Local
PowerShell Introduction Copyright © 2016 – Curt Hill.
Automating AD Administration with Windows PowerShell
Introduction to SharePoint 2007
SQL Server Integration Services SSIS and PowerShell
Microsoft Ignite /21/2018 8:47 AM
© 2007 Asynchrony Solutions, Inc. 1 10/29/07 Introduction to PowerShell Brian Button VP Engineering Asynchrony Solutions, Inc
SharePoint Saturday Omaha April 2016
Making PowerShell Useful
Making PowerShell Useful
Visual Studio Code for PowerShell
1. Azure Data Explorer Azure Data Explorer enables rich data exploration over raw, structured, and semi-structured data delivering fast time to insight.
Microsoft 365 Business Technical Fundamentals Series
Presentation transcript:

© 2007 Asynchrony Solutions, Inc. 1 10/29/07 Introduction to PowerShell Brian Button VP Engineering Asynchrony Solutions, Inc

© 2007 Asynchrony Solutions, Inc. 2 10/29/07 Just the other day… Visual Studio 2005Enterprise Library VS.Net SP1Nunit IISXunit.net TFS ExplorerResharper SQL Server 2005Test Driven.net GAX GAT

© 2007 Asynchrony Solutions, Inc. 3 10/29/07 Failure!!! SQL Server failed to install and uninstall What to do??? MSDN says: Regedit HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall For each GUID found, Examine DisplayName searching for match of ‘SQL Server’ Manually uninstall it Maybe there was a better way!

© 2007 Asynchrony Solutions, Inc. 4 10/29/07 What is PowerShell New Scripting language Same, but different! In Vista, then unbundled Separate download General purpose programming language

© 2007 Asynchrony Solutions, Inc. 5 10/29/07 Basic Tour Shell prompt Cmdlets Pipes.Net objects PSDrives Help system

© 2007 Asynchrony Solutions, Inc. 6 10/29/07 5 key commands Get-Help Get-Command Get-Member Get-Psdrive Format-List

© 2007 Asynchrony Solutions, Inc. 7 10/29/07 Let’s build something Removing all bin and obj folders from project Find all IDisposable classes in assembly

© 2007 Asynchrony Solutions, Inc. 8 10/29/07 Powershell as a programming language General purpose programming language File extension PS1 Example: Reformat.PS1

© 2007 Asynchrony Solutions, Inc. 9 10/29/07 Extending Powershell Custom Cmdlets and PSSnapins Written in C# or VB.Net Functions, Filters, Aliases Written in powershell Adding methods, properties to existing types Written in XML, powershell Add-member

© 2007 Asynchrony Solutions, Inc /29/07 Extending Powershell in C#/VB.Net Create Custom cmdlet Create PSSnapin to install Great tutorial at powershell-cmdlet-using-the-visual-studio-windows-powershell- templates.aspx powershell-cmdlet-using-the-visual-studio-windows-powershell- templates.aspx [Cmdlet(VerbsCommon.Get, "Proc")] public class GetProcCommand : Cmdlet { }

© 2007 Asynchrony Solutions, Inc /29/07 Extending Powershell natively Functions function to_uppercase { param([string]$first) $first.ToUpper() } At command line or in user profile

© 2007 Asynchrony Solutions, Inc /29/07 Extending Powershell natively Aliases – make commands easier to use set-alias, new-alias, get-alias Alias gal Get-Alias Alias gc Get-Content Alias gci Get-ChildItem Alias gcm Get-Command Alias gdr Get-PSDrive

© 2007 Asynchrony Solutions, Inc /29/07 Customizing Powershell User profile $profile Get-Executionpolicy Like.profile or.login in Linux Invoked for every new shell Sets up functions, aliases, etc

© 2007 Asynchrony Solutions, Inc /29/07 Why learn Powershell Automate repetitive tasks Share knowledge with others It’s the Microsoft Way…

© 2007 Asynchrony Solutions, Inc /29/07 Controlling Windows through Scripts Complaints for years about GUI-only config In Unix/Linux forever MS making admin tasks powershell-scriptable Exchange SQL Server IIS 7 More

© 2007 Asynchrony Solutions, Inc /29/07 Resources Download powershell through Microsoft.com Videos Blogs

© 2007 Asynchrony Solutions, Inc /29/07 More resources Books Powershell in Action, Bruce Payette Professional Windows Powershell, Andrew Watt Windows Powershell Cookbook, Lee Holmes Community projects 21 projects on

© 2007 Asynchrony Solutions, Inc /29/07 Q & A Slides posted at questions to