Skip to content

Commit 10bf475

Browse files
committed
Added example
1 parent cb7a453 commit 10bf475

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/Public/SQL Database/Get-FabricSQLDatabase.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function Get-FabricSQLDatabase {
2828
This example will retrieve the SQLDatabase with the name 'MySQLDatabase'.
2929
3030
.EXAMPLE
31-
Get-FabricSQLDatabase
31+
Get-FabricSQLDatabase -WorkspaceId '12345678-1234-1234-1234-123456789012'
3232
3333
This example will retrieve all SQLDatabases in the workspace that is specified
3434
by the WorkspaceId.
@@ -40,6 +40,11 @@ function Get-FabricSQLDatabase {
4040
4141
This example will retrieve the SQLDatabase with the ID '12345678-1234-1234-1234-123456789012'.
4242
43+
.EXAMPLE
44+
Get-FabricWorkspace -WorkspaceName 'MsLearn-dev' | Get-FabricSQLDatabase
45+
46+
This example will retrieve all SQLDatabases from the workspace with the name 'MsLearn-dev' (using the pipeline).
47+
4348
.NOTES
4449
Revision History:
4550
- 2025-03-06 - KNO: Init version of the function

0 commit comments

Comments
 (0)