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
|-SubId|subscription_id *or* a file_name|Optional: subscription id or a .csv file with the list of subscriptions<sup>1</sup>|
55
55
|-UseInRunbook|\$True or \$False (default) |Optional: must be $True when executed as a Runbook|
56
56
|-Server|[protocol:]server[instance_name][,port]|Optional: SQL Server connection endpoint to save data to the database.<br> Must be accompanied by -Database and -Cred |
57
57
|-Database|database_name|Optional: database name where data will be saved.<br> Must be accompanied by -Server and -Cred|
58
58
|-Cred|credential_object|Optional: value of type PSCredential to securely pass database user and password|
59
59
|-FilePath|csv_file_name|Optional: filename where the data will be saved in a .csv format. Ignored if database parameters are specified|
60
+
|-ShowUnregistered|\$True or \$False (default)|Optional: causes the script to report the total size of VMs that self-host SQL server instance that is unregistered with the IaaS SQL extension|
60
61
61
62
<sup>1</sup>You can create a .csv file using the following command and then edit to remove the subscriptions you don't want to scan.
0 commit comments