xWindowsUpdate.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
@{
    # Version number of this module.
    moduleVersion     = '3.0.0'

    # ID used to uniquely identify this module
    GUID              = 'a9cba250-ea73-4d82-b31b-7e58cc50ffd1'

    # Author of this module
    Author            = 'DSC Community'

    # Company or vendor of this module
    CompanyName       = 'DSC Community'

    # Copyright statement for this module
    Copyright         = 'Copyright the DSC Community contributors. All rights reserved.'

    # Description of the functionality provided by this module
    Description       = 'This module contains DSC resources for configuration of Microsoft Windows Update and installing Windows updates.'

    # Minimum version of the Windows PowerShell engine required by this module
    PowerShellVersion = '4.0'

    # Minimum version of the common language runtime (CLR) required by this module
    CLRVersion        = '4.0'

    # Functions to export from this module
    FunctionsToExport = @()

    # Cmdlets to export from this module
    CmdletsToExport   = @()

    # Variables to export from this module
    VariablesToExport = @()

    # Aliases to export from this module
    AliasesToExport   = @()

    DscResourcesToExport = @(
        'xHotFix'
        'xWindowsUpdateAgent'
    )

    # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
    PrivateData       = @{
        PSData = @{
            # Set to a prerelease string value if the release should be a prerelease.
            Prerelease   = 'preview0001'

            # Tags applied to this module. These help with module discovery in online galleries.
            Tags         = @('DesiredStateConfiguration', 'DSC', 'DSCResourceKit', 'DSCResource')

            # A URL to the license for this module.
            LicenseUri   = 'https://github.com/dsccommunity/xWindowsUpdate/blob/master/LICENSE'

            # A URL to the main website for this project.
            ProjectUri   = 'https://github.com/dsccommunity/xWindowsUpdate'

            # A URL to an icon representing this module.
            IconUri = 'https://dsccommunity.org/images/DSC_Logo_300p.png'

            # ReleaseNotes of this module
            ReleaseNotes = '## [3.0.0-preview0001] - 2020-03-21
 
### Added
 
- xWindowsUpdate
  - Added automatic release with a new CI pipeline.
- xWindowsUpdateAgent
  - Added Retry logic to known transient errors ([issue #24](https://github.com/dsccommunity/xWindowsUpdate/issues/24)).
 
### Changed
 
- xWindowsUpdate
  - Moved the `Set-StrictMode` so that it is used during testing only and
    not during runtime.
  - Removed the helper function `Trace-Message` and using the `Write-Verbose`
    directly instead.
  - The helper function `New-InvalidArgumentException` was replaced by
    its equivalent in the module DscResource.Common.
- xWindowsUpdateAgent
  - Removed the `$PSCmdlet.ShouldProcess` calls from code since DSC does not
    support interactive actions.
  - No longer defaults to output verbose messages.
 
### Removed
 
- xWindowsUpdate
  - BREAKING CHANGE: Removed the deprecated resource `xMicrosoftUpdate`

## [2.8.0.0] - 2019-04-03
 
- xWindowsUpdateAgent: Fixed verbose statement returning incorrect variable
- Tests no longer fail on `Assert-VerifiableMocks`, these are now renamed
  to `Assert-VerifiableMock` (breaking change in Pester v4).
- README.md has been updated with correct description of the resources
  ([issue #58](https://github.com/dsccommunity/xWindowsUpdate/issues/58)).
- Updated appveyor.yml to use the correct parameters to call the test framework.
- Update appveyor.yml to use the default template.
- Added default template files .gitattributes, and .gitignore, and
  .vscode folder.

## [2.7.0.0] - 2017-07-12
 
- xWindowsUpdateAgent: Fix Get-TargetResource returning incorrect key

## [2.6.0.0] - 2017-03-08
 
- Converted appveyor.yml to install Pester from PSGallery instead of from
  Chocolatey.
- Fixed PSScriptAnalyzer issues.
- Fixed common test breaks (markdown style, and example style).
- Added CodeCov.io reporting
- Deprecated xMicrosoftUpdate as it''s functionality is replaced by
  xWindowsUpdateAgent

## [2.5.0.0] - 2016-05-18
 
- Added xWindowsUpdateAgent

## [2.4.0.0] - 2016-03-30
 
- Fixed PSScriptAnalyzer error in examples

## [2.3.0.0] - 2016-02-02
 
- MSFT_xWindowsUpdate: Fixed an issue in the Get-TargetResource function,
  resulting in the Get-DscConfiguration cmdlet now working appropriately
  when the resource is applied.
- MSFT_xWindowsUpdate: Fixed an issue in the Set-TargetResource function
  that was causing the function to fail when the installation of a hotfix
  did not provide an exit code.

## [2.2.0.0] - 2015-09-11
 
- Minor fixes

## [2.1.0.0] - 2015-07-24
 
- Added xMicrosoftUpdate DSC resource which can be used to enable/disable
  Microsoft Update in the Windows Update Settings.
 
#

## [2.0.0.0] - 2015-04-23
 
- Initial release with the xHotfix resource

'

        } # End of PSData hashtable
    } # End of PrivateData hashtable
}