Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 6509b59

Browse files
authored
bump version to 0.2.x (#32)
!Deploy * added dependancy on latest powershellget * Minor added class diagram (#25) * Added Class diagram, and linked in Readme. * added private tests (#26) * Codecoverage (#27) * added preproc test * made ObjectToMigrate mandatory for Copy-ESE2SQL * Sqlqueryupdates (#29) * added select top and operationtype filter to GetStatusReport function * updated docs * updated confirmimpact for set functions to high (#30) * bump version to 0.2.x (#31)
1 parent 95fd125 commit 6509b59

37 files changed

+289
-69
lines changed

.build/Release/MergeModule.Release.build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
[string] $ModuleVersion = (property ModuleVersion $(
99
if($resolvedModuleVersion = Get-NextNugetPackageVersion -Name $ProjectName -ErrorAction SilentlyContinue) {
10-
if ($resolvedModuleVersion -gt [version]'0.1.0') {
10+
if ($resolvedModuleVersion -gt [version]'0.2.0') {
1111
$resolvedModuleVersion
1212
} else {
13-
'0.1.0'
13+
'0.2.0'
1414
}
1515
} else {
16-
'0.1.0'
16+
'0.2.0'
1717
}
1818
)),
1919

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ comment:
77
behavior: default
88

99
coverage:
10-
range: 50..80
10+
range: 50..70
1111
round: down
1212
precision: 0
1313

DSCPullServerAdmin/DSCPullServerAdmin.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ PrivateData = @{
126126
# IconUri = ''
127127

128128
# ReleaseNotes of this module
129-
ReleaseNotes = 'Throw error when edb filepath specified is invalid.'
129+
ReleaseNotes = 'SQL Query updates for Get-DSCPullServerAdminStatusReport. Increased ConfirmImpact to High for Set functions'
130130

131131
} # End of PSData hashtable
132132

DSCPullServerAdmin/docs/Copy-DSCPullServerAdminDataESEToSQL.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Copy data from EDB to SQL.
1414

1515
```
1616
Copy-DSCPullServerAdminDataESEToSQL [-ESEConnection] <DSCPullServerESEConnection>
17-
[-SQLConnection] <DSCPullServerSQLConnection> [[-ObjectsToMigrate] <String[]>] [-Force] [-WhatIf] [-Confirm]
17+
[-SQLConnection] <DSCPullServerSQLConnection> [-ObjectsToMigrate] <String[]> [-Force] [-WhatIf] [-Confirm]
1818
[<CommonParameters>]
1919
```
2020

@@ -77,7 +77,7 @@ Type: String[]
7777
Parameter Sets: (All)
7878
Aliases:
7979

80-
Required: False
80+
Required: True
8181
Position: 3
8282
Default value: @('Devices', 'RegistrationData')
8383
Accept pipeline input: False
@@ -134,8 +134,7 @@ Accept wildcard characters: False
134134
```
135135
136136
### CommonParameters
137-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
138-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
137+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
139138
140139
## INPUTS
141140

DSCPullServerAdmin/docs/Get-DSCPullServerAdminConnection.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ Accept wildcard characters: False
8787
```
8888
8989
### CommonParameters
90-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
91-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
90+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
9291
9392
## INPUTS
9493

DSCPullServerAdmin/docs/Get-DSCPullServerAdminDevice.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ Accept wildcard characters: False
159159
```
160160
161161
### CommonParameters
162-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
163-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
162+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
164163
165164
## INPUTS
166165

DSCPullServerAdmin/docs/Get-DSCPullServerAdminRegistration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ Accept wildcard characters: False
154154
```
155155
156156
### CommonParameters
157-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
158-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
157+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
159158
160159
## INPUTS
161160

DSCPullServerAdmin/docs/Get-DSCPullServerAdminStatusReport.md

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,22 @@ Get status report entries (LCMv2) from a Pull Server Database.
1515
### Connection (Default)
1616
```
1717
Get-DSCPullServerAdminStatusReport [-AgentId <Guid>] [-NodeName <String>] [-JobId <Guid>]
18-
[-FromStartTime <DateTime>] [-ToStartTime <DateTime>] [-Connection <DSCPullServerConnection>]
19-
[<CommonParameters>]
18+
[-FromStartTime <DateTime>] [-ToStartTime <DateTime>] [-All] [-Top <UInt16>] [-OperationType <String>]
19+
[-Connection <DSCPullServerConnection>] [<CommonParameters>]
2020
```
2121

2222
### ESE
2323
```
2424
Get-DSCPullServerAdminStatusReport [-AgentId <Guid>] [-NodeName <String>] [-JobId <Guid>]
25-
[-FromStartTime <DateTime>] [-ToStartTime <DateTime>] -ESEFilePath <String> [<CommonParameters>]
25+
[-FromStartTime <DateTime>] [-ToStartTime <DateTime>] [-All] [-Top <UInt16>] [-OperationType <String>]
26+
-ESEFilePath <String> [<CommonParameters>]
2627
```
2728

2829
### SQL
2930
```
3031
Get-DSCPullServerAdminStatusReport [-AgentId <Guid>] [-NodeName <String>] [-JobId <Guid>]
31-
[-FromStartTime <DateTime>] [-ToStartTime <DateTime>] -SQLServer <String> [-Credential <PSCredential>]
32-
[-Database <String>] [<CommonParameters>]
32+
[-FromStartTime <DateTime>] [-ToStartTime <DateTime>] [-All] [-Top <UInt16>] [-OperationType <String>]
33+
-SQLServer <String> [-Credential <PSCredential>] [-Database <String>] [<CommonParameters>]
3334
```
3435

3536
## DESCRIPTION
@@ -122,6 +123,49 @@ Accept pipeline input: False
122123
Accept wildcard characters: False
123124
```
124125
126+
### -All
127+
Return all reports that correspond to specified filters (overwrites Top parameter).
128+
SQL Only.```yaml
129+
Type: SwitchParameter
130+
Parameter Sets: (All)
131+
Aliases:
132+
133+
Required: False
134+
Position: Named
135+
Default value: False
136+
Accept pipeline input: False
137+
Accept wildcard characters: False
138+
```
139+
140+
### -Top
141+
Return number of reports that correspond to specified filters.
142+
SQL Only.```yaml
143+
Type: UInt16
144+
Parameter Sets: (All)
145+
Aliases:
146+
147+
Required: False
148+
Position: Named
149+
Default value: 5
150+
Accept pipeline input: False
151+
Accept wildcard characters: False
152+
```
153+
154+
### -OperationType
155+
{{Fill OperationType Description}}
156+
157+
```yaml
158+
Type: String
159+
Parameter Sets: (All)
160+
Aliases:
161+
162+
Required: False
163+
Position: Named
164+
Default value: All
165+
Accept pipeline input: False
166+
Accept wildcard characters: False
167+
```
168+
125169
### -Connection
126170
Accepts a specific Connection to be passed to target a specific database.
127171
When not specified, the currently Active Connection from memory will be used
@@ -201,8 +245,7 @@ Accept wildcard characters: False
201245
```
202246
203247
### CommonParameters
204-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
205-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
248+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
206249
207250
## INPUTS
208251

DSCPullServerAdmin/docs/New-DSCPullServerAdminConnection.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ Accept wildcard characters: False
128128
```
129129
130130
### CommonParameters
131-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
132-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
131+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
133132
134133
## INPUTS
135134

DSCPullServerAdmin/docs/New-DSCPullServerAdminDevice.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ Accept wildcard characters: False
273273
```
274274
275275
### CommonParameters
276-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
277-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
276+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
278277
279278
## INPUTS
280279

0 commit comments

Comments
 (0)