Skip to content

Commit 5490ffa

Browse files
committed
Merge branch 'release/1.4.0'
2 parents 5a8737a + 17d88a7 commit 5490ffa

15 files changed

+205
-27
lines changed

.github/workflows/build-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ on:
66

77
jobs:
88
build-validation:
9-
uses: abbgrade/PsBuildTasks/.github/workflows/build-validation-matrix.yml@1.11.0
9+
uses: abbgrade/PsBuildTasks/.github/workflows/build-validation-matrix.yml@1.11.1

.github/workflows/pre-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
on:
22
push:
3-
branches: [ release/* ]
3+
branches: [ release/*, 'hotfix/*' ]
44
workflow_dispatch:
55

66
jobs:
77
pre-release:
8-
uses: abbgrade/PsBuildTasks/.github/workflows/pre-release-windows.yml@1.11.0
8+
uses: abbgrade/PsBuildTasks/.github/workflows/pre-release-windows.yml@1.11.1
99
with:
1010
module-name: PsSmo
1111
secrets:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
release:
8-
uses: abbgrade/PsBuildTasks/.github/workflows/release-windows.yml@1.11.0
8+
uses: abbgrade/PsBuildTasks/.github/workflows/release-windows.yml@1.11.1
99
with:
1010
module-name: PsSmo
1111
secrets:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ obj
44
coverage.xml
55
testResults.xml
66
*/*/.vs
7+
.vs

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.4.0] - 2025-12-11
11+
12+
### Changed
13+
14+
- Updated System.Management.Automation and PowerShellVersion to 7.4.
15+
- Updated TargetFramework to net8.0.
16+
- Updated Microsoft.SqlServer.SqlManagementObjects to 180.10.0.
17+
- Updated Microsoft.Data.SqlClient to 5.2.3.
18+
- Updated Azure.Identity to 1.13.0.
19+
20+
### Added
21+
22+
- Added command `Get-Schema`
23+
1024
## [1.3.0] - 2023-11-27
1125

1226
### Changed
1327

1428
- Updated Microsoft.SqlServer.SqlManagementObjects to 170.18.0.
1529
- Updated System.Management.Automation to 7.2.16 and PowerShell 7.2.16.
16-
- Updated Microsoft.Data.SqlClient to 5.1.1.
30+
- Updated Microsoft.Data.SqlClient to 5.1.3.
1731

1832
## [1.2.1] - 2023-09-05
1933

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PsSmo
22

