Skip to content

Commit 3fe51a7

Browse files
niphlodactions-user
authored andcommitted
updating build ref file
1 parent f94ed84 commit 3fe51a7

1 file changed

Lines changed: 230 additions & 5 deletions

File tree

assets/dbatools-index.json

Lines changed: 230 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@
17851785
"",
17861786
false,
17871787
"false",
1788-
"\"$(Get-Date -format \u0027yyyyMMddHHmmssms\u0027)\"",
1788+
"",
17891789
""
17901790
],
17911791
[
@@ -4487,6 +4487,159 @@
44874487
],
44884488
"Syntax": "Copy-DbaDbAssembly [-Source] \u003cDbaInstanceParameter\u003e [[-SourceSqlCredential] \u003cPSCredential\u003e] [-Destination] \u003cDbaInstanceParameter[]\u003e [[-DestinationSqlCredential] \u003cPSCredential\u003e] [[-Assembly] \u003cObject[]\u003e] [[-ExcludeAssembly] \u003cObject[]\u003e] [-Force] [-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]"
44894489
},
4490+
{
4491+
"Name": "Copy-DbaDbCertificate",
4492+
"Description": "By default, all certificates are copied.\n\nIf the certificate already exists on the destination, it will be skipped.",
4493+
"Tags": [
4494+
"Migration",
4495+
"Certificate"
4496+
],
4497+
"Synopsis": "Copy-DbaDbCertificate migrates certificates from one SQL Server to another.",
4498+
"Alias": "",
4499+
"Author": "Chrissy LeMaire (@cl), netnerds.net",
4500+
"CommandName": "Copy-DbaDbCertificate",
4501+
"Availability": "Windows, Linux, macOS",
4502+
"Links": "https://dbatools.io/Copy-DbaDbCertificate",
4503+
"Examples": "-------------------------- EXAMPLE 1 --------------------------\nPS C:\\\u003e$params1 = @{\n\u003e\u003e Source = \"sql01\"\r\n\u003e\u003e Destination = \"sql02\"\r\n\u003e\u003e EncryptionPassword = $passwd\r\n\u003e\u003e MasterKeyPassword = $passwd\r\n\u003e\u003e SharedPath = \"\\\\nas\\sql\\shared\"\r\n\u003e\u003e }\r\nPS C:\\\u003e Copy-DbaDbCertificate @params1 -Confirm:$false -OutVariable results\nCopies database certificates for matching databases on sql02 and creates master keys if needed",
4504+
"Params": [
4505+
[
4506+
"Source",
4507+
"Source SQL Server. You must have sysadmin access and server version must be SQL Server version 2000 or higher.",
4508+
"",
4509+
true,
4510+
"false",
4511+
"",
4512+
""
4513+
],
4514+
[
4515+
"SourceSqlCredential",
4516+
"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.",
4517+
"",
4518+
false,
4519+
"false",
4520+
"",
4521+
""
4522+
],
4523+
[
4524+
"Destination",
4525+
"Destination SQL Server. You must have sysadmin access and the server must be SQL Server 2000 or higher.",
4526+
"",
4527+
true,
4528+
"false",
4529+
"",
4530+
""
4531+
],
4532+
[
4533+
"DestinationSqlCredential",
4534+
"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.",
4535+
"",
4536+
false,
4537+
"false",
4538+
"",
4539+
""
4540+
],
4541+
[
4542+
"Database",
4543+
"The database(s) to process.",
4544+
"",
4545+
false,
4546+
"false",
4547+
"",
4548+
""
4549+
],
4550+
[
4551+
"ExcludeDatabase",
4552+
"The database(s) to exclude.",
4553+
"",
4554+
false,
4555+
"false",
4556+
"",
4557+
""
4558+
],
4559+
[
4560+
"Certificate",
4561+
"The certificate(s) to process.",
4562+
"",
4563+
false,
4564+
"false",
4565+
"",
4566+
""
4567+
],
4568+
[
4569+
"ExcludeCertificate",
4570+
"The certificate(s) to exclude.",
4571+
"",
4572+
false,
4573+
"false",
4574+
"",
4575+
""
4576+
],
4577+
[
4578+
"SharedPath",
4579+
"Specifies the network location for the backup files. The SQL Server service accounts on both Source and Destination must have read/write permission to access this location.",
4580+
"",
4581+
false,
4582+
"false",
4583+
"",
4584+
""
4585+
],
4586+
[
4587+
"MasterKeyPassword",
4588+
"The password to encrypt the exported key. This must be a SecureString.",
4589+
"",
4590+
false,
4591+
"false",
4592+
"",
4593+
""
4594+
],
4595+
[
4596+
"EncryptionPassword",
4597+
"A string value that specifies the secure password to encrypt the private key.",
4598+
"",
4599+
false,
4600+
"false",
4601+
"",
4602+
""
4603+
],
4604+
[
4605+
"DecryptionPassword",
4606+
"Secure string used to decrypt the private key.",
4607+
"",
4608+
false,
4609+
"false",
4610+
"",
4611+
""
4612+
],
4613+
[
4614+
"EnableException",
4615+
"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.",
4616+
"",
4617+
false,
4618+
"false",
4619+
"False",
4620+
""
4621+
],
4622+
[
4623+
"WhatIf",
4624+
"If this switch is enabled, no actions are performed but informational messages will be displayed that explain what would happen if the command were to run.",
4625+
"wi",
4626+
false,
4627+
"false",
4628+
"",
4629+
""
4630+
],
4631+
[
4632+
"Confirm",
4633+
"If this switch is enabled, you will be prompted for confirmation before executing any operations that change state.",
4634+
"cf",
4635+
false,
4636+
"false",
4637+
"",
4638+
""
4639+
]
4640+
],
4641+
"Syntax": "Copy-DbaDbCertificate [-Source] \u003cDbaInstanceParameter\u003e [[-SourceSqlCredential] \u003cPSCredential\u003e] [-Destination] \u003cDbaInstanceParameter[]\u003e [[-DestinationSqlCredential] \u003cPSCredential\u003e] [[-Database] \u003cString[]\u003e] [[-ExcludeDatabase] \u003cString[]\u003e] [[-Certificate] \u003cString[]\u003e] [[-ExcludeCertificate] \u003cString[]\u003e] [[-SharedPath] \u003cString\u003e] [[-MasterKeyPassword] \u003cSecureString\u003e] [[-EncryptionPassword] \u003cSecureString\u003e] [[-DecryptionPassword] \u003cSecureString\u003e] [-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]"
4642+
},
44904643
{
44914644
"Name": "Copy-DbaDbMail",
44924645
"Description": "By default, all mail configurations for Profiles, Accounts, Mail Servers and Configs are copied.",
@@ -51038,6 +51191,15 @@
5103851191
"",
5103951192
""
5104051193
],
51194+
[
51195+
"KeyFilePath",
51196+
"The Path the contains the private key file. If one is not specified, we will try to find it for you.",
51197+
"",
51198+
false,
51199+
"false",
51200+
"",
51201+
""
51202+
],
5104151203
[
5104251204
"EncryptionPassword",
5104351205
"If specified this will be used to encrypt the private key.",
@@ -51093,7 +51255,7 @@
5109351255
""
5109451256
]
5109551257
],
51096-
"Syntax": "Restore-DbaDbCertificate [-SqlInstance] \u003cDbaInstanceParameter\u003e [[-SqlCredential] \u003cPSCredential\u003e] [-Path] \u003cObject[]\u003e [[-EncryptionPassword] \u003cSecureString\u003e] [[-Database] \u003cString\u003e] [[-DecryptionPassword] \u003cSecureString\u003e] [-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]"
51258+
"Syntax": "Restore-DbaDbCertificate [-SqlInstance] \u003cDbaInstanceParameter\u003e [[-SqlCredential] \u003cPSCredential\u003e] [-Path] \u003cObject[]\u003e [[-KeyFilePath] \u003cString[]\u003e] [[-EncryptionPassword] \u003cSecureString\u003e] [[-Database] \u003cString\u003e] [[-DecryptionPassword] \u003cSecureString\u003e] [-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]"
5109751259
},
5109851260
{
5109951261
"Name": "Restore-DbaDbSnapshot",
@@ -58779,12 +58941,12 @@
5877958941
],
5878058942
[
5878158943
"Exclude",
58782-
"Exclude one or more objects to migrate\nDatabases\r\nLogins\r\nAgentServer\r\nCredentials\r\nLinkedServers\r\nSpConfigure\r\nCentralManagementServer\r\nDatabaseMail\r\nSysDbUserObjects\r\nSystemTriggers\r\nBackupDevices\r\nAudits\r\nEndpoints\r\nExtendedEvents\r\nPolicyManagement\r\nResourceGovernor\r\nServerAuditSpecifications\r\nCustomErrors\r\nDataCollector\r\nStartupProcedures\r\nAgentServerProperties",
58944+
"Exclude one or more objects to migrate\nDatabases\r\nLogins\r\nAgentServer\r\nCredentials\r\nLinkedServers\r\nSpConfigure\r\nCentralManagementServer\r\nDatabaseMail\r\nSysDbUserObjects\r\nSystemTriggers\r\nBackupDevices\r\nAudits\r\nEndpoints\r\nExtendedEvents\r\nPolicyManagement\r\nResourceGovernor\r\nServerAuditSpecifications\r\nCustomErrors\r\nDataCollector\r\nStartupProcedures\r\nAgentServerProperties\r\nMasterCertificates",
5878358945
"",
5878458946
false,
5878558947
"false",
5878658948
"",
58787-
"Databases,Logins,AgentServer,Credentials,LinkedServers,SpConfigure,CentralManagementServer,DatabaseMail,SysDbUserObjects,SystemTriggers,BackupDevices,Audits,Endpoints,ExtendedEvents,PolicyManagement,ResourceGovernor,ServerAuditSpecifications,CustomErrors,DataCollector,StartupProcedures,AgentServerProperties"
58949+
"Databases,Logins,AgentServer,Credentials,LinkedServers,SpConfigure,CentralManagementServer,DatabaseMail,SysDbUserObjects,SystemTriggers,BackupDevices,Audits,Endpoints,ExtendedEvents,PolicyManagement,ResourceGovernor,ServerAuditSpecifications,CustomErrors,DataCollector,StartupProcedures,AgentServerProperties,MasterCertificates"
5878858950
],
5878958951
[
5879058952
"DisableJobsOnDestination",
@@ -58867,6 +59029,15 @@
5886759029
"",
5886859030
""
5886959031
],
59032+
[
59033+
"MasterKeyPassword",
59034+
"The password to encrypt a master key if one is required. This must be a SecureString.",
59035+
"",
59036+
false,
59037+
"false",
59038+
"",
59039+
""
59040+
],
5887059041
[
5887159042
"EnableException",
5887259043
"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.",
@@ -58895,7 +59066,7 @@
5889559066
""
5889659067
]
5889759068
],
58898-
"Syntax": "Start-DbaMigration [[-Source] \u003cDbaInstanceParameter\u003e] [[-Destination] \u003cDbaInstanceParameter[]\u003e] [-DetachAttach] [-Reattach] [-BackupRestore] [[-SharedPath] \u003cString\u003e] [-WithReplace] [-NoRecovery] [-SetSourceReadOnly] [-ReuseSourceFolderStructure] [-IncludeSupportDbs] [[-SourceSqlCredential] \u003cPSCredential\u003e] [[-DestinationSqlCredential] \u003cPSCredential\u003e] [[-Exclude] \u003cString[]\u003e] [-DisableJobsOnDestination] [-DisableJobsOnSource] [-ExcludeSaRename] [-UseLastBackup] [-KeepCDC] [-KeepReplication] [-Continue] [-Force] [[-AzureCredential] \u003cString\u003e] [-EnableException] [-WhatIf] [-Confirm] \r\n[\u003cCommonParameters\u003e]"
59069+
"Syntax": "Start-DbaMigration [[-Source] \u003cDbaInstanceParameter\u003e] [[-Destination] \u003cDbaInstanceParameter[]\u003e] [-DetachAttach] [-Reattach] [-BackupRestore] [[-SharedPath] \u003cString\u003e] [-WithReplace] [-NoRecovery] [-SetSourceReadOnly] [-ReuseSourceFolderStructure] [-IncludeSupportDbs] [[-SourceSqlCredential] \u003cPSCredential\u003e] [[-DestinationSqlCredential] \u003cPSCredential\u003e] [[-Exclude] \u003cString[]\u003e] [-DisableJobsOnDestination] [-DisableJobsOnSource] [-ExcludeSaRename] [-UseLastBackup] [-KeepCDC] [-KeepReplication] [-Continue] [-Force] [[-AzureCredential] \u003cString\u003e] [[-MasterKeyPassword] \u003cSecureString\u003e] \r\n[-EnableException] [-WhatIf] [-Confirm] [\u003cCommonParameters\u003e]"
5889959070
},
5890059071
{
5890159072
"Name": "Start-DbaPfDataCollectorSet",
@@ -60791,6 +60962,60 @@
6079160962
],
6079260963
"Syntax": "Test-DbaAvailabilityGroup [-SqlInstance] \u003cDbaInstanceParameter\u003e [-SqlCredential \u003cPSCredential\u003e] -AvailabilityGroup \u003cString\u003e [-Secondary \u003cDbaInstanceParameter[]\u003e] [-SecondarySqlCredential \u003cPSCredential\u003e] [-AddDatabase \u003cString[]\u003e] [-SeedingMode \u003cString\u003e] [-SharedPath \u003cString\u003e] [-UseLastBackup] [-EnableException] [\u003cCommonParameters\u003e]"
6079360964
},
60965+
{
60966+
"Name": "Test-DbaBackupEncrypted",
60967+
"Description": "Tests to see if a backup is encrypted",
60968+
"Tags": [
60969+
"Backups",
60970+
"Encryption"
60971+
],
60972+
"Synopsis": "Tests to see if a backup is encrypted",
60973+
"Alias": "",
60974+
"Author": "Chrissy LeMaire (@cl), http://netnerds.net",
60975+
"CommandName": "Test-DbaBackupEncrypted",
60976+
"Availability": "Windows, Linux, macOS",
60977+
"Links": "https://dbatools.io/Test-DbaBackupEncrypted",
60978+
"Examples": "-------------------------- EXAMPLE 1 --------------------------\nPS C:\\\u003eTest-DbaBackupEncrypted -SqlInstance sql01 -Path /tmp/northwind.bak\nTest to see if /tmp/northwind.bak is encrypted\n-------------------------- EXAMPLE 2 --------------------------\nPS C:\\\u003eGet-ChildItem \\\\nas\\sql\\backups | Test-DbaBackupEncrypted -SqlInstance sql01\nTest to see if all of the backups in \\\\nas\\sql\\backups are encrypted",
60979+
"Params": [
60980+
[
60981+
"SqlInstance",
60982+
"The target SQL Server instance or instances.",
60983+
"",
60984+
true,
60985+
"false",
60986+
"",
60987+
""
60988+
],
60989+
[
60990+
"SqlCredential",
60991+
"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.",
60992+
"",
60993+
false,
60994+
"false",
60995+
"",
60996+
""
60997+
],
60998+
[
60999+
"FilePath",
61000+
"The path to the backups",
61001+
"FullName",
61002+
true,
61003+
"true (ByValue)",
61004+
"",
61005+
""
61006+
],
61007+
[
61008+
"EnableException",
61009+
"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.",
61010+
"",
61011+
false,
61012+
"false",
61013+
"False",
61014+
""
61015+
]
61016+
],
61017+
"Syntax": "Test-DbaBackupEncrypted [-SqlInstance] \u003cDbaInstanceParameter\u003e [[-SqlCredential] \u003cPSCredential\u003e] [-FilePath] \u003cString[]\u003e [-EnableException] [\u003cCommonParameters\u003e]"
61018+
},
6079461019
{
6079561020
"Name": "Test-DbaBackupInformation",
6079661021
"Description": "Input is normally from a backup history object generated from `Format-DbaBackupInformation`. This is then parse to check that it\u0027s valid for restore. Tests performed include:\n - Checking unbroken LSN chain\n - If the target database exists and WithReplace has been provided\n - If any files already exist, but owned by other databases\n - Creates any new folders required\n - That the backup files exists at the location specified, and can be seen by the Sql Instance\n - If no errors are found then the objects for that database will me marked as Verified",

0 commit comments

Comments
 (0)