Skip to content

Commit 468bb02

Browse files
committed
Changes to CommonResourceHelper
Changed examples for parameter ResourceName. Also remove functions that was exported but not present.
1 parent 0a4559a commit 468bb02

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DSCResource.Tests

DSCResources/CommonResourceHelper.psm1

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
.PARAMETER ResourceName
77
The name of the resource as it appears before '.strings.psd1' of the localized string file.
88
For example:
9-
WindowsOptionalFeature: MSFT_WindowsOptionalFeature
10-
Service: MSFT_ServiceResource
11-
Registry: MSFT_RegistryResource
9+
xSQLServerEndpoint: MSFT_xSQLServerEndpoint
10+
xSQLServerConfiguration: MSFT_xSQLServerConfiguration
11+
xSQLServerRole: MSFT_xSQLServerRole
1212
#>
1313
function Get-LocalizedData
1414
{
@@ -39,8 +39,5 @@ function Get-LocalizedData
3939
}
4040

4141
Export-ModuleMember -Function @(
42-
'Test-IsNanoServer',
43-
'New-InvalidArgumentException',
44-
'New-InvalidOperationException',
4542
'Get-LocalizedData'
4643
)

0 commit comments

Comments
 (0)