3-
The PowerShell SQL Client module replaces the SQL Server utilities [SQLCMD](https://docs.microsoft.com/de-de/sql/tools/sqlcmd-utility) with native PowerShell commands.
3+
The PowerShell SQL Client module replaces the SQL Server utilities [SQLCMD](https://docs.microsoft.com/de-de/sql/tools/sqlcmd-utility) with native PowerShell commands. It is part of [PsSqlUtils](https://github.com/abbgrade/PsSqlUtils).
44

55
## Installation
66

docs/Connect-SmoInstance.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,26 @@ schema: 2.0.0
1515
### Properties_IntegratedSecurity (Default)
1616
```
1717
Connect-SmoInstance [-DataSource] <String> [[-InitialCatalog] <String>] [-AccessToken <String>]
18-
[-StatementTimeout <Int32>] [<CommonParameters>]
18+
[-StatementTimeout <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
1919
```
2020

2121
### SqlClient
2222
```
23-
Connect-SmoInstance -Connection <SqlConnection> [-StatementTimeout <Int32>] [<CommonParameters>]
23+
Connect-SmoInstance -Connection <SqlConnection> [-StatementTimeout <Int32>]
24+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
2425
```
2526

2627
### ConnectionString
2728
```
28-
Connect-SmoInstance [-ConnectionString] <String> [-StatementTimeout <Int32>] [<CommonParameters>]
29+
Connect-SmoInstance [-ConnectionString] <String> [-StatementTimeout <Int32>]
30+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
2931
```
3032

3133
### Properties_Credential
3234
```
3335
Connect-SmoInstance [-DataSource] <String> [[-InitialCatalog] <String>] [-UserId] <String>
34-
[-Password] <SecureString> [-StatementTimeout <Int32>] [<CommonParameters>]
36+
[-Password] <SecureString> [-StatementTimeout <Int32>] [-ProgressAction <ActionPreference>]
37+
[<CommonParameters>]
3538
```
3639

3740
## DESCRIPTION
@@ -138,6 +141,21 @@ Accept pipeline input: True (ByPropertyName, ByValue)
138141
Accept wildcard characters: False
139142
```
140143
144+
### -StatementTimeout
145+
This is the number of seconds that a statement is attempted to be sent to the server before it fails.
146+
147+
```yaml
148+
Type: Int32
149+
Parameter Sets: (All)
150+
Aliases:
151+
152+
Required: False
153+
Position: Named
154+
Default value: None
155+
Accept pipeline input: False
156+
Accept wildcard characters: False
157+
```
158+
141159
### -UserId
142160
{{ Fill UserId Description }}
143161
@@ -153,13 +171,13 @@ Accept pipeline input: True (ByPropertyName, ByValue)
153171
Accept wildcard characters: False
154172
```
155173
156-
### -StatementTimeout
157-
This is the number of seconds that a statement is attempted to be sent to the server before it fails.
174+
### -ProgressAction
175+
{{ Fill ProgressAction Description }}
158176
159177
```yaml
160-
Type: Int32
178+
Type: ActionPreference
161179
Parameter Sets: (All)
162-
Aliases:
180+
Aliases: proga
163181

164182
Required: False
165183
Position: Named

docs/Disconnect-SmoInstance.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ schema: 2.0.0
1313
## SYNTAX
1414

1515
```
16-
Disconnect-SmoInstance [[-Instance] <Server>] [<CommonParameters>]
16+
Disconnect-SmoInstance [[-Instance] <Server>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -45,6 +45,21 @@ Accept pipeline input: True (ByValue)
4545
Accept wildcard characters: False
4646
```
4747
48+
### -ProgressAction
49+
{{ Fill ProgressAction Description }}
50+
51+
```yaml
52+
Type: ActionPreference
53+
Parameter Sets: (All)
54+
Aliases: proga
55+
56+
Required: False
57+
Position: Named
58+
Default value: None
59+
Accept pipeline input: False
60+
Accept wildcard characters: False
61+
```
62+
4863
### CommonParameters
4964
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).
5065

docs/Get-SmoTable.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ schema: 2.0.0
1313
## SYNTAX
1414

1515
```
16-
Get-SmoTable [-Name <String>] [-Instance <Server>] [<CommonParameters>]
16+
Get-SmoTable [-Name <String>] [-Instance <Server>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -60,6 +60,21 @@ Accept pipeline input: False
6060
Accept wildcard characters: False
6161
```
6262
63+
### -ProgressAction
64+
{{ Fill ProgressAction Description }}
65+
66+
```yaml
67+
Type: ActionPreference
68+
Parameter Sets: (All)
69+
Aliases: proga
70+
71+
Required: False
72+
Position: Named
73+
Default value: None
74+
Accept pipeline input: False
75+
Accept wildcard characters: False
76+
```
77+
6378
### CommonParameters
6479
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).
6580

docs/Invoke-SmoCommand.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ schema: 2.0.0
1414

1515
### Text
1616
```
17-
Invoke-SmoCommand -Text <String> [-Variables <Hashtable>] [-Instance <Server>] [<CommonParameters>]
17+
Invoke-SmoCommand -Text <String> [-Variables <Hashtable>] [-Instance <Server>]
18+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
1819
```
1920

2021
### File
2122
```
22-
Invoke-SmoCommand -InputFile <FileInfo> [-Variables <Hashtable>] [-Instance <Server>] [<CommonParameters>]
23+
Invoke-SmoCommand -InputFile <FileInfo> [-Variables <Hashtable>] [-Instance <Server>]
24+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
2325
```
2426

2527
## DESCRIPTION
@@ -96,6 +98,21 @@ Accept pipeline input: False
9698
Accept wildcard characters: False
9799
```
98100
101+
### -ProgressAction
102+
{{ Fill ProgressAction Description }}
103+
104+
```yaml
105+
Type: ActionPreference
106+
Parameter Sets: (All)
107+
Aliases: proga
108+
109+
Required: False
110+
Position: Named
111+
Default value: None
112+
Accept pipeline input: False
113+
Accept wildcard characters: False
114+
```
115+
99116
### CommonParameters
100117
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).
101118

0 commit comments

Comments
 (0)