舉報

會員
Learning PowerShell DSC(Second Edition)
最新章節:
Summary
Ifyouareasystemadministrator,developer,orengineerandareresponsibleforconfigurationmanagementandautomation,thenthisbookisforyou.ITprofessionalswhowishtolearnPowerShellDesiredStateConfigurationfortheefficientmanagement,configuration,anddeploymentofsystemswillalsofindthisbookuseful.
最新章節
- Summary
- Handling change
- Complicated deployments
- Configuration management refresher
- Installing software
- Setting up a common installation base
品牌:中圖公司
上架時間:2021-07-02 18:10:21
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Summary 更新時間:2021-07-02 18:31:58
- Handling change
- Complicated deployments
- Configuration management refresher
- Installing software
- Setting up a common installation base
- Real-life DSC usage
- Example Scenarios
- Summary
- Ubuntu
- Installing PowerShell Core on Linux
- Manual
- Homebrew
- Installing PowerShell Core on macOS
- Installing PowerShell Core on Windows
- PowerShell Core
- Pushing a DSC configuration to a Linux node
- Installing DSC on Linux
- Using DSC on Linux
- DSC cross-platform support
- DSC Cross Platform Support
- Summary
- WMF 4 pull server reporting
- WMF 5 pull server reporting
- Reporting on the target node status with the DSC pull server
- Reporting on the target node status
- Using DSC logging to check on the status
- Triggering a WMF 5 target node
- Triggering a WMF 4 target node
- Triggering a DSC configuration to run on a target node
- Checking the current LCM configuration status
- DSC pull server and target node status
- Deploying DSC Configurations to the DSC pull server
- Compiling DSC configurations using RegistrationKeys
- Compiling DSC configurations using ConfigurationIDs
- Pulling DSC configurations with a DSC pull server
- Registering a target node using RegistrationKey
- Registering a target node using a configuration ID
- Registering target nodes with a DSC pull server
- Testing using the command line
- Testing using a web browser
- Validating a DSC pull server install
- DSC pull server and registration keys
- Creating an HTTPS DSC pull server
- Creating an SMB DSC pull server
- Miscellaneous tasks
- Preparing DSC resources for pull server distribution
- SMB share creation
- SSL certificates
- Installing required DSC resources
- Initial setup tasks
- The Windows management framework version
- DSC pull server type
- DSC pull server setup considerations
- Creating DSC pull servers
- Pulling DSC Configurations
- Summary
- Things you must consider when pushing DSC configurations
- Executing configurations for remote target nodes
- Compiling configurations for remote target nodes
- Setting up the test environment remotely
- Remotely pushing DSC configurations
- Executing configurations for local target nodes
- Compiling configurations for local target nodes
- Setting up the test environment locally
- Locally pushing DSC configurations
- Test environment
- Setting things up
- Tooling
- Pushing DSC Configurations
- Summary
- Deploying DSC resources in a pull DSC configuration deployment
- Deploying DSC resources in a push DSC configuration deployment
- Deploying DSC resources
- Third-party NuGet servers
- NuGet IIS
- Local SMB/network share
- Custom hosting options
- Installing DSC resources in the PowerShell Gallery
- Discover DSC resources in the PowerShell Gallery
- PackageManagement
- Microsoft PowerShell Gallery
- Installing DSC resources from GitHub
- Microsoft PowerShell DSC GitHub repository
- Installing DSC resource Kits
- Microsoft DSC resource Kits
- How do you find DSC resources?
- Microsoft recommendations
- Pester
- Using xDscResourceDesigner
- Testing custom DSC resources
- Packaging the C# custom DSC resource
- Create the C# cmdlet code
- Create the Visual Studio project
- Create the MOF schema
- Creating PowerShell custom DSC resources in C#
- Creating single-instance custom DSC resources
- Disadvantages of a class-based DSC resource
- Advantages of a class-based DSC resource
- Class-based DSC resource syntax
- The folder structure of class-based DSC resource
- Class-based DSC resources
- PowerShell classes
- Creating PowerShell class-based custom DSC resources
- Creating DSC resources automatically
- Creating DSC resources manually
- Authoring custom DSC resources
- Set-TargetResource
- Test-TargetResource
- Get-TargetResource
- The DSC PowerShell module file
- Qualifiers
- Parameters
- Versioning
- Naming
- The DSC resource definition file
- MOF-based DSC resource syntax
- MOF-based DSC resource folder structure
- Creating PowerShell MOF-based custom DSC resources
- Contribute back
- Reuse code but don't go overboard
- Do one thing well
- Idempotent
- What makes a good DSC resource
- What are DSC resources?
- DSC Resources
- Summary
- Fixing a stuck DSC run
- Enabling the debug mode
- Resetting the DSC engine cache
- Trace-xDSCOperation
- Get-xDSCOperation
- Using the xDscDiagnostics module to analyze DSC logs
- PowerShell
- Event Viewer
- Gathering events from a single DSC operation
- What do DSC event logs contain?
- Enabling verbose logging
- Using DSC event logs
- Status at a glance
- Debugging and troubleshooting configuration script files
- Partial DSC configurations
- DSC composite resource drawbacks
- The DSC composite resource folder structure
- The DSC composite resource syntax
- Why use DSC composite resources?
- DSC composite resources
- Nested DSC configuration limitations
- Nested DSC configuration syntax
- Nested DSC configurations
- Creating reusable DSC configurations
- Allowable DSC configuration content
- The data file syntax
- The variable syntax
- Configuration data syntax
- Authoring DSC configuration data files
- Defining a DSC configuration data file
- DSC configuration script file example
- DSC resource statements
- The Node keyword
- The configuration keyword
- DSC configuration syntax
- Import-DSCResource
- DSC resource import declarations
- ConfigurationData
- Node
- AllNodes
- DSC automatic variables
- Authoring DSC configuration files
- Defining a DSC configuration script file
- DSC Configuration Files
- Summary
- Deployment mode differences
- LCM gotchas
- General observations
- Deployment considerations
- Adding DSC resources to a pull server
- Adding MOF files to a pull server
- Installing the DSC server
- Pull server settings
- Setting up a DSC pull server
- Security
- Reporting
- Repository
- Automatic and continuous configuration
- What does the pull server do for us?
- What is a DSC pull server?
- The DSC pull server
- An example LCM configuration
- The LCM configuration
- Refresh modes
- ApplyAndAutoCorrect
- ApplyAndMonitor
- ApplyOnly
- Configuration modes
- LCM settings
- Local Configuration Manager
- Hashtable data
- Parameter-based data
- Hardcoded data
- Configuration data
- The example workflow
- Pull executions
- Push executions
- Execution
- Staging
- Compilation
- Syntax
- Authoring
- The general workflow
- The pull management model
- The push management model
- Push and pull modes
- Overview
- DSC Architecture
- Summary
- PowerShell V6 DSC
- DSC status from a central location
- DSC LCM RefreshMode values
- DSC LCM rich state information
- DSC LCM MetaConfig updates
- Separation of node and configuration IDs
- DSC resource script debugging
- DSC resource side-by-side installation
- DSC run as credential support
- DSC built-in support for help
- Class-based DSC resources
- Partial configurations and dependencies
- The PowerShell ISE
- V5 improvements
- V5 DSC cmdlets
- V5 DSC base resources
- V5 DSC language extensions
- PowerShell V5 DSC
- V4 DSC pull server
- V4 DSC cmdlets
- V4 DSC base resources
- V4 DSC language extensions
- PowerShell V4 DSC
- DSC versions
- DSC requirements
- DSC features
- Isn't this Group Policy or SCCM?
- Idempotence
- The how
- The what
- The who
- How does DSC help?
- Why all the abstraction?
- The execution phase
- The staging phase
- The authoring phase
- DSC high-level overview
- DSC quick wins
- What is DevOps?
- Why do we need configuration management?
- On to PowerShell DSC
- What is PowerShell?
- What is PowerShell DSC?
- Introducing PowerShell DSC
- Questions
- Piracy
- Errata
- Downloading the example code
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Customer Feedback
- Why subscribe?
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- Second Edition
- Learning PowerShell DSC
- Copyright
- Second Edition
- Learning PowerShell DSC
- Title Page
- cover
- cover
- Title Page
- Learning PowerShell DSC
- Second Edition
- Copyright
- Learning PowerShell DSC
- Second Edition
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Why subscribe?
- Customer Feedback
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- Introducing PowerShell DSC
- What is PowerShell DSC?
- What is PowerShell?
- On to PowerShell DSC
- Why do we need configuration management?
- What is DevOps?
- DSC quick wins
- DSC high-level overview
- The authoring phase
- The staging phase
- The execution phase
- Why all the abstraction?
- How does DSC help?
- The who
- The what
- The how
- Idempotence
- Isn't this Group Policy or SCCM?
- DSC features
- DSC requirements
- DSC versions
- PowerShell V4 DSC
- V4 DSC language extensions
- V4 DSC base resources
- V4 DSC cmdlets
- V4 DSC pull server
- PowerShell V5 DSC
- V5 DSC language extensions
- V5 DSC base resources
- V5 DSC cmdlets
- V5 improvements
- The PowerShell ISE
- Partial configurations and dependencies
- Class-based DSC resources
- DSC built-in support for help
- DSC run as credential support
- DSC resource side-by-side installation
- DSC resource script debugging
- Separation of node and configuration IDs
- DSC LCM MetaConfig updates
- DSC LCM rich state information
- DSC LCM RefreshMode values
- DSC status from a central location
- PowerShell V6 DSC
- Summary
- DSC Architecture
- Overview
- Push and pull modes
- The push management model
- The pull management model
- The general workflow
- Authoring
- Syntax
- Compilation
- Staging
- Execution
- Push executions
- Pull executions
- The example workflow
- Configuration data
- Hardcoded data
- Parameter-based data
- Hashtable data
- Local Configuration Manager
- LCM settings
- Configuration modes
- ApplyOnly
- ApplyAndMonitor
- ApplyAndAutoCorrect
- Refresh modes
- The LCM configuration
- An example LCM configuration
- The DSC pull server
- What is a DSC pull server?
- What does the pull server do for us?
- Automatic and continuous configuration
- Repository
- Reporting
- Security
- Setting up a DSC pull server
- Pull server settings
- Installing the DSC server
- Adding MOF files to a pull server
- Adding DSC resources to a pull server
- Deployment considerations
- General observations
- LCM gotchas
- Deployment mode differences
- Summary
- DSC Configuration Files
- Defining a DSC configuration script file
- Authoring DSC configuration files
- DSC automatic variables
- AllNodes
- Node
- ConfigurationData
- DSC resource import declarations
- Import-DSCResource
- DSC configuration syntax
- The configuration keyword
- The Node keyword
- DSC resource statements
- DSC configuration script file example
- Defining a DSC configuration data file
- Authoring DSC configuration data files
- Configuration data syntax
- The variable syntax
- The data file syntax
- Allowable DSC configuration content
- Creating reusable DSC configurations
- Nested DSC configurations
- Nested DSC configuration syntax
- Nested DSC configuration limitations
- DSC composite resources
- Why use DSC composite resources?
- The DSC composite resource syntax
- The DSC composite resource folder structure
- DSC composite resource drawbacks
- Partial DSC configurations
- Debugging and troubleshooting configuration script files
- Status at a glance
- Using DSC event logs
- Enabling verbose logging
- What do DSC event logs contain?
- Gathering events from a single DSC operation
- Event Viewer
- PowerShell
- Using the xDscDiagnostics module to analyze DSC logs
- Get-xDSCOperation
- Trace-xDSCOperation
- Resetting the DSC engine cache
- Enabling the debug mode
- Fixing a stuck DSC run
- Summary
- DSC Resources
- What are DSC resources?
- What makes a good DSC resource
- Idempotent
- Do one thing well
- Reuse code but don't go overboard
- Contribute back
- Creating PowerShell MOF-based custom DSC resources
- MOF-based DSC resource folder structure
- MOF-based DSC resource syntax
- The DSC resource definition file
- Naming
- Versioning
- Parameters
- Qualifiers
- The DSC PowerShell module file
- Get-TargetResource
- Test-TargetResource
- Set-TargetResource
- Authoring custom DSC resources
- Creating DSC resources manually
- Creating DSC resources automatically
- Creating PowerShell class-based custom DSC resources
- PowerShell classes
- Class-based DSC resources
- The folder structure of class-based DSC resource
- Class-based DSC resource syntax
- Advantages of a class-based DSC resource
- Disadvantages of a class-based DSC resource
- Creating single-instance custom DSC resources
- Creating PowerShell custom DSC resources in C#
- Create the MOF schema
- Create the Visual Studio project
- Create the C# cmdlet code
- Packaging the C# custom DSC resource
- Testing custom DSC resources
- Using xDscResourceDesigner
- Pester
- Microsoft recommendations
- How do you find DSC resources?
- Microsoft DSC resource Kits
- Installing DSC resource Kits
- Microsoft PowerShell DSC GitHub repository
- Installing DSC resources from GitHub
- Microsoft PowerShell Gallery
- PackageManagement
- Discover DSC resources in the PowerShell Gallery
- Installing DSC resources in the PowerShell Gallery
- Custom hosting options
- Local SMB/network share
- NuGet IIS
- Third-party NuGet servers
- Deploying DSC resources
- Deploying DSC resources in a push DSC configuration deployment
- Deploying DSC resources in a pull DSC configuration deployment
- Summary
- Pushing DSC Configurations
- Tooling
- Setting things up
- Test environment
- Locally pushing DSC configurations
- Setting up the test environment locally
- Compiling configurations for local target nodes
- Executing configurations for local target nodes
- Remotely pushing DSC configurations
- Setting up the test environment remotely
- Compiling configurations for remote target nodes
- Executing configurations for remote target nodes
- Things you must consider when pushing DSC configurations
- Summary
- Pulling DSC Configurations
- Creating DSC pull servers
- DSC pull server setup considerations
- DSC pull server type
- The Windows management framework version
- Initial setup tasks
- Installing required DSC resources
- SSL certificates
- SMB share creation
- Preparing DSC resources for pull server distribution
- Miscellaneous tasks
- Creating an SMB DSC pull server
- Creating an HTTPS DSC pull server
- DSC pull server and registration keys
- Validating a DSC pull server install
- Testing using a web browser
- Testing using the command line
- Registering target nodes with a DSC pull server
- Registering a target node using a configuration ID
- Registering a target node using RegistrationKey
- Pulling DSC configurations with a DSC pull server
- Compiling DSC configurations using ConfigurationIDs
- Compiling DSC configurations using RegistrationKeys
- Deploying DSC Configurations to the DSC pull server
- DSC pull server and target node status
- Checking the current LCM configuration status
- Triggering a DSC configuration to run on a target node
- Triggering a WMF 4 target node
- Triggering a WMF 5 target node
- Using DSC logging to check on the status
- Reporting on the target node status
- Reporting on the target node status with the DSC pull server
- WMF 5 pull server reporting
- WMF 4 pull server reporting
- Summary
- DSC Cross Platform Support
- DSC cross-platform support
- Using DSC on Linux
- Installing DSC on Linux
- Pushing a DSC configuration to a Linux node
- PowerShell Core
- Installing PowerShell Core on Windows
- Installing PowerShell Core on macOS
- Homebrew
- Manual
- Installing PowerShell Core on Linux
- Ubuntu
- Summary
- Example Scenarios
- Real-life DSC usage
- Setting up a common installation base
- Installing software
- Configuration management refresher
- Complicated deployments
- Handling change
- Summary 更新時間:2021-07-02 18:31:58