Presentation is loading. Please wait.

Presentation is loading. Please wait.

MonadV1 Automation Model.Net Cmdlets Type Adapters ShellObject Pipeline Object utilities Language Functions Debugger Security Management Models Namespaces.

Similar presentations


Presentation on theme: "MonadV1 Automation Model.Net Cmdlets Type Adapters ShellObject Pipeline Object utilities Language Functions Debugger Security Management Models Namespaces."— Presentation transcript:

1

2 MonadV1 Automation Model.Net Cmdlets Type Adapters ShellObject Pipeline Object utilities Language Functions Debugger Security Management Models Namespaces Remote ScriptingWMI Management Console REPL

3 MonadV1V2 Automation Model.Net Cmdlets Type Adapters Script cmdlets Comment-based help Modules Transactions ShellObject Pipeline Object utilities Language Functions Debugger Security Data language Splatting Try-catch Block comments Script internationalization Management Models NamespacesJobs(Background) Eventing Remote ScriptingWMIRemoting Management Console REPLISE Out-gridview

4 MonadV1V2V3 Automation Model.Net Cmdlets Type Adapters Script cmdlets Comment-based help Modules Transactions CDXML Workflow Updatable Help ShellObject Pipeline Object utilities Language Functions Debugger Security Data language Splatting Try-catch Block comments Script internationalization Singleton/collection fix Delegates Constrained & Simplified lang Autoloading DLR & AST Web and JSON support CIM support Management Models NamespacesJobs(Background) Eventing Jobs(scheduled, WMI, workflow) Remote ScriptingWMIRemotingRobust and reconnect Runas Constrained PSWeb Services POWA Management Console REPLISE Out-gridview Snippets/Intellisense/Show-Command Explorer integration WINPE

5 MonadV1V2V3V4 Automation Model.Net Cmdlets Type Adapters Script cmdlets Comment-based help Modules Transactions CDXML Workflow Updatable Help Save Help ShellObject Pipeline Object utilities Language Functions Debugger Security Data language Splatting Try-catch Block comments Script internationalization Singleton/collection fix Delegates Constrained & Simplified lang Autoloading DLR & AST Web and JSON support CIM support DLR Where() operator Management Models NamespacesJobs(Background) Eventing Jobs(scheduled, WMI, workflow)DSC Remote ScriptingWMIRemotingRobust and reconnect Runas Constrained PSWeb Services POWA PS Management Console REPLISE Out-gridview Snippets/Intellisense/Show-Command Explorer integration WINPE Workflow debugging

6 MonadV1V2V3V4V5 Automation Model.Net Cmdlets Type Adapters Script cmdlets Comment-based help Modules Transactions CDXML Workflow Updatable Help Save HelpPowerShell.Core OData Cmdlets ShellObject Pipeline Object utilities Language Functions Debugger Security Data language Splatting Try-catch Block comments Script internationalization Singleton/collection fix Delegates Constrained & Simplified lang Autoloading DLR & AST Web and JSON support CIM support DLR Where() operator Classes & new Language Mode PSScriptAnalyzer Security+++ Management Models NamespacesJobs(Background) Eventing Jobs(scheduled, WMI, workflow) DSCDSC+++ / Network Switch /Unit Testing / Package Management Remote Scripting WMIRemotingRobust and reconnect Runas Constrained PSWeb Services POWA PSRemote Editing/File_Transfer/Debugging (OpenSSH in development) Management Console REPLISE Out-gridview Snippets/Intellisense/S how-Command Explorer integration WINPE Workflow debugging DSC support

7

8 Ever-faster solution delivery needed Pace of change is increasing Scale * Complexity exceeds Skill Cloud Scale demands Simplicity Simplicity Velocity Heterogeneous environments are the norm IT spans on-prem, hybrid, & cloud Ubiquity

9 Code Delivered Faster Improved Authoring Community Code Sharing Declarative syntax Configuration Drift prevention Standards based DSC on Linux Simplicity Velocity Ubiquity

10 ConfigurationRepositoryWeb OSConfigServer = "https://corp.contoso.com/OSConfigServer/PSDSCPullServer.svc" PartialConfiguration OSConfig { Description = 'Configuration for the Base OS' ExclusiveResources = 'PSDesiredStateConfiguration\*' ConfigurationSource = '[ConfigurationRepositoryWeb]OSConfigServer' } PartialConfiguration SQLConfig { Description = 'Configuration for the SQL Server' ConfigurationSource = '[ConfigurationRepositoryWeb]OSConfigServer' DependsOn = '[PartialConfiguration]OSConfig' } # Inter-node Dependencies using WaitFor WaitForAll DC { ResourceName= '[xADDomain]NewDomain' NodeName = 'MyDC' RetryIntervalSec = 15 RetryCount = 30 } xComputer JoinDomain { Name = 'MyPC' DomainName = 'Contoso.com' Credential = (get-credential) DependsOn ='[WaitForAll]DC' } # Specifying the DSC Run-As credential File TestFile { DestinationPath = "$env:USERPROFILE\Desktop\test.txt" Contents = 'This is some text' PSDSCRunAsCredential = $ConfigData.UserCredentials }

11 # Inter-node Dependencies using WaitFor WaitForAll DC { ResourceName = '[xADDomain]NewDomain' NodeName = 'MyDC' RetryIntervalSec = 15 RetryCount = 30 } xComputer JoinDomain { Name = 'MyPC' DomainName = 'Contoso.com' Credential = (get-credential) DependsOn ='[ WaitForAll]DC' } # Partial Configuration ConfigurationRepositoryWeb OSConfigServer = "https://corp.contoso.com/OSConfigServer/PSDSCPullServer.svc" PartialConfiguration OSConfig { Description = 'Configuration for the Base OS' ExclusiveResources = 'PSDesiredStateConfiguration\*' ConfigurationSource = '[ConfigurationRepositoryWeb]OSConfigServer' } PartialConfiguration SQLConfig { Description = 'Configuration for the SQL Server' ConfigurationSource = '[ConfigurationRepositoryWeb]OSConfigServer' DependsOn = '[PartialConfiguration]OSConfig' } # Specifying the DSC Run-As credential File TestFile { DestinationPath = "$env:USERPROFILE\Desktop\test.txt" Contents = 'This is some text' PSDSCRunAsCredential = $ConfigData.UserCredentials }

12 Start-DscConfiguration -UseExisting Forcing the configuration check against the Pull Server - Update-DscConfiguration Remove-DscConfigurationDocument –Stage (current, pending, previous) Publish-DscConfiguration places a MOF on a target, does not apply it (until next pass) Update-DscConfiguration forcing a configuration to be processed immediately System Information Test-DscConfiguration –ReferenceConfiguration State Information Get-DscConfigurationStatus –All Get-LocalConfigurationManager Configure web-based reporting via DSCLocalConfigurationManager Coming in Server - Separation of node role from node ID

13

14

15

16

17


Download ppt "MonadV1 Automation Model.Net Cmdlets Type Adapters ShellObject Pipeline Object utilities Language Functions Debugger Security Management Models Namespaces."

Similar presentations


Ads by Google