PowerShell Package Management for the Enterprise Kirk Aleksandar

Slides:



Advertisements
Similar presentations
Automating Microsoft Azure with PowerShell MMS Minnesota 2014 Trevor Sullivan and David O’Brien – #MMSMinnesota.
Advertisements

Deep Application Management with Microsoft System Center 2012 Configuration Manager Adwait Joshi Senior Product Marketing Manager Microsoft Corporation.
Your CMDB and PowerShell DSC: DevOps Techniques
Managing Your Datacenter with Microsoft System Center Configuration Manager Kent Agerlund, ECM MVP, Coretech.
SCORCH – Fun Recipes for RunBooks MMS Minnesota 2014 Steve Jesok & Matthew #MMSSCOrch.
Advanced MP Authoring and Design Getting outside of the wizard and into the MP code with VSAE MMS Minnesota 2014 Nathan Foreman Jonathan Almquist #MMSSCOM.
System Center Reporting Zero to Hero 15 minutes x 4 MMS Minnesota 2014 Samuel Erskine (Sam) Dieter Gasser (Didi) IT Driving Fellow Principal Consultant.
POWERSHELL SHENANIGANS KIERAN JACOBSEN HP ENTERPRISE SERVICES.
Node.js & Windows Azure AZR326  JavaScript on the Server!  Event driven I/O server-side JavaScript  Not thread based, each connection uses only a.
LINCPlus Overview Complete binding preparation module includes features such as security, titles database, reports and job costing options. Integrated.
End to End Automation with MDT Managing your reference images. Fred om Daniel
Service Management Automation: 3,2,1, Automate!
Windows 10 Setup InternalsWindows 10 Setup Internals Johan
Are you Ready for Configuration Manager vNext?
Windows 10 Feature & Servicing Updates Options and Demystifying Steven Rachui
Define, bundle, deployDefine, bundle, deploy Working with Windows Server Containers and Docker James David O’Brien.
with Configuration Manager, MDT, and Intune
ConfigMgr! Intune! Azure!ConfigMgr! Intune! Azure! Understanding Cloud Based Management Options Steven Rachui
Monitoring and Managing the Hybrid Cloud with System Center
Managing Third Party Updates with Microsoft’s System Center Configuration Manager Secunia Integration, MMS 2015 Kent AgerlundSherry Kissinger.
Nano ServerNano Server The Future of Window Server Mikael Johan
House of tails dogs charity All donations go 100% to the charity #MMSGIVEBACK.
Managing iOS Device Using ConfigMgr and Intune Hybrid MDM John Presenter #2 Twitter Handle Blog or address.
PowerShell Community Handbook Kirk Aleksandar
Critical Security Controls & Effective Cyber Defense Hasain “The Wolf”
Automating Reference ImagesAutomating Reference Images Henrik Blog.coretech.dk/hra Kent Blog.coretech.dk/kea.
How to Model an Application for Monitoring Nathan Jonathan
Introduction to Administering a SQL Server Matthew Steve Thompson, stevethompsonmvp.wordpress.com.
The Art of deploying Windows 10 With ConfigMgr 2012 R2 Johan Mikael
XPlatform ManagementxPlatform Management Windows Provisioning from *nix David James.
Midwest Management Summit MMSSQL – What are Your SQL Reporting Questions? #MMSMinnesot a #MMSSQL.
Introduction to T-SQL – Part Deux Matthew Sherry Kissinger kissinger.
OS Deployment - LEVEL 500OS Deployment - LEVEL 500 Johan
App-V: An Overview MMS Minnesota 2014 Fred #MMSMinnesota #MMSAppV.
Server OS Deployment Deep Dive with two crazy guys and ConfigMgr 2012 R2 MMS Minnesota 2014 Greg Nash.
ALL INFORMATION PRESENTED AS WELL AS ALL SESSIONS ARE MICROSOFT CONFIDENTIAL AND UNDER YOUR NON-DISCLOSURE AGREEMENT (NDA) AND\OR TECHNOLOGY PREVIEW.
SQL Tips & Tricks Best practices from the field John Nelson Apps Systems Engineer Steve Thompson Senior Consultant,
Why you should be using VSTSWhy you should be using VSTS Visual Studio Team Services (VSTS) Nathan Lasnoski Vice President of blog.concurrency.com.
Long Live Azure Automation!Long Live Azure Automation! Cloud-first Configuration Management and Automation Beth Cooper Program Manager.
Everything you want to know about
Updating yourUpdating your Enterprise Environment Ronnie Jakobsen Senior Architect Coretech Kent Agerlund Chief Technical Architect.
ArcGIS for Server Security: Advanced
Getting & Running EdgeX Docker Containers
Introducing the Windows Mobile development
What are they? The Package Repository Client is a set of Tcl scripts that are capable of locating, downloading, and installing packages for both Tcl and.
Supporting Windows 8.1 Krystle Portocarrero | Training Experts Inc.
Microsoft /23/2018 8:20 PM THR3038 Implement dev and test scenarios using Azure and Visual Studio Team Services Alex Mang Azure MVP © 2016 Microsoft.
Configure and Manage Your Hybrid Cloud Environment at Scale
Migrating Infrastructure to Microsoft Azure
Shielded VM and Guarded Fabric
TechEd /3/2018 4:18 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Ignite /18/2018 8:30 PM BRK2065
Modernize ConfigMgr OSD with Community Tools
A Fast Track into Device Guard
Modern UI Extensions with the SharePoint Framework
Newness and Coolness in Configuration MANAGER
Git Version Control for Everyone
Microsoft /12/2018 8:06 AM BRK2103 Deliver more features faster with a modern development and test solution Claude Remillard Group Program Manager.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Ignite /20/2018 2:21 PM
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
System Center Application Management
HCL’s Viewpoint – DevOps on MS Cloud
Microsoft Virtual Academy
Deploying and Managing Windows To Go
This is the slide shown before the presentation starts
Preparing for the Windows 8.1 MCSA
Microsoft 365 Business Technical Fundamentals Series
Extend Azure DevOps with a Custom PowerShell-based Pipeline Task
DevOps for Desktop Apps
Presentation transcript:

