Skip to content

v8.4.0

Compare
Choose a tag to compare
@PlagueHO PlagueHO released this 25 Dec 00:06
01383b3
  • Changes to xPSDesiredStateConfiguration
    • Opt-in for the common tests validate module files and script files.
    • All files change to encoding UTF-8 (without byte order mark).
    • Opt-in for the common test for example validation.
    • Added Visual Studio Code workspace settings that helps with formatting
      against the style guideline.
    • Update all examples for them to be able pass the common test validation.
  • xEnvironment path documentation update demonstrating usage with multiple
    values
    (issue #415.
    Alex Kokkinos (@alexkokkinos)
  • Changes to xWindowsProcess
    • Increased the wait time in the integration tests since the tests
      still failed randomly
      (issue #420).
  • Renamed and updated examples to be able to publish them to PowerShell
    Gallery.
    • Sample_xScript.ps1 → xScript_WatchFileContentConfig.ps1
    • Sample_xService_UpdateStartupTypeIgnoreState.ps1 →
      xService_UpdateStartupTypeIgnoreStateConfig.ps1
    • Sample_xWindowsProcess_Start.ps1 →
      xWindowsProcess_StartProcessConfig.ps1
    • Sample_xWindowsProcess_StartUnderUser.ps1 →
      xWindowsProcess_StartProcessUnderUserConfig.ps1
    • Sample_xWindowsProcess_Stop.ps1 → xWindowsProcess_StopProcessConfig.ps1
    • Sample_xWindowsProcess_StopUnderUser.ps1 →
      xWindowsProcess_StopProcessUnderUserConfig.ps1
    • Sample_xUser_CreateUser.ps1.ps1 → xUser_CreateUserConfig.ps1
    • Sample_xUser_Generic.ps1.ps1 → xUser_CreateUserDetailedConfig.ps1
    • Sample_xWindowsFeature.ps1 → xWindowsFeature_AddFeatureConfig.ps1
    • Sample_xWindowsFeatureSet_Install.ps1 →
      xWindowsFeatureSet_AddFeaturesConfig.ps1
    • Sample_xWindowsFeatureSet_Uninstall.ps1 →
      xWindowsFeatureSet_RemoveFeaturesConfig.ps1
    • Sample_xRegistryResource_AddKey.ps1 → xRegistryResource_AddKeyConfig.ps1
    • Sample_xRegistryResource_RemoveKey.ps1 →
      xRegistryResource_RemoveKeyConfig.ps1
    • Sample_xRegistryResource_AddOrModifyValue.ps1 →
      xRegistryResource_AddOrModifyValueConfig.ps1
    • Sample_xRegistryResource_RemoveValue.ps1 →
      xRegistryResource_RemoveValueConfig.ps1
    • Sample_xService_CreateService.ps1 → xService_CreateServiceConfig.ps1
    • Sample_xService_DeleteService.ps1 → xService_RemoveServiceConfig.ps1
    • Sample_xServiceSet_StartServices.ps1 →
      xServiceSet_StartServicesConfig.ps1
    • Sample_xServiceSet_BuiltInAccount →
      xServiceSet_EnsureBuiltInAccountConfig.ps1
    • Sample_xWindowsPackageCab → xWindowsPackageCab_InstallPackageConfig
    • Sample_xWindowsOptionalFeature.ps1 →
      xWindowsOptionalFeature_EnableConfig.ps1
    • Sample_xWindowsOptionalFeatureSet_Enable.ps1 →
      xWindowsOptionalFeatureSet_EnableConfig.ps1
    • Sample_xWindowsOptionalFeatureSet_Disable.ps1 →
      xWindowsOptionalFeatureSet_DisableConfig.ps1
    • Sample_xRemoteFileUsingProxy.ps1 →
      xRemoteFile_DownloadFileUsingProxyConfig.ps1
    • Sample_xRemoteFile.ps1 → xRemoteFile_DownloadFileConfig.ps1
    • Sample_xProcessSet_Start.ps1 → xProcessSet_StartProcessConfig.ps1
    • Sample_xProcessSet_Stop.ps1 → xProcessSet_StopProcessConfig.ps1
    • Sample_xMsiPackage_UninstallPackageFromHttps.ps1 →
      xMsiPackage_UninstallPackageFromHttpsConfig.ps1
    • Sample_xMsiPackage_UninstallPackageFromFile.ps1 →
      xMsiPackage_UninstallPackageFromFileConfig.ps1
    • Sample_xMsiPackage_InstallPackageFromFile →
      xMsiPackage_InstallPackageConfig.ps1
    • Sample_xGroup_SetMembers.ps1 → xGroup_SetMembersConfig.ps1
    • Sample_xGroup_RemoveMembers.ps1 → xGroup_RemoveMembersConfig.ps1
    • Sample_xGroupSet_AddMembers.ps1 → xGroupSet_AddMembersConfig.ps1
    • Sample_xFileUpload.ps1 → xFileUpload_UploadToSMBShareConfig.ps1
    • Sample_xEnvironment_CreateMultiplePathVariables.ps1 →
      xEnvironment_AddMultiplePathsConfig.ps1
    • Sample_xEnvironment_RemovePathVariables.ps1 →
      xEnvironment_RemoveMultiplePathsConfig.ps1
    • Sample_xEnvironment_CreateNonPathVariable.ps1 →
      xEnvironment_CreateNonPathVariableConfig.ps1
    • Sample_xEnvironment_Remove.ps1 → xEnvironment_RemoveVariableConfig.ps1
    • Sample_xArchive_ExpandArchiveChecksumAndForce.ps1 →
      xArchive_ExpandArchiveChecksumAndForceConfig.ps1
    • Sample_xArchive_ExpandArchiveDefaultValidationAndForce.ps1 →
      xArchive_ExpandArchiveDefaultValidationAndForceConfig.ps1
    • Sample_xArchive_ExpandArchiveNoValidation.ps1 →
      xArchive_ExpandArchiveNoValidationConfig.ps1
    • Sample_xArchive_ExpandArchiveNoValidationCredential.ps1 →
      xArchive_ExpandArchiveNoValidationCredentialConfig.ps1
    • Sample_xArchive_RemoveArchiveChecksum.ps1 →
      xArchive_RemoveArchiveChecksumConfig.ps1
    • Sample_xArchive_RemoveArchiveNoValidation.ps1 →
      xArchive_RemoveArchiveNoValidationConfig.ps1
    • Sample_InstallExeCreds_xPackage.ps1 →
      xPackage_InstallExeUsingCredentialsConfig.ps1
    • Sample_InstallExeCredsRegistry_xPackage.ps1 →
      xPackage_InstallExeUsingCredentialsAndRegistryConfig.ps1
    • Sample_InstallMSI_xPackage.ps1 → xPackage_InstallMsiConfig.ps1
    • Sample_InstallMSIProductId_xPackage.ps1 →
      xPackage_InstallMsiUsingProductIdConfig.ps1
  • New examples
    • xUser_RemoveUserConfig.ps1
    • xWindowsFeature_AddFeatureUsingCredentialConfig.ps1
    • xWindowsFeature_AddFeatureWithLogPathConfig.ps1
    • xWindowsFeature_RemoveFeatureConfig.ps1
    • xService_ChangeServiceStateConfig.ps1
    • xWindowsOptionalFeature_DisableConfig.ps1
    • xPSEndpoint_NewConfig.ps1
    • xPSEndpoint_NewWithDefaultsConfig.ps1
    • xPSEndpoint_RemoveConfig.ps1
    • xPSEndpoint_NewCustomConfig.ps1
  • Removed examples
    • Sample_xPSSessionConfiguration.ps1 - This file was split up in several
      examples, those starting with 'xPSEndpoint*'.
    • Sample_xMsiPackage_InstallPackageFromHttp - This was added to the example
      xMsiPackage_InstallPackageConfig.ps1 so the example sows either URI
      scheme.
    • Sample_xEnvironment_CreatePathVariable.ps1 - Same as the new example
      xEnvironment_AddMultiplePaths.ps1