Presentation is loading. Please wait.

Presentation is loading. Please wait.

One Marketing Template

Similar presentations


Presentation on theme: "One Marketing Template"— Presentation transcript:

1 One Marketing Template
9/14/2018 Microsoft Virtual Academy Free, online, technical courses Take a free online course. © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

2 Module 7 Automation in Windows Server 2016

3 Module Agenda The automation landscape PowerShell investments
Delivering PowerShell code faster PowerShell Web Access and Workflows PowerShell DSC

4 The automation landscape.

5 Automation Windows Server, System Center, Azure
Microsoft System Center Service Management Automation Orchestrator Azure Azure Automation Azure DSC Partners OEMs Management Products ISVs Automation Products Windows Server PowerShell PowerShell Workflow Just Enough Admin Desired State Configuration

6 PowerShell Investments.

7 The story of PowerShell is the story of sustained investment

8 PowerShell Progression
Version Server Key Feature Monad Manifesto Server 2000 Vision and prototype

9 PowerShell Progression
Version Server Key Feature Monad Manifesto Server 2000 Vision and prototype PowerShell 1.0 Server 2008 .Net Cmdlets* * .Net Cmdlets, Interactive shell, language, object pipeline & utilities, namespaces, debugger, security, adaptive type system, Help

10 PowerShell Progression
Version Server Key Feature Monad Manifesto Server 2000 Vision and prototype PowerShell 1.0 Server 2008 .Net Cmdlets PowerShell 2.0 Server 2008 R2 Remoting* * Remoting, Script cmdlets, comment-based help, modules, transactions, data language, splatting, try-catch, block comments, script I18N, background jobs, eventing, PowerShell_ISE, Out-Gridview

11 PowerShell Progression
Version Server Key Feature Monad Manifesto Server 2000 Vision and prototype PowerShell 1.0 Server 2008 .Net Cmdlets PowerShell 2.0 Server 2008 R2 Remoting PowerShell 3.0 Server 2012 Coverage* * Coverage, CDXML, workflow, updateable Help, singleton/collections fix, delegates, constrained & simplified language, module autoloading, DLR & AST, web and JSON support, scheduled/WMI/workflow jobs, robust remoting, RunAs and constrained runspaces, PSWeb services, POWA, snippets, intelliSense, Show-Comand, WINPE, Explorer Integration

12 PowerShell Progression
Version Server Key Feature Monad Manifesto Server 2000 Vision and prototype PowerShell 1.0 Server 2008 .Net Cmdlets PowerShell 2.0 Server 2008 R2 Remoting PowerShell 3.0 Server 2012 Coverage PowerShell 4.0 Server 2012 R2 Desired State Config* DSC, Save-Help, Where() & Foreach() methods, workflow debugging, lots of fixes and incremental improvements

13 PowerShell Progression
Version Server Key Feature Monad Manifesto Server 2000 Vision and prototype PowerShell 1.0 Server 2008 .Net Cmdlets PowerShell 2.0 Server 2008 R2 Remoting PowerShell 3.0 Server 2012 Coverage PowerShell 4.0 Server 2012 R2 Desired State Config PowerShell 5.0 Server 2016 DevOps* * DSC++, package manager, Azure extension agent, script analyzer, classes, using, security++, information stream, CMS, parse by example, Pester, PSReadline, remote debugging/file copy/script editing, network switches, OData

14 PowerShell 5.0 Additions Scripting Security & Protection
Microsoft Ignite 2015 9/14/2018 9:26 AM PowerShell 5.0 Additions Scripting Security & Protection Ubiquitous and comprehensive transcription Deep script block logging Protected event logging PowerShell Information stream Cryptographic message cmdlets Secure code generation APIs Constrained PowerShell endpoints (JIT/JEA) New Utility Cmdlets Compress-Archive / Expand-Archive Convert-String / ConvertFrom-String NoNewLine on File and Content cmdlets Symbolic link support Format-Hex New-Guid Clipboard cmdlets New-TemporaryFile Clear-RecycleBin Get-ChildItem -Depth New Modules PSReadLine (tab completion++) NetworkSwitchManager (network switches) PnpDevice (devices and drivers) Pester (unit test framework) ODataUtils (generate cmdlets from OData) Community & Development PSScriptAnalyzer (scripting best practices) PowerShellGet (find and install modules) PowerShell Gallery (module repository) PackageManagement (package manager) Side-by-side module versioning Classes, lexical scoping, and 'using' keyword Remote Management Remote script debugging Remote script editing in ISE Host process attach and debug File copy over PowerShell sessions PowerShell remoting over VMBus More info: © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 Delivering PowerShell Code Faster.

