|
2563 | 2563 | "database.windows.net", |
2564 | 2564 | "" |
2565 | 2565 | ], |
2566 | | - [ |
2567 | | - "AuthenticationType", |
2568 | | - "Not used in the current version.", |
2569 | | - "", |
2570 | | - false, |
2571 | | - "false", |
2572 | | - "Auto", |
2573 | | - "Auto,AD Universal with MFA Support" |
2574 | | - ], |
2575 | 2566 | [ |
2576 | 2567 | "Tenant", |
2577 | 2568 | "The TenantId for an Azure Instance", |
|
2581 | 2572 | "(Get-DbatoolsConfigValue -FullName \u0027azure.tenantid\u0027)", |
2582 | 2573 | "" |
2583 | 2574 | ], |
2584 | | - [ |
2585 | | - "Thumbprint", |
2586 | | - "Not used in the current version.", |
2587 | | - "", |
2588 | | - false, |
2589 | | - "false", |
2590 | | - "(Get-DbatoolsConfigValue -FullName \u0027azure.certificate.thumbprint\u0027)", |
2591 | | - "" |
2592 | | - ], |
2593 | | - [ |
2594 | | - "Store", |
2595 | | - "Not used in the current version.", |
2596 | | - "", |
2597 | | - false, |
2598 | | - "false", |
2599 | | - "(Get-DbatoolsConfigValue -FullName \u0027azure.certificate.store\u0027)", |
2600 | | - "CurrentUser,LocalMachine" |
2601 | | - ], |
2602 | 2575 | [ |
2603 | 2576 | "AccessToken", |
2604 | 2577 | "Connect to an Azure SQL Database or an Azure SQL Managed Instance with an AccessToken, that has to be generated with Get-AzAccessToken or New-DbaAzAccessToken.\nNote that the token is valid for only one hour and cannot be renewed automatically.", |
|
2627 | 2600 | "" |
2628 | 2601 | ] |
2629 | 2602 | ], |
2630 | | - "Syntax": "Connect-DbaInstance [-SqlInstance] \u003cDbaInstanceParameter[]\u003e [[-SqlCredential] \u003cPSCredential\u003e] [[-Database] \u003cString\u003e] [[-ApplicationIntent] \u003cString\u003e] [-AzureUnsupported] [[-BatchSeparator] \u003cString\u003e] [[-ClientName] \u003cString\u003e] [[-ConnectTimeout] \u003cInt32\u003e] [-EncryptConnection] [[-FailoverPartner] \u003cString\u003e] [[-LockTimeout] \u003cInt32\u003e] [[-MaxPoolSize] \u003cInt32\u003e] [[-MinPoolSize] \u003cInt32\u003e] [[-MinimumVersion] \u003cInt32\u003e] [-MultipleActiveResultSets] [-MultiSubnetFailover] [[-NetworkProtocol] \u003cString\u003e] [-NonPooledConnection] [[-PacketSize] \u003cInt32\u003e] [[-PooledConnectionLifetime] \u003cInt32\u003e] [[-SqlExecutionModes] \r\n\u003cString\u003e] [[-StatementTimeout] \u003cInt32\u003e] [-TrustServerCertificate] [[-WorkstationId] \u003cString\u003e] [-AlwaysEncrypted] [[-AppendConnectionString] \u003cString\u003e] [-SqlConnectionOnly] [[-AzureDomain] \u003cString\u003e] [[-AuthenticationType] \u003cString\u003e] [[-Tenant] \u003cString\u003e] [[-Thumbprint] \u003cString\u003e] [[-Store] \u003cString\u003e] [[-AccessToken] \u003cPSObject\u003e] [-DedicatedAdminConnection] [-DisableException] [\u003cCommonParameters\u003e]" |
| 2603 | + "Syntax": "Connect-DbaInstance [-SqlInstance] \u003cDbaInstanceParameter[]\u003e [[-SqlCredential] \u003cPSCredential\u003e] [[-Database] \u003cString\u003e] [[-ApplicationIntent] \u003cString\u003e] [-AzureUnsupported] [[-BatchSeparator] \u003cString\u003e] [[-ClientName] \u003cString\u003e] [[-ConnectTimeout] \u003cInt32\u003e] [-EncryptConnection] [[-FailoverPartner] \u003cString\u003e] [[-LockTimeout] \u003cInt32\u003e] [[-MaxPoolSize] \u003cInt32\u003e] [[-MinPoolSize] \u003cInt32\u003e] [[-MinimumVersion] \u003cInt32\u003e] [-MultipleActiveResultSets] [-MultiSubnetFailover] [[-NetworkProtocol] \u003cString\u003e] [-NonPooledConnection] [[-PacketSize] \u003cInt32\u003e] [[-PooledConnectionLifetime] \u003cInt32\u003e] [[-SqlExecutionModes] \r\n\u003cString\u003e] [[-StatementTimeout] \u003cInt32\u003e] [-TrustServerCertificate] [[-WorkstationId] \u003cString\u003e] [-AlwaysEncrypted] [[-AppendConnectionString] \u003cString\u003e] [-SqlConnectionOnly] [[-AzureDomain] \u003cString\u003e] [[-Tenant] \u003cString\u003e] [[-AccessToken] \u003cPSObject\u003e] [-DedicatedAdminConnection] [-DisableException] [\u003cCommonParameters\u003e]" |
2631 | 2604 | }, |
2632 | 2605 | { |
2633 | 2606 | "Name": "ConvertTo-DbaDataTable", |
@@ -47049,6 +47022,187 @@ |
47049 | 47022 | ], |
47050 | 47023 | "Syntax": "Remove-DbaDbOrphanUser [-SqlInstance] \u003cDbaInstanceParameter[]\u003e [[-SqlCredential] \u003cPSCredential\u003e] [[-Database] \u003cObject[]\u003e] [[-ExcludeDatabase] \u003cObject[]\u003e] [[-User] \u003cObject[]\u003e] [-Force] [-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" |
47051 | 47024 | }, |
| 47025 | + { |
| 47026 | + "Name": "Remove-DbaDbPartitionFunction", |
| 47027 | + "Description": "Removes a database partition function(s), with supported piping from Get-DbaDbPartitionFunction.", |
| 47028 | + "Tags": [ |
| 47029 | + "PartitionFunction", |
| 47030 | + "Database" |
| 47031 | + ], |
| 47032 | + "Synopsis": "Removes a database partition function(s) from each database and SQL Server instance.", |
| 47033 | + "Alias": "", |
| 47034 | + "Author": "Mikey Bronowski (@MikeyBronowski), https://bronowski.it", |
| 47035 | + "CommandName": "Remove-DbaDbPartitionFunction", |
| 47036 | + "Availability": "Windows, Linux, macOS", |
| 47037 | + "Links": "https://dbatools.io/Remove-DbaDbPartitionFunction", |
| 47038 | + "Examples": "-------------------------- EXAMPLE 1 --------------------------\nPS C:\\\u003eRemove-DbaDbPartitionFunction -SqlInstance localhost, sql2016 -Database db1, db2\nRemoves partition functions from db1 and db2 on the local and sql2016 SQL Server instances.\n-------------------------- EXAMPLE 2 --------------------------\nPS C:\\\u003eGet-DbaDbPartitionFunction -SqlInstance SRV1 | Out-GridView -Title \u0027Select partition function(s) to drop\u0027 -OutputMode Multiple | Remove-DbaDbPartitionFunction\nUsing a pipeline this command gets all partition functions on SRV1, lets the user select those to remove and then removes the selected partition functions.", |
| 47039 | + "Params": [ |
| 47040 | + [ |
| 47041 | + "SqlInstance", |
| 47042 | + "The target SQL Server instance or instances.", |
| 47043 | + "", |
| 47044 | + false, |
| 47045 | + "false", |
| 47046 | + "", |
| 47047 | + "" |
| 47048 | + ], |
| 47049 | + [ |
| 47050 | + "SqlCredential", |
| 47051 | + "Login to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential).\nWindows Authentication, SQL Server Authentication, Active Directory - Password, and Active Directory - Integrated are all supported.\nFor MFA support, please use Connect-DbaInstance.", |
| 47052 | + "", |
| 47053 | + false, |
| 47054 | + "false", |
| 47055 | + "", |
| 47056 | + "" |
| 47057 | + ], |
| 47058 | + [ |
| 47059 | + "Database", |
| 47060 | + "The target database(s).", |
| 47061 | + "", |
| 47062 | + false, |
| 47063 | + "false", |
| 47064 | + "", |
| 47065 | + "" |
| 47066 | + ], |
| 47067 | + [ |
| 47068 | + "ExcludeDatabase", |
| 47069 | + "The database(s) to exclude - this list is auto populated from the server.", |
| 47070 | + "", |
| 47071 | + false, |
| 47072 | + "false", |
| 47073 | + "", |
| 47074 | + "" |
| 47075 | + ], |
| 47076 | + [ |
| 47077 | + "InputObject", |
| 47078 | + "Allows piping from Get-DbaDbPartitionFunction.", |
| 47079 | + "", |
| 47080 | + true, |
| 47081 | + "true (ByValue)", |
| 47082 | + "", |
| 47083 | + "" |
| 47084 | + ], |
| 47085 | + [ |
| 47086 | + "EnableException", |
| 47087 | + "By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message.\r\nThis avoids overwhelming you with \"sea of red\" exceptions, but is inconvenient because it basically disables advanced scripting.\r\nUsing this switch turns this \"nice by default\" feature off and enables you to catch exceptions with your own try/catch.", |
| 47088 | + "", |
| 47089 | + false, |
| 47090 | + "false", |
| 47091 | + "False", |
| 47092 | + "" |
| 47093 | + ], |
| 47094 | + [ |
| 47095 | + "WhatIf", |
| 47096 | + "Shows what would happen if the command were to run. No actions are actually performed.", |
| 47097 | + "wi", |
| 47098 | + false, |
| 47099 | + "false", |
| 47100 | + "", |
| 47101 | + "" |
| 47102 | + ], |
| 47103 | + [ |
| 47104 | + "Confirm", |
| 47105 | + "Prompts you for confirmation before executing any changing operations within the command.\r\nThis is the default. Use -Confirm:$false to suppress these prompts.", |
| 47106 | + "cf", |
| 47107 | + false, |
| 47108 | + "false", |
| 47109 | + "", |
| 47110 | + "" |
| 47111 | + ] |
| 47112 | + ], |
| 47113 | + "Syntax": "Remove-DbaDbPartitionFunction [-SqlInstance \u003cDbaInstanceParameter[]\u003e] [-SqlCredential \u003cPSCredential\u003e] [-Database \u003cString[]\u003e] [-ExcludeDatabase \u003cObject[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]\nRemove-DbaDbPartitionFunction [-SqlInstance \u003cDbaInstanceParameter[]\u003e] [-SqlCredential \u003cPSCredential\u003e] [-Database \u003cString[]\u003e] [-ExcludeDatabase \u003cObject[]\u003e] -InputObject \u003cPartitionFunction[]\u003e [-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" |
| 47114 | + }, |
| 47115 | + { |
| 47116 | + "Name": "Remove-DbaDbPartitionScheme", |
| 47117 | + "Description": "Removes a database partition scheme(s), with supported piping from Get-DbaDbPartitionScheme.", |
| 47118 | + "Tags": [ |
| 47119 | + "PartitionScheme", |
| 47120 | + "Partition", |
| 47121 | + "Database" |
| 47122 | + ], |
| 47123 | + "Synopsis": "Removes a database partition scheme(s) from each database and SQL Server instance.", |
| 47124 | + "Alias": "", |
| 47125 | + "Author": "Mikey Bronowski (@MikeyBronowski), https://bronowski.it", |
| 47126 | + "CommandName": "Remove-DbaDbPartitionScheme", |
| 47127 | + "Availability": "Windows, Linux, macOS", |
| 47128 | + "Links": "https://dbatools.io/Remove-DbaDbPartitionScheme", |
| 47129 | + "Examples": "-------------------------- EXAMPLE 1 --------------------------\nPS C:\\\u003eRemove-DbaDbPartitionScheme -SqlInstance localhost, sql2016 -Database db1, db2\nRemoves partition schemes from db1 and db2 on the local and sql2016 SQL Server instances.\n-------------------------- EXAMPLE 2 --------------------------\nPS C:\\\u003eGet-DbaDbPartitionScheme -SqlInstance SRV1 | Out-GridView -Title \u0027Select partition scheme(s) to drop\u0027 -OutputMode Multiple | Remove-DbaDbPartitionScheme\nUsing a pipeline this command gets all partition schemes on SRV1, lets the user select those to remove and then removes the selected partition schemes.", |
| 47130 | + "Params": [ |
| 47131 | + [ |
| 47132 | + "SqlInstance", |
| 47133 | + "The target SQL Server instance or instances.", |
| 47134 | + "", |
| 47135 | + false, |
| 47136 | + "false", |
| 47137 | + "", |
| 47138 | + "" |
| 47139 | + ], |
| 47140 | + [ |
| 47141 | + "SqlCredential", |
| 47142 | + "Login to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential).\nWindows Authentication, SQL Server Authentication, Active Directory - Password, and Active Directory - Integrated are all supported.\nFor MFA support, please use Connect-DbaInstance.", |
| 47143 | + "", |
| 47144 | + false, |
| 47145 | + "false", |
| 47146 | + "", |
| 47147 | + "" |
| 47148 | + ], |
| 47149 | + [ |
| 47150 | + "Database", |
| 47151 | + "The target database(s).", |
| 47152 | + "", |
| 47153 | + false, |
| 47154 | + "false", |
| 47155 | + "", |
| 47156 | + "" |
| 47157 | + ], |
| 47158 | + [ |
| 47159 | + "ExcludeDatabase", |
| 47160 | + "The database(s) to exclude - this list is auto populated from the server.", |
| 47161 | + "", |
| 47162 | + false, |
| 47163 | + "false", |
| 47164 | + "", |
| 47165 | + "" |
| 47166 | + ], |
| 47167 | + [ |
| 47168 | + "InputObject", |
| 47169 | + "Allows piping from Get-DbaDbPartitionScheme.", |
| 47170 | + "", |
| 47171 | + true, |
| 47172 | + "true (ByValue)", |
| 47173 | + "", |
| 47174 | + "" |
| 47175 | + ], |
| 47176 | + [ |
| 47177 | + "EnableException", |
| 47178 | + "By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message.\r\nThis avoids overwhelming you with \"sea of red\" exceptions, but is inconvenient because it basically disables advanced scripting.\r\nUsing this switch turns this \"nice by default\" feature off and enables you to catch exceptions with your own try/catch.", |
| 47179 | + "", |
| 47180 | + false, |
| 47181 | + "false", |
| 47182 | + "False", |
| 47183 | + "" |
| 47184 | + ], |
| 47185 | + [ |
| 47186 | + "WhatIf", |
| 47187 | + "Shows what would happen if the command were to run. No actions are actually performed.", |
| 47188 | + "wi", |
| 47189 | + false, |
| 47190 | + "false", |
| 47191 | + "", |
| 47192 | + "" |
| 47193 | + ], |
| 47194 | + [ |
| 47195 | + "Confirm", |
| 47196 | + "Prompts you for confirmation before executing any changing operations within the command.\r\nThis is the default. Use -Confirm:$false to suppress these prompts.", |
| 47197 | + "cf", |
| 47198 | + false, |
| 47199 | + "false", |
| 47200 | + "", |
| 47201 | + "" |
| 47202 | + ] |
| 47203 | + ], |
| 47204 | + "Syntax": "Remove-DbaDbPartitionScheme [-SqlInstance \u003cDbaInstanceParameter[]\u003e] [-SqlCredential \u003cPSCredential\u003e] [-Database \u003cString[]\u003e] [-ExcludeDatabase \u003cObject[]\u003e] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]\nRemove-DbaDbPartitionScheme [-SqlInstance \u003cDbaInstanceParameter[]\u003e] [-SqlCredential \u003cPSCredential\u003e] [-Database \u003cString[]\u003e] [-ExcludeDatabase \u003cObject[]\u003e] -InputObject \u003cPartitionScheme[]\u003e [-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]" |
| 47205 | + }, |
47052 | 47206 | { |
47053 | 47207 | "Name": "Remove-DbaDbRole", |
47054 | 47208 | "Description": "The Remove-DbaDbRole removes role(s) from database(s) for each instance(s) of SQL Server.", |
|
0 commit comments