├── Chapter00 └── DeployThisFirst.ps1 ├── Chapter01 ├── 01 - WindowsInstallation.ps1 ├── 02 - LinuxInstallation.sh ├── 03 - FirstSteps.ps1 ├── 04 - GettingHelp.ps1 ├── 05 - GettingAround.ps1 ├── 06 - HowCmdletsWork.ps1 └── 07 - BuildYourShell.ps1 ├── Chapter02 ├── 01 - WorkingWithOutput.ps1 ├── 02 - StoringData.ps1 ├── 03 - ReadOnlyAndConstants.ps1 ├── 04 - Scopes.ps1 ├── 05 - SixStreams.ps1 ├── 06 - StreamRedirection.ps1 ├── 07 - FileSystemProvider.ps1 ├── 08 - RegistryProvider.ps1 ├── 09 - CertificateProvider.ps1 ├── 10 - CreateYourOwnProvider.ps1 ├── 11 - NTFSADS.ps1 ├── ShipsProvider │ ├── ShipsProvider.psd1 │ └── ShipsProvider.psm1 └── ShipsProviderAdvanced │ ├── ShipsProviderAdvanced.psd1 │ └── ShipsProviderAdvanced.psm1 ├── Chapter03 ├── 01 - OOPIntro.ps1 ├── 02 - ExploreProperties.ps1 ├── 03 - ExploreMethods.ps1 ├── 04 - StaticMembers.ps1 ├── 05 - Classes.ps1 ├── 05 - ClassesDotNet.cs ├── 06 - PSCustomObject.ps1 ├── 07 - ManipulatingObjects.ps1 └── 08 - RefOutDelegate.ps1 ├── Chapter04 ├── 01 - PipelineIntro.ps1 ├── 02 - Sorting.ps1 ├── 03 - Selecting.ps1 ├── 04 - Grouping.ps1 ├── 05 - Filtering.ps1 ├── 06 - Processing.ps1 ├── 07 - EnablePipelineInput.ps1 ├── 08 - Performance.ps1 └── MassiveComputerList.txt ├── Chapter05 ├── 01 - Csv.ps1 ├── 02 - Xml.ps1 ├── 03 - JsonYaml.ps1 ├── 04 - RESTApis.ps1 ├── 05 - Sql.ps1 ├── 06 - PostgreSQL.ps1 └── 07 - Encryption.ps1 ├── Chapter06 ├── 01 - WindowsFeature.ps1 ├── 02 - LinuxPackageGroup.ps1 ├── 03 - WindowsAccount.ps1 ├── 04 - LinuxAccount.ps1 ├── 05 - Registry.ps1 ├── 06 - LinuxConfigFiles.ps1 ├── 07 - WindowsServices.ps1 ├── 08 - LinuxDaemon.ps1 ├── 09 - ScheduledTasks.ps1 ├── 10 - CronJobs.ps1 ├── 11 - StoragePool.ps1 ├── 12 - SoftwareRaid.ps1 ├── 13 - WindowsEventLog.ps1 ├── 14 - LinuxLogging.ps1 ├── LinuxDaemon │ └── polaris.ps1 └── Project1 │ ├── App.config │ ├── DoesItAll.cs │ └── Project1.csproj ├── Chapter07 ├── 00 - File services management.ps1 ├── 01 - Domain services management.ps1 ├── 02 - IIS managementDeploy and configure.ps1 ├── 03 - IIS management Create a website.ps1 ├── 04 - Configure S2D.ps1 ├── 05 - Using Docker with Hyper-V containers.ps1 ├── 06 - Remote Desktop Services deployment.ps1 ├── 07 - Integrate DSC configuration into Windows Server image.ps1 └── polaris │ ├── Dockerfile │ └── startpolaris.ps1 ├── Chapter08 ├── 00 - Enabling PowerShell remoting on Windows.ps1 ├── 01 - Enabling PowerShell remoting on Linux.ps1 ├── 02 - Configuring PowerShell remoting.ps1 ├── 03 - Securely connecting to remote endpoints.ps1 ├── 04 - Remotely retrieving data.ps1 ├── 05 - Remote script debugging.ps1 ├── 06 - Creating a Just Enough Administration role.ps1 ├── 07 - Creating a Just Enough Administration session configuration.ps1 ├── 08 - Connecting to endpoints using different session configuration.ps1 ├── 09 - Using the Common Information Model.ps1 └── 10 - PowerShell Direct and PowerShell Core.ps1 ├── Chapter09 ├── 01 - Setting up Hyper-V.ps1 ├── 02 - Setting up Azure Stack.ps1 ├── 03 - Virtual networks in Hyper-V.ps1 ├── 04 - Virtual networks in Azure Stack.ps1 ├── 05 - Storage in Hyper-V.ps1 ├── 06 - Storage in Azure Stack.ps1 ├── 07 - Compute in Hyper-V.ps1 ├── 08 - Compute in Azure Stack.ps1 ├── 09 - Creating a Compute cluster with DSC.ps1 ├── 10 - Configuring guests with DSC in Hyper-V.ps1 ├── 11 - Configuring guests with DSC on Azure Stack.ps1 └── Template │ ├── parameters.json │ └── template.json ├── Chapter10 ├── 00 - Connecting to Azure.ps1 ├── 01 - Connecting to Google.ps1 ├── 02 - Exploring Azure resource groups.ps1 ├── 03 - Exploring Google Cloud projects.ps1 ├── 04 - Deploying resource group templates.ps1 ├── 05 - Deploying Google Cloud templates.ps1 ├── 06 - Using the Azure container registry.ps1 ├── 07 - Using the Google Cloud container registry.ps1 ├── 08 - Containers on Azure.ps1 ├── 09 - Containers on Google Cloud.ps1 ├── 10 - SQL on Azure.ps1 └── 11 - SQL on Google Cloud.ps1 ├── Chapter11 ├── 00 - Exploring REST services.ps1 ├── 01 - Accessing Azure Devops via REST.ps1 ├── 02 - Creating new Azure resource groups via REST.ps1 ├── 03 - Calling Azure runbooks via web hooks.ps1 ├── 04 - Providing a RESTful web service through PowerShell.ps1 ├── 05 - Create new team project on Azure DevOps.ps1 └── 06 - Create a new build definition on Azure DevOps.ps1 ├── Chapter12 ├── 00 - Parallelization with background jobs.ps1 ├── 01 - Eventlog queries on steroids.ps1 ├── 02 - Where-Object versus Where method.ps1 ├── 03 - Using ActiveDirectory cmdlets with performance in mind.ps1 ├── 04 - Parallelization through RunspacePools.ps1 ├── 05 - Exchanging variables with Runspaces.ps1 ├── 06 - Large-scale IO operations.ps1 └── 07 - Hashtables, Dictionaries and performance.ps1 ├── LICENSE └── README.md /Chapter00/DeployThisFirst.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter00/DeployThisFirst.ps1 -------------------------------------------------------------------------------- /Chapter01/01 - WindowsInstallation.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter01/01 - WindowsInstallation.ps1 -------------------------------------------------------------------------------- /Chapter01/02 - LinuxInstallation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter01/02 - LinuxInstallation.sh -------------------------------------------------------------------------------- /Chapter01/03 - FirstSteps.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter01/03 - FirstSteps.ps1 -------------------------------------------------------------------------------- /Chapter01/04 - GettingHelp.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter01/04 - GettingHelp.ps1 -------------------------------------------------------------------------------- /Chapter01/05 - GettingAround.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter01/05 - GettingAround.ps1 -------------------------------------------------------------------------------- /Chapter01/06 - HowCmdletsWork.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter01/06 - HowCmdletsWork.ps1 -------------------------------------------------------------------------------- /Chapter01/07 - BuildYourShell.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter01/07 - BuildYourShell.ps1 -------------------------------------------------------------------------------- /Chapter02/01 - WorkingWithOutput.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/01 - WorkingWithOutput.ps1 -------------------------------------------------------------------------------- /Chapter02/02 - StoringData.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/02 - StoringData.ps1 -------------------------------------------------------------------------------- /Chapter02/03 - ReadOnlyAndConstants.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/03 - ReadOnlyAndConstants.ps1 -------------------------------------------------------------------------------- /Chapter02/04 - Scopes.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/04 - Scopes.ps1 -------------------------------------------------------------------------------- /Chapter02/05 - SixStreams.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/05 - SixStreams.ps1 -------------------------------------------------------------------------------- /Chapter02/06 - StreamRedirection.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/06 - StreamRedirection.ps1 -------------------------------------------------------------------------------- /Chapter02/07 - FileSystemProvider.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/07 - FileSystemProvider.ps1 -------------------------------------------------------------------------------- /Chapter02/08 - RegistryProvider.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/08 - RegistryProvider.ps1 -------------------------------------------------------------------------------- /Chapter02/09 - CertificateProvider.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/09 - CertificateProvider.ps1 -------------------------------------------------------------------------------- /Chapter02/10 - CreateYourOwnProvider.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/10 - CreateYourOwnProvider.ps1 -------------------------------------------------------------------------------- /Chapter02/11 - NTFSADS.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/11 - NTFSADS.ps1 -------------------------------------------------------------------------------- /Chapter02/ShipsProvider/ShipsProvider.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/ShipsProvider/ShipsProvider.psd1 -------------------------------------------------------------------------------- /Chapter02/ShipsProvider/ShipsProvider.psm1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/ShipsProvider/ShipsProvider.psm1 -------------------------------------------------------------------------------- /Chapter02/ShipsProviderAdvanced/ShipsProviderAdvanced.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/ShipsProviderAdvanced/ShipsProviderAdvanced.psd1 -------------------------------------------------------------------------------- /Chapter02/ShipsProviderAdvanced/ShipsProviderAdvanced.psm1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter02/ShipsProviderAdvanced/ShipsProviderAdvanced.psm1 -------------------------------------------------------------------------------- /Chapter03/01 - OOPIntro.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/01 - OOPIntro.ps1 -------------------------------------------------------------------------------- /Chapter03/02 - ExploreProperties.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/02 - ExploreProperties.ps1 -------------------------------------------------------------------------------- /Chapter03/03 - ExploreMethods.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/03 - ExploreMethods.ps1 -------------------------------------------------------------------------------- /Chapter03/04 - StaticMembers.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/04 - StaticMembers.ps1 -------------------------------------------------------------------------------- /Chapter03/05 - Classes.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/05 - Classes.ps1 -------------------------------------------------------------------------------- /Chapter03/05 - ClassesDotNet.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/05 - ClassesDotNet.cs -------------------------------------------------------------------------------- /Chapter03/06 - PSCustomObject.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/06 - PSCustomObject.ps1 -------------------------------------------------------------------------------- /Chapter03/07 - ManipulatingObjects.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/07 - ManipulatingObjects.ps1 -------------------------------------------------------------------------------- /Chapter03/08 - RefOutDelegate.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter03/08 - RefOutDelegate.ps1 -------------------------------------------------------------------------------- /Chapter04/01 - PipelineIntro.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/01 - PipelineIntro.ps1 -------------------------------------------------------------------------------- /Chapter04/02 - Sorting.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/02 - Sorting.ps1 -------------------------------------------------------------------------------- /Chapter04/03 - Selecting.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/03 - Selecting.ps1 -------------------------------------------------------------------------------- /Chapter04/04 - Grouping.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/04 - Grouping.ps1 -------------------------------------------------------------------------------- /Chapter04/05 - Filtering.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/05 - Filtering.ps1 -------------------------------------------------------------------------------- /Chapter04/06 - Processing.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/06 - Processing.ps1 -------------------------------------------------------------------------------- /Chapter04/07 - EnablePipelineInput.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/07 - EnablePipelineInput.ps1 -------------------------------------------------------------------------------- /Chapter04/08 - Performance.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/08 - Performance.ps1 -------------------------------------------------------------------------------- /Chapter04/MassiveComputerList.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter04/MassiveComputerList.txt -------------------------------------------------------------------------------- /Chapter05/01 - Csv.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter05/01 - Csv.ps1 -------------------------------------------------------------------------------- /Chapter05/02 - Xml.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter05/02 - Xml.ps1 -------------------------------------------------------------------------------- /Chapter05/03 - JsonYaml.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter05/03 - JsonYaml.ps1 -------------------------------------------------------------------------------- /Chapter05/04 - RESTApis.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter05/04 - RESTApis.ps1 -------------------------------------------------------------------------------- /Chapter05/05 - Sql.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter05/05 - Sql.ps1 -------------------------------------------------------------------------------- /Chapter05/06 - PostgreSQL.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter05/06 - PostgreSQL.ps1 -------------------------------------------------------------------------------- /Chapter05/07 - Encryption.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter05/07 - Encryption.ps1 -------------------------------------------------------------------------------- /Chapter06/01 - WindowsFeature.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/01 - WindowsFeature.ps1 -------------------------------------------------------------------------------- /Chapter06/02 - LinuxPackageGroup.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/02 - LinuxPackageGroup.ps1 -------------------------------------------------------------------------------- /Chapter06/03 - WindowsAccount.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/03 - WindowsAccount.ps1 -------------------------------------------------------------------------------- /Chapter06/04 - LinuxAccount.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/04 - LinuxAccount.ps1 -------------------------------------------------------------------------------- /Chapter06/05 - Registry.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/05 - Registry.ps1 -------------------------------------------------------------------------------- /Chapter06/06 - LinuxConfigFiles.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/06 - LinuxConfigFiles.ps1 -------------------------------------------------------------------------------- /Chapter06/07 - WindowsServices.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/07 - WindowsServices.ps1 -------------------------------------------------------------------------------- /Chapter06/08 - LinuxDaemon.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/08 - LinuxDaemon.ps1 -------------------------------------------------------------------------------- /Chapter06/09 - ScheduledTasks.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/09 - ScheduledTasks.ps1 -------------------------------------------------------------------------------- /Chapter06/10 - CronJobs.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/10 - CronJobs.ps1 -------------------------------------------------------------------------------- /Chapter06/11 - StoragePool.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/11 - StoragePool.ps1 -------------------------------------------------------------------------------- /Chapter06/12 - SoftwareRaid.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/12 - SoftwareRaid.ps1 -------------------------------------------------------------------------------- /Chapter06/13 - WindowsEventLog.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/13 - WindowsEventLog.ps1 -------------------------------------------------------------------------------- /Chapter06/14 - LinuxLogging.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/14 - LinuxLogging.ps1 -------------------------------------------------------------------------------- /Chapter06/LinuxDaemon/polaris.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/LinuxDaemon/polaris.ps1 -------------------------------------------------------------------------------- /Chapter06/Project1/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/Project1/App.config -------------------------------------------------------------------------------- /Chapter06/Project1/DoesItAll.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/Project1/DoesItAll.cs -------------------------------------------------------------------------------- /Chapter06/Project1/Project1.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter06/Project1/Project1.csproj -------------------------------------------------------------------------------- /Chapter07/00 - File services management.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/00 - File services management.ps1 -------------------------------------------------------------------------------- /Chapter07/01 - Domain services management.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/01 - Domain services management.ps1 -------------------------------------------------------------------------------- /Chapter07/02 - IIS managementDeploy and configure.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/02 - IIS managementDeploy and configure.ps1 -------------------------------------------------------------------------------- /Chapter07/03 - IIS management Create a website.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/03 - IIS management Create a website.ps1 -------------------------------------------------------------------------------- /Chapter07/04 - Configure S2D.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/04 - Configure S2D.ps1 -------------------------------------------------------------------------------- /Chapter07/05 - Using Docker with Hyper-V containers.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/05 - Using Docker with Hyper-V containers.ps1 -------------------------------------------------------------------------------- /Chapter07/06 - Remote Desktop Services deployment.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/06 - Remote Desktop Services deployment.ps1 -------------------------------------------------------------------------------- /Chapter07/07 - Integrate DSC configuration into Windows Server image.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/07 - Integrate DSC configuration into Windows Server image.ps1 -------------------------------------------------------------------------------- /Chapter07/polaris/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/polaris/Dockerfile -------------------------------------------------------------------------------- /Chapter07/polaris/startpolaris.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter07/polaris/startpolaris.ps1 -------------------------------------------------------------------------------- /Chapter08/00 - Enabling PowerShell remoting on Windows.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/00 - Enabling PowerShell remoting on Windows.ps1 -------------------------------------------------------------------------------- /Chapter08/01 - Enabling PowerShell remoting on Linux.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/01 - Enabling PowerShell remoting on Linux.ps1 -------------------------------------------------------------------------------- /Chapter08/02 - Configuring PowerShell remoting.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/02 - Configuring PowerShell remoting.ps1 -------------------------------------------------------------------------------- /Chapter08/03 - Securely connecting to remote endpoints.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/03 - Securely connecting to remote endpoints.ps1 -------------------------------------------------------------------------------- /Chapter08/04 - Remotely retrieving data.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/04 - Remotely retrieving data.ps1 -------------------------------------------------------------------------------- /Chapter08/05 - Remote script debugging.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/05 - Remote script debugging.ps1 -------------------------------------------------------------------------------- /Chapter08/06 - Creating a Just Enough Administration role.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/06 - Creating a Just Enough Administration role.ps1 -------------------------------------------------------------------------------- /Chapter08/07 - Creating a Just Enough Administration session configuration.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/07 - Creating a Just Enough Administration session configuration.ps1 -------------------------------------------------------------------------------- /Chapter08/08 - Connecting to endpoints using different session configuration.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/08 - Connecting to endpoints using different session configuration.ps1 -------------------------------------------------------------------------------- /Chapter08/09 - Using the Common Information Model.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/09 - Using the Common Information Model.ps1 -------------------------------------------------------------------------------- /Chapter08/10 - PowerShell Direct and PowerShell Core.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter08/10 - PowerShell Direct and PowerShell Core.ps1 -------------------------------------------------------------------------------- /Chapter09/01 - Setting up Hyper-V.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/01 - Setting up Hyper-V.ps1 -------------------------------------------------------------------------------- /Chapter09/02 - Setting up Azure Stack.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/02 - Setting up Azure Stack.ps1 -------------------------------------------------------------------------------- /Chapter09/03 - Virtual networks in Hyper-V.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/03 - Virtual networks in Hyper-V.ps1 -------------------------------------------------------------------------------- /Chapter09/04 - Virtual networks in Azure Stack.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/04 - Virtual networks in Azure Stack.ps1 -------------------------------------------------------------------------------- /Chapter09/05 - Storage in Hyper-V.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/05 - Storage in Hyper-V.ps1 -------------------------------------------------------------------------------- /Chapter09/06 - Storage in Azure Stack.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/06 - Storage in Azure Stack.ps1 -------------------------------------------------------------------------------- /Chapter09/07 - Compute in Hyper-V.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/07 - Compute in Hyper-V.ps1 -------------------------------------------------------------------------------- /Chapter09/08 - Compute in Azure Stack.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/08 - Compute in Azure Stack.ps1 -------------------------------------------------------------------------------- /Chapter09/09 - Creating a Compute cluster with DSC.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/09 - Creating a Compute cluster with DSC.ps1 -------------------------------------------------------------------------------- /Chapter09/10 - Configuring guests with DSC in Hyper-V.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/10 - Configuring guests with DSC in Hyper-V.ps1 -------------------------------------------------------------------------------- /Chapter09/11 - Configuring guests with DSC on Azure Stack.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/11 - Configuring guests with DSC on Azure Stack.ps1 -------------------------------------------------------------------------------- /Chapter09/Template/parameters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/Template/parameters.json -------------------------------------------------------------------------------- /Chapter09/Template/template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter09/Template/template.json -------------------------------------------------------------------------------- /Chapter10/00 - Connecting to Azure.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/00 - Connecting to Azure.ps1 -------------------------------------------------------------------------------- /Chapter10/01 - Connecting to Google.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/01 - Connecting to Google.ps1 -------------------------------------------------------------------------------- /Chapter10/02 - Exploring Azure resource groups.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/02 - Exploring Azure resource groups.ps1 -------------------------------------------------------------------------------- /Chapter10/03 - Exploring Google Cloud projects.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/03 - Exploring Google Cloud projects.ps1 -------------------------------------------------------------------------------- /Chapter10/04 - Deploying resource group templates.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/04 - Deploying resource group templates.ps1 -------------------------------------------------------------------------------- /Chapter10/05 - Deploying Google Cloud templates.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/05 - Deploying Google Cloud templates.ps1 -------------------------------------------------------------------------------- /Chapter10/06 - Using the Azure container registry.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/06 - Using the Azure container registry.ps1 -------------------------------------------------------------------------------- /Chapter10/07 - Using the Google Cloud container registry.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/07 - Using the Google Cloud container registry.ps1 -------------------------------------------------------------------------------- /Chapter10/08 - Containers on Azure.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/08 - Containers on Azure.ps1 -------------------------------------------------------------------------------- /Chapter10/09 - Containers on Google Cloud.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/09 - Containers on Google Cloud.ps1 -------------------------------------------------------------------------------- /Chapter10/10 - SQL on Azure.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/10 - SQL on Azure.ps1 -------------------------------------------------------------------------------- /Chapter10/11 - SQL on Google Cloud.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter10/11 - SQL on Google Cloud.ps1 -------------------------------------------------------------------------------- /Chapter11/00 - Exploring REST services.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter11/00 - Exploring REST services.ps1 -------------------------------------------------------------------------------- /Chapter11/01 - Accessing Azure Devops via REST.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter11/01 - Accessing Azure Devops via REST.ps1 -------------------------------------------------------------------------------- /Chapter11/02 - Creating new Azure resource groups via REST.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter11/02 - Creating new Azure resource groups via REST.ps1 -------------------------------------------------------------------------------- /Chapter11/03 - Calling Azure runbooks via web hooks.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter11/03 - Calling Azure runbooks via web hooks.ps1 -------------------------------------------------------------------------------- /Chapter11/04 - Providing a RESTful web service through PowerShell.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter11/04 - Providing a RESTful web service through PowerShell.ps1 -------------------------------------------------------------------------------- /Chapter11/05 - Create new team project on Azure DevOps.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter11/05 - Create new team project on Azure DevOps.ps1 -------------------------------------------------------------------------------- /Chapter11/06 - Create a new build definition on Azure DevOps.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter11/06 - Create a new build definition on Azure DevOps.ps1 -------------------------------------------------------------------------------- /Chapter12/00 - Parallelization with background jobs.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/00 - Parallelization with background jobs.ps1 -------------------------------------------------------------------------------- /Chapter12/01 - Eventlog queries on steroids.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/01 - Eventlog queries on steroids.ps1 -------------------------------------------------------------------------------- /Chapter12/02 - Where-Object versus Where method.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/02 - Where-Object versus Where method.ps1 -------------------------------------------------------------------------------- /Chapter12/03 - Using ActiveDirectory cmdlets with performance in mind.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/03 - Using ActiveDirectory cmdlets with performance in mind.ps1 -------------------------------------------------------------------------------- /Chapter12/04 - Parallelization through RunspacePools.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/04 - Parallelization through RunspacePools.ps1 -------------------------------------------------------------------------------- /Chapter12/05 - Exchanging variables with Runspaces.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/05 - Exchanging variables with Runspaces.ps1 -------------------------------------------------------------------------------- /Chapter12/06 - Large-scale IO operations.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/06 - Large-scale IO operations.ps1 -------------------------------------------------------------------------------- /Chapter12/07 - Hashtables, Dictionaries and performance.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/Chapter12/07 - Hashtables, Dictionaries and performance.ps1 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Powershell-Core-6.2-Cookbook/HEAD/README.md --------------------------------------------------------------------------------