Skip to content

Commit 861b999

Browse files
SQLvariantTylerLeonhardt
authored andcommitted
Small update to Azure Data Studio MP README (#1900)
* Added SQL PowerShell Examples Added examples specific to the official SqlServer PowerShell module, to help customers get started. * Update Code Formatting Updated the format of the code examples. * Moved SQL PowerShell Examples Moved location of SQL PowerShell Examples to be after Example Scripts. * Typo Fixed typo in description. * Commas Commas. * Update docs/azure_data_studio/README_FOR_MARKETPLACE.md Co-Authored-By: SQLvariant <SQLvariant@live.com> * Update docs/azure_data_studio/README_FOR_MARKETPLACE.md Co-Authored-By: SQLvariant <SQLvariant@live.com> * Update docs/azure_data_studio/README_FOR_MARKETPLACE.md Co-Authored-By: SQLvariant <SQLvariant@live.com> * Apply suggestions from code review Co-Authored-By: SQLvariant <SQLvariant@live.com> * Update README_FOR_MARKETPLACE.md Removed the -AllowPrerelease parameter since it is no longer necessary. Also updated the Get-SqlInstance sample output with the additional properties now being returned. * delete duplicate examples
1 parent 58349e7 commit 861b999

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/azure_data_studio/README_FOR_MARKETPLACE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ azuredatastudio (Get-ChildItem $Home\.azuredatastudio\extensions\ms-vscode.Power
8080
In order to use these examples (below), you need to install the SqlServer module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/SqlServer).
8181

8282
```powershell
83-
Install-Module -Name SqlServer -AllowPrerelease
83+
Install-Module -Name SqlServer
8484
```
8585

86-
> NOTE: With version `21.1.18095-preview` and up, the `SqlServer` module supports [PowerShell Core](https://github.com/PowerShell/PowerShell) 6.2 and up in addion to Windows PowerShell.
86+
> NOTE: With version `21.1.18102` and up, the `SqlServer` module supports [PowerShell Core](https://github.com/PowerShell/PowerShell) 6.2 and up, in addion to Windows PowerShell.
8787
8888
In this example, we use the `Get-SqlInstance` cmdlet to Get the Server SMO objects for ServerA & ServerB. The default output for this command will include the Instance name, version, Service Pack, & CU Update Level of the instances.
8989

@@ -94,10 +94,10 @@ Get-SqlInstance -ServerInstance ServerA, ServerB
9494
Here is a sample of what that output will look like:
9595

9696
```
97-
Instance Name Version ProductLevel UpdateLevel
98-
------------- ------- ------------ -----------
99-
ServerA 13.0.5233 SP2 CU4
100-
ServerB 14.0.3045 RTM CU12
97+
Instance Name Version ProductLevel UpdateLevel HostPlatform HostDistribution
98+
------------- ------- ------------ ----------- ------------ ----------------
99+
ServerA 13.0.5233 SP2 CU4 Windows Windows Server 2016 Datacenter
100+
ServerB 14.0.3045 RTM CU12 Linux Ubuntu
101101
```
102102

103103
In the following example, we will do a `dir` (alias for `Get-ChildItem`) to get the list of all SQL Server instances listed in your Registered Servers file, and then use the `Get-SqlDatabase` cmdlet to get a list of Databases for each of those instances.

0 commit comments

Comments
 (0)