Skip to content

Commit a2d4a1a

Browse files
committed
Merge branch 'release/2.3.0'
2 parents 49702be + 8c882a7 commit a2d4a1a

14 files changed

+162
-28
lines changed

.vscode/tasks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,21 @@
122122
},
123123
"dependsOn": "Build"
124124
},
125+
{
126+
"label": "Test exclude AzureSql",
127+
"group": "test",
128+
"type": "shell",
129+
"command": "Invoke-Pester -Configuration @{ Filter = @{ ExcludeTag = 'AzureSql' }}",
130+
"options": {
131+
"cwd": "test"
132+
},
133+
"problemMatcher": "$msCompile",
134+
"presentation": {
135+
"echo": false,
136+
"showReuseMessage": false
137+
},
138+
"dependsOn": "Build"
139+
},
125140
{
126141
"label": "Test exclude Docker, AzureSql",
127142
"group": "test",

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [2.3.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.Data.SqlClient to 5.2.3.
17+
- Updated Azure.Identity to 1.13.0.
18+
1019
## [2.2.0] - 2023-11-27
1120

1221
### Changed

Readme.md

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

3-
The PowerShell SQL Client module replaces the SQL Server utilities [SQLCMD](https://docs.microsoft.com/de-de/sql/tools/sqlcmd-utility) and [BCP](https://docs.microsoft.com/en-us/sql/tools/BCP-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) and [BCP](https://docs.microsoft.com/en-us/sql/tools/BCP-utility) with native PowerShell commands. It is part of [PsSqlUtils](https://github.com/abbgrade/PsSqlUtils).
44

55
For details, visit the [GitHub Pages](https://abbgrade.github.io/PsSqlClient/).
66

docs/Connect-TSqlInstance.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,57 +17,57 @@ schema: 2.0.0
1717
Connect-TSqlInstance [-DataSource] <String> [-Port <Int32>] [[-InitialCatalog] <String>]
1818
[-TrustServerCertificate] [-ConnectTimeout <Int32>] [-ConnectRetryCount <Int32>]
1919
[-ConnectRetryInterval <Int32>] [-Authentication <SqlAuthenticationMethod>] [-IntegratedSecurity]
20-
[<CommonParameters>]
20+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
2121
```
2222

2323
### ConnectionString
2424
```
2525
Connect-TSqlInstance [-ConnectionString] <String> [-Authentication <SqlAuthenticationMethod>]
26-
[-IntegratedSecurity] [<CommonParameters>]
26+
[-IntegratedSecurity] [-ProgressAction <ActionPreference>] [<CommonParameters>]
2727
```
2828

2929
### ConnectionString_withToken
3030
```
3131
Connect-TSqlInstance [-ConnectionString] <String> [-Authentication <SqlAuthenticationMethod>]
32-
[-IntegratedSecurity] -AccessToken <String> [<CommonParameters>]
32+
[-IntegratedSecurity] -AccessToken <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
3333
```
3434

3535
### ConnectionString_acquireToken
3636
```
3737
Connect-TSqlInstance [-ConnectionString] <String> [-Authentication <SqlAuthenticationMethod>]
38-
[-IntegratedSecurity] [-AcquireToken] [<CommonParameters>]
38+
[-IntegratedSecurity] [-AcquireToken] [-ProgressAction <ActionPreference>] [<CommonParameters>]
3939
```
4040

4141
### Properties_Basic_withToken
4242
```
4343
Connect-TSqlInstance [-DataSource] <String> [-Port <Int32>] [-InitialCatalog] <String>
4444
[-TrustServerCertificate] [-ConnectTimeout <Int32>] [-ConnectRetryCount <Int32>]
4545
[-ConnectRetryInterval <Int32>] [-Authentication <SqlAuthenticationMethod>] [-IntegratedSecurity]
46-
-AccessToken <String> [<CommonParameters>]
46+
-AccessToken <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
4747
```
4848

4949
### Properties_Basic_acquireToken
5050
```
5151
Connect-TSqlInstance [-DataSource] <String> [-Port <Int32>] [-InitialCatalog] <String>
5252
[-ConnectTimeout <Int32>] [-ConnectRetryCount <Int32>] [-ConnectRetryInterval <Int32>]
5353
[-Authentication <SqlAuthenticationMethod>] [-IntegratedSecurity] [-AcquireToken] [-Resource <String>]
54-
[<CommonParameters>]
54+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
5555
```
5656

5757
### Properties_Credential
5858
```
5959
Connect-TSqlInstance [-DataSource] <String> [-Port <Int32>] [[-InitialCatalog] <String>]
6060
[-TrustServerCertificate] [-ConnectTimeout <Int32>] [-ConnectRetryCount <Int32>]
6161
[-ConnectRetryInterval <Int32>] [-Authentication <SqlAuthenticationMethod>] [-IntegratedSecurity]
62-
[-UserId] <String> [-Password] <SecureString> [<CommonParameters>]
62+
[-UserId] <String> [-Password] <SecureString> [-ProgressAction <ActionPreference>] [<CommonParameters>]
6363
```
6464

6565
### Properties_CredentialObject
6666
```
6767
Connect-TSqlInstance [-DataSource] <String> [-Port <Int32>] [[-InitialCatalog] <String>]
6868
[-TrustServerCertificate] [-ConnectTimeout <Int32>] [-ConnectRetryCount <Int32>]
6969
[-ConnectRetryInterval <Int32>] [-Authentication <SqlAuthenticationMethod>] [-IntegratedSecurity]
70-
[-Credential <PSCredential>] [<CommonParameters>]
70+
[-Credential <PSCredential>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
7171
```
7272

7373
## DESCRIPTION
@@ -349,6 +349,21 @@ Accept pipeline input: True (ByPropertyName, ByValue)
349349
Accept wildcard characters: False
350350
```
351351
352+
### -ProgressAction
353+
{{ Fill ProgressAction Description }}
354+
355+
```yaml
356+
Type: ActionPreference
357+
Parameter Sets: (All)
358+
Aliases: proga
359+
360+
Required: False
361+
Position: Named
362+
Default value: None
363+
Accept pipeline input: False
364+
Accept wildcard characters: False
365+
```
366+
352367
### CommonParameters
353368
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).
354369

docs/Disconnect-TSqlInstance.md

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

1515
```
16-
Disconnect-TSqlInstance [[-Connection] <SqlConnection>] [<CommonParameters>]
16+
Disconnect-TSqlInstance [[-Connection] <SqlConnection>] [-ProgressAction <ActionPreference>]
17+
[<CommonParameters>]
1718
```
1819

1920
## DESCRIPTION
@@ -45,6 +46,21 @@ Accept pipeline input: True (ByValue)
4546
Accept wildcard characters: False
4647
```
4748
49+
### -ProgressAction
50+
{{ Fill ProgressAction Description }}
51+
52+
```yaml
53+
Type: ActionPreference
54+
Parameter Sets: (All)
55+
Aliases: proga
56+
57+
Required: False
58+
Position: Named
59+
Default value: None
60+
Accept pipeline input: False
61+
Accept wildcard characters: False
62+
```
63+
4864
### CommonParameters
4965
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).
5066

docs/Export-TSqlTable.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ schema: 2.0.0
1515
```
1616
Export-TSqlTable [-InputObject] <PSObject> [-Table] <String> [-BatchSize <Int32>] [-Timeout <Int32>]
1717
[-CheckConstraints] [-FireTriggers] [-KeepIdentity] [-KeepNulls] [-TableLock] [-UseInternalTransaction]
18-
[-ColumnMapping <Hashtable>] [-Connection <SqlConnection>] [<CommonParameters>]
18+
[-ColumnMapping <Hashtable>] [-Connection <SqlConnection>] [-ProgressAction <ActionPreference>]
19+
[<CommonParameters>]
1920
```
2021

2122
## DESCRIPTION
@@ -212,6 +213,21 @@ Accept pipeline input: True (ByPropertyName)
212213
Accept wildcard characters: False
213214
```
214215
216+
### -ProgressAction
217+
{{ Fill ProgressAction Description }}
218+
219+
```yaml
220+
Type: ActionPreference
221+
Parameter Sets: (All)
222+
Aliases: proga
223+
224+
Required: False
225+
Position: Named
226+
Default value: None
227+
Accept pipeline input: False
228+
Accept wildcard characters: False
229+
```
230+
215231
### CommonParameters
216232
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).
217233

docs/Get-TSqlValue.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ schema: 2.0.0
1515
### Text (Default)
1616
```
1717
Get-TSqlValue [-Text] <String> [[-Parameter] <Hashtable>] [-Timeout <Int32>] [-Connection <SqlConnection>]
18-
[<CommonParameters>]
18+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
1919
```
2020

2121
### TextFile
2222
```
2323
Get-TSqlValue [-InputFile] <FileInfo> [[-Parameter] <Hashtable>] [-Timeout <Int32>]
24-
[-Connection <SqlConnection>] [<CommonParameters>]
24+
[-Connection <SqlConnection>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
2525
```
2626

2727
### StoredProcedure
2828
```
2929
Get-TSqlValue [-Procedure] <String> [-Schema <String>] [-Database <String>] [[-Parameter] <Hashtable>]
30-
[-Timeout <Int32>] [-Connection <SqlConnection>] [<CommonParameters>]
30+
[-Timeout <Int32>] [-Connection <SqlConnection>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
3131
```
3232

3333
## DESCRIPTION
@@ -164,6 +164,21 @@ Accept pipeline input: True (ByPropertyName)
164164
Accept wildcard characters: False
165165
```
166166
167+
### -ProgressAction
168+
{{ Fill ProgressAction Description }}
169+
170+
```yaml
171+
Type: ActionPreference
172+
Parameter Sets: (All)
173+
Aliases: proga
174+
175+
Required: False
176+
Position: Named
177+
Default value: None
178+
Accept pipeline input: False
179+
Accept wildcard characters: False
180+
```
181+
167182
### CommonParameters
168183
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).
169184

docs/Invoke-TSqlCommand.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ schema: 2.0.0
1515
### Text (Default)
1616
```
1717
Invoke-TSqlCommand [-Text] <String> [[-Parameter] <Hashtable>] [-Timeout <Int32>] [-Connection <SqlConnection>]
18-
[<CommonParameters>]
18+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
1919
```
2020

2121
### TextFile
2222
```
2323
Invoke-TSqlCommand [-InputFile] <FileInfo> [[-Parameter] <Hashtable>] [-Timeout <Int32>]
24-
[-Connection <SqlConnection>] [<CommonParameters>]
24+
[-Connection <SqlConnection>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
2525
```
2626

2727
### StoredProcedure
2828
```
2929
Invoke-TSqlCommand [-Procedure] <String> [-Schema <String>] [-Database <String>] [[-Parameter] <Hashtable>]
30-
[-Timeout <Int32>] [-Connection <SqlConnection>] [<CommonParameters>]
30+
[-Timeout <Int32>] [-Connection <SqlConnection>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
3131
```
3232

3333
## DESCRIPTION
@@ -164,6 +164,21 @@ Accept pipeline input: True (ByPropertyName)
164164
Accept wildcard characters: False
165165
```
166166
167+
### -ProgressAction
168+
{{ Fill ProgressAction Description }}
169+
170+
```yaml
171+
Type: ActionPreference
172+
Parameter Sets: (All)
173+
Aliases: proga
174+
175+
Required: False
176+
Position: Named
177+
Default value: None
178+
Accept pipeline input: False
179+
Accept wildcard characters: False
180+
```
181+
167182
### CommonParameters
168183
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).
169184

docs/Invoke-TSqlProcedure.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ schema: 2.0.0
1515
### StoredProcedure (Default)
1616
```
1717
Invoke-TSqlProcedure [-Procedure] <String> [-Schema <String>] [-Database <String>] [[-Parameter] <Hashtable>]
18-
[-Timeout <Int32>] [-Connection <SqlConnection>] [<CommonParameters>]
18+
[-Timeout <Int32>] [-Connection <SqlConnection>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
1919
```
2020

2121
### Text
2222
```
2323
Invoke-TSqlProcedure [-Text] <String> [[-Parameter] <Hashtable>] [-Timeout <Int32>]
24-
[-Connection <SqlConnection>] [<CommonParameters>]
24+
[-Connection <SqlConnection>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
2525
```
2626

2727
### TextFile
2828
```
2929
Invoke-TSqlProcedure [-InputFile] <FileInfo> [[-Parameter] <Hashtable>] [-Timeout <Int32>]
30-
[-Connection <SqlConnection>] [<CommonParameters>]
30+
[-Connection <SqlConnection>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
3131
```
3232

3333
## DESCRIPTION
@@ -164,6 +164,21 @@ Accept pipeline input: True (ByPropertyName)
164164
Accept wildcard characters: False
165165
```
166166
167+
### -ProgressAction
168+
{{ Fill ProgressAction Description }}
169+
170+
```yaml
171+
Type: ActionPreference
172+
Parameter Sets: (All)
173+
Aliases: proga
174+
175+
Required: False
176+
Position: Named
177+
Default value: None
178+
Accept pipeline input: False
179+
Accept wildcard characters: False
180+
```
181+
167182
### CommonParameters
168183
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).
169184

docs/Test-TSqlConnection.md

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

1515
```
16-
Test-TSqlConnection [[-Connection] <SqlConnection>] [-Reconnect] [<CommonParameters>]
16+
Test-TSqlConnection [[-Connection] <SqlConnection>] [-Reconnect] [-ProgressAction <ActionPreference>]
17+
[<CommonParameters>]
1718
```
1819

1920
## DESCRIPTION
@@ -60,6 +61,21 @@ Accept pipeline input: False
6061
Accept wildcard characters: False
6162
```
6263
64+
### -ProgressAction
65+
{{ Fill ProgressAction Description }}
66+
67+
```yaml
68+
Type: ActionPreference
69+
Parameter Sets: (All)
70+
Aliases: proga
71+
72+
Required: False
73+
Position: Named
74+
Default value: None
75+
Accept pipeline input: False
76+
Accept wildcard characters: False
77+
```
78+
6379
### CommonParameters
6480
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).
6581

0 commit comments

Comments
 (0)