Skip to content

Commit 2021190

Browse files
authored
Merge pull request #17913 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to master to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents 230e253 + 0f212a2 commit 2021190

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/dma/dma-sku-recommend-sql-db.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ The following are instructions to help you determine the SKU recommendations and
3737

3838
- Download and install the latest version of [DMA](https://aka.ms/get-dma). If you have already an earlier version of the tool, open it, and you'll be prompted to upgrade DMA.
3939
- Ensure that your computer has [PowerShell Version 5.1](https://www.microsoft.com/download/details.aspx?id=54616) or later, which is required to run all scripts. For information about how to find out which version of PowerShell is installed on your computer, see the article [Download and install Windows PowerShell 5.1](/skypeforbusiness/set-up-your-computer-for-windows-powershell/download-and-install-windows-powershell-5-1).
40+
> [!NOTE]
41+
> To collect machine information, the data collection script uses the Get-WmiObject cmdlet, which was deprecated in PowerShell 6. To run this script in PowerShell 6 or 7, you must replace the WMI cmdlets with the newer CIM cmdlets.
4042
- Ensure that your computer has the Azure Powershell Module installed. For more information, see the article [Install the Azure PowerShell module](/powershell/azure/install-az-ps?view=azps-1.8.0).
4143
- Verify that the PowerShell file **SkuRecommendationDataCollectionScript.ps1**, which is required to collect the performance counters, is installed in the DMA folder.
4244
- Ensure that the computer on which you'll perform this process has Administrator permissions to the computer that is hosting your databases.
@@ -64,7 +66,7 @@ You don't need to perform this task for each database individually. The performa
6466
-ComputerName Foobar1
6567
-OutputFilePath D:\counters2.csv
6668
-CollectionTimeInSeconds 2400
67-
-DbConnectionString "Server=localhost;Initial Catalog=master;Integrated Security=SSPI;"
69+
-DbConnectionString Server=localhost;Initial Catalog=master;Integrated Security=SSPI;
6870
```
6971
7072
After the command executes, the process will output a file including performance counters to the location you specified. You can use this file as input for the next part of the process, which will provide SKU recommendations for both single database and managed instances options.
@@ -232,4 +234,4 @@ To input provisioning information and make changes to the recommendations, updat
232234
233235
## Next step
234236
235-
- For a complete listing of commands for running DMA from the CLI, see the article [Run Data Migration Assistant from the command line](./dma-commandline.md?view=sql-server-2017).
237+
- For a complete listing of commands for running DMA from the CLI, see the article [Run Data Migration Assistant from the command line](./dma-commandline.md?view=sql-server-2017).

0 commit comments

Comments
 (0)