PowerShell Package Management for the Enterprise Kirk Aleksandar m

Technical Product Manager *Px modules, pull requests, and more Almost 19 years working professionally with technology 8-Time PowerShell MVP World’s first self- proclaimed Poshoholic Shédiac, NB, Canada Kirk Munro

Freelance PowerShell and Azure trainer PowerShell Azure  A cup of tea Microsoft MVP Serbia Aleksandar Nikolić

DISCLAIMER PowerShell Package Management is still very, very new

Let’s talk about OneGetLet’s talk about OneGet

OneGet is… …a package management aggregator …an open source project on GitHubopen source project It consists of… …a core API for software discovery, installation and inventory (SDII) …a PowerShell module that wraps the core API …a collection of package managers OneGet

…is now called PackageManagement …because lawyers were asked if the name was ok …and of course they found a reason for it not to be …and MS Pac Man didn’t fly as an alternative

PackageManagement is… …a package manager aggregator (a meta- manager) …an open source project on GitHub (where it is still called OneGet)open source project …available natively in PSv5 and in preview for PSv3 and PSv4preview for PSv3 and PSv4 It consists of… …a core API for software discovery, installation and inventory (SDII) …a PowerShell module that wraps the core API …a collection of package managers PackageManagement

What Package Managers are available?

Included in OneGet MSI MSU Programs (Add/remove programs, remove only for now) BootStrap (not visible, for automation only) Also available NuGet (bootstrapped off the web) Chocolatey (included with NuGet) PSModule (installed with PowerShellGet) Gist Cygwin Package Managers (aka Package Providers)

Future Package Managers (ideas/wishlist) Windows Update (WSUS catalog, Windows Update and Microsoft Update) Windows Store Ruby Gems Node’s NPM Perl’s CPAN Python VSIX AppV WebPI SCCM Windows Features and many more…

Demo PackageManagement

What is PowerShellGet?What is PowerShellGet?

PowerShellGet PowerShellGet is a module that depends on (and ships with) PackageManagement It consists of a Package Manager (provider) and a PowerShell module that provides a provider-specific set of commands

Demo PowerShellGet

Strategies in PowerShell Package Management

Use code signing Use source control (git/GitHub work very, very well) Work with unsigned script files day-to-day Sign files only when you publish a release Place signed release versions on a separate branch in source control Build an automated publishing pipeline

Why PowerShell Package Management for the Enterprise?

Usability Control what modules are available Control where modules are made available from Set up an Enterprise repository that offers only approved/verified scripts and modules Security Control what scripts users can run Leverage features like AppLocker and/or Device Guard to provide security over scripts and modules AppLockerDevice Guard PowerShell Package Management for the Enterprise

Options for Enterprise PowerShellGet repositories UNC share Pros: on premises, trivial to set up Cons: lacking features available in full repositories (UI, branding, tags, etc.) Local NuGet installation Pros: on premises, feature rich, open source, brandable and fully customizable Cons: much more complicated to set up initially (for now)

Options for Enterprise PowerShellGet repositories ProGet Pros: on premises, commercially developed, free tier available Cons: paid tiers required for larger teams/enterprises, may be more than necessary for PowerShell Package Management MyGet Pros: commercially developed, free tier available (open source only) Cons: paid tiers required for closed source projects, hosted servers not allowed in some enterprise environments, may be more than necessary for PowerShell Package Management

Demo Setting up a local PowerShellGet repository

Evaluations: Please provide session feedback by clicking the EVAL button in the scheduler app (also download slides). One lucky winner will receive a free ticket to the next MMS! Session Title: Discuss… Ask your questions-real world answers! Plenty of time to engage, share knowledge. SPONSORS