You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -82,6 +82,8 @@ In order to use these examples (below), you need to install the SqlServer module
82
82
Install-Module -Name SqlServer -AllowPrerelease
83
83
```
84
84
85
+
> 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
+
85
87
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.
86
88
87
89
```powershell
@@ -97,7 +99,7 @@ ServerA 13.0.5233 SP2 CU4
97
99
ServerB 14.0.3045 RTM CU12
98
100
```
99
101
100
-
In this 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.
102
+
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.
101
103
102
104
```powershell
103
105
dir 'SQLSERVER:\SQLRegistration\Database Engine Server Group' -Recurse |
0 commit comments