May 09 2020 02:41 AM
I have 300 servers on azure, i have to find the details of SQL Server Version in all servers on Azure.
how to do this using Power shell?
(like i can put the name of the servers in a file and get the output in another file).
May 09 2020 05:29 AM
hi,
Follow this script:
Get-AzureRmSqlServer [[-ResourceGroupName] <String>] [[-ServerName] <String>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
I hope this helps!
Regards.
May 09 2020 09:46 AM
Hello,
Thanks for the answer.
I am confused in this, where to put which value.
suppose my Server name is ABC and resource group is XYZ. actually i am confused in parameters and in string.
Get-AzureRmSqlServer [[-XYZ] <String>] [[-ABC] <String>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
May 10 2020 05:41 PM