16 Improved Authoring of PowerShell
PowerShell ISE Improvements Edit remote PS scripts & files in local ISE -> Enter-PSSession then running PSEdit <path and file name on the remote computer>. This feature eases editing Windows PowerShell files that are stored on the Server Core installation option of Windows Server, where Windows PowerShell ISE cannot run. The Start-Transcript cmdlet is now supported in Windows PowerShell ISE. You can now debug remote scripts in Windows PowerShell ISE. A new menu command, Break All (Ctrl+B), breaks into the debugger for both local and remotely-running scripts. PoshCode PowerShell Editing in Visual Studio

17 Better PowerShell Coding Practices
PowerShell Script Analyzer Static code checker for Windows PowerShell modules and scripts Checks the quality of Windows PowerShell code by running a set of rules Rules based on best practices identified by PowerShell Team and the community Generates DiagnosticResults (errors and warnings) to inform users about potential code defects and suggests possible solutions for improvements Pester Framework for running Unit Tests to execute and validate PowerShell commands Remote Debugging

18 PowerShell Web Access and Workflows

19 PowerShell Web Access Acts as a Windows PowerShell gateway, providing a web-based Windows PowerShell console that is targeted at a remote computer Run Windows PowerShell commands and scripts from a Windows PowerShell console in a web browser No local Windows PowerShell No remote management software No browser plug-in on the client device Broad support for popular browsers. Built for tablets and mobile devices. Robust Session Connectivity Users can run scripts, lose connectivity, reconnect and session still running

20 PowerShell Workflow Windows PowerShell Workflow 03
9/14/2018 PowerShell Workflow 03 Windows PowerShell Workflow A set of long- running activities (in sequence or in parallel) that perform complex management tasks, such as multi-machine application provisioning. Authored using a Windows PowerShell script or the Visual Studio Workflow Designer (XAML). Workflows survive system interruptions (reboots, network problems): suspend-job/ resume-job, persist state and metadata.

21 PowerShell Workflow Join-Domain through Workflow workflow Join-Domain
{     param(         [Parameter(Mandatory)]         [string]$DomainName,         [PSCredential]$DomainCredential         )     Get-CimInstance -ClassName win32_computersystem     Add-Computer -Credential $DomainCredential -DomainName $DomainName -LocalCredential $PSCredential     Restart-Computer -Force -Wait } # Usage Join-Domain -PSComputerName <list of machines> -PSCredential <local admin credential> -DomainName <domain name> -DomainCredential <credential that can join machine to domain>

22 PowerShell DSC.

23 PowerShell Desired State Configuration
Simplifies configuration Prevents configuration drift Flexible deployment options Enables continuous deployment Modules available from PS Gallery

24 PowerShell DSC But what can it do for me?
Install or remove server roles and features Manage registry settings Manage files and directories Start, stop, and manage processes and services Manage local groups and user accounts Install and manage packages such as .msi and .exe Manage environment variables Run Windows PowerShell scripts Fix a configuration that has drifted away from the desired state Discover the actual configuration state on a given node

25 DSC Leverage Traditional Scripts Configuration Intent
Dependency Resolution Intent DSC Engine Dependency Resolution Logging & Error Handling Reboot Resiliency Repeatable Automation Logging & Error Handling Reboot Resiliency Repeatable Automation Resources Technology Specific Technology Specific

26 DSC Decouples … Intent WHAT : Structural Configuration
9/14/2018 DSC Decouples … Configuration Intent Intent WHAT : Structural Configuration Stays same irrespective of the environment WHERE : Environmental Configuration Changes as system goes through different env. Dev  Test  Production DSC Engine Dependency Resolution Logging & Error Handling Reboot Resiliency Repeatable Automation Make It So HOW : DSC Resources Do the heavy lifting in an idempotent way Resources Technology Specific © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

27 DSC Architecture Overview
Authoring Phase: DSC configuration is created through PowerShell or by third party languages and tools Output from the Authoring Phase is one or more MOF (Management Object Format) files, the format which is consumable by DSC

28 DSC Architecture Overview
Staging Phase: MOF files are staged Pull Server is an IIS Web Server with OData interface Target system contacts Pull server to retrieve config With Push model, DSC data is pushed to target system

29 DSC Architecture Overview
“Make it So” phase Apply the configuration DSC data either pulled or pushed to “local configuration store” Contains current, previous and desired state configuration Changes then implemented

30 Example DSC Configuration
Configuration ContosoWebsite { param ($MachineName) Node $MachineName #Install the IIS Role WindowsFeature IIS Ensure = “Present” Name = “Web-Server” } #Install ASP.NET 4.5 WindowsFeature ASP Name = “Web-Asp-Net45” Use “Node” to specify target systems, so a specific node could have a specific configuration Example DSC Provider “WindowsFeature”

31 Example DSC Configuration
#Create consumable MOF file ContosoWebsite –MachineName “MyServer” #Apply the MOF - Path can be local or UNC Start-DscConfiguration –Path .\ContosoWebsite –Wait –Verbose #Identify configuration drift - will return true or false Test-DscConfiguration –CimSession $session

32 What’s new with DSC? Define Windows PowerShell Desired State Configuration (DSC) resources by using classes Neither a MOF file nor a DSCResource subfolder in the module folder is required Gives additional flexibility Centralized DSC Error Reporting Not only logged in event log, but sent to central location for further analysis Send errors for any server in the environment Sent to a ‘Report Server’ and stored in a database – works with push/pull configurations PSDscRunAsCredential Run resource under a specified set of credentials Just Enough Administration New delegation security feature, leverages DSC and Windows PowerShell constrained runspaces to help secure enterprises from data loss or compromise by employees, whether intentional or unintentional Further detail:

33 What’s new with DSC? New cmdlets added to the PSDesiredStateConfiguration module: Get-DscConfigurationStatus - high-level information about configuration status from a target node. You can obtain the status of the last, or of all configurations. Compare-DscConfiguration - compares a specified configuration with the actual state of one or more target nodes. Publish-DscConfiguration - copies a configuration MOF file to a target node, but does not apply the configuration. The configuration is applied during the next consistency pass, or when you run the Update-DscConfiguration cmdlet. Test-DscConfiguration - verify that a resulting configuration matches the desired configuration, returning either True if the configuration matches the desired configuration, or False if the actual configuration does not match the desired configuration. Update-DscConfiguration forces a configuration to be processed. If the Local Configuration Manager is in pull mode, the cmdlet gets the configuration from the pull server before applying it.

34 Tech Ready 15 9/14/2018 Demo. DSC © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

35 TechNet Virtual Labs Deep technical content and free product evaluations Hands-on deep technical labs Free, online, technical courses At the TechNet Evaluation Center you can download free, trial versions of Microsoft software, with no feature limits. Dozens of trials are available – all at no cost. Try Windows Server 2012 R2 for up to 180 days. Download the Windows 8.1 Enterprise 90-day evaluation. Or try Microsoft Azure at no-cost for up to 90 days. Microsoft Hands On Labs offer virtual environments that will take you through guided, technically deep product learning experience. Learn at your own pace in labs that you can complete in 90 minutes or less. There is no complex setup or installation is required to use TechNet Virtual Labs. Microsoft Virtual Academy provides free online training on the IT scenarios that are important to your company and your career. Learn at your own pace and boost your IT skills with over 100 courses across more than 15 Microsoft technologies including Windows Server, Windows 8, Microsoft Azure, Office 365, virtualization, Windows Phone, and more. Download Microsoft software trials today. Find Hand On Labs. Take a free online course. Technet.microsoft.com/evalcenter Technet.microsoft.com/virtuallabs microsoftvirtualacademy.com

36 9/14/2018 9:26 AM © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows 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. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.


Download ppt "One Marketing Template"

Similar presentations


Ads by Google