Skip to content

Commit

Permalink
refreshing docs pages
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee authored and github-actions[bot] committed Mar 16, 2024
1 parent 9763f3e commit df14062
Show file tree
Hide file tree
Showing 9 changed files with 769 additions and 702 deletions.
2 changes: 1 addition & 1 deletion Format-DbaBackupInformation.html
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ <h2 id="syntax">Syntax</h2>
<h2 id="examples">Examples</h2>
<p> </p>
<h5 id="example-1">Example: 1</h5>
<pre><code>PS C:\&gt; $History | Format-DbaBackupInformation -ReplaceDatabaseName NewDb
<pre><code>PS C:\&gt; $History | Format-DbaBackupInformation -ReplaceDatabaseName NewDb -ReplaceDbNameInFile
</code></pre>
<p>Changes as database name references to NewDb, both in the database name and any restore paths. Note, this will fail if the BackupHistory object contains backups for more than 1 database<br></p>
<h5 id="example-2">Example: 2</h5>
Expand Down
3 changes: 2 additions & 1 deletion Get-DbaDbQueryStoreOption.html
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ <h2 id="synopsis">Synopsis</h2>
<p>Get the Query Store configuration for Query Store enabled databases.</p>
<h2 id="description">Description</h2>
<p>Retrieves and returns the Query Store configuration for every database that has the Query Store feature enabled.</p>
<p>Due to SMO limitations, the model database is not checked.</p>
<h2 id="syntax">Syntax</h2>
<pre><code>Get-DbaDbQueryStoreOption
[-SqlInstance] &lt;DbaInstanceParameter[]&gt;
Expand Down Expand Up @@ -546,7 +547,7 @@ <h3 id="optional-parameters">Optional Parameters</h3>
<h5 id="sqlcredential">-SqlCredential</h5>
<p>SqlLogin to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential).
Windows Authentication, SQL Server Authentication, Active Directory - Password, and Active Directory - Integrated are all supported.
For MFA support, please use Connect-DbaInstance..<br></p>
For MFA support, please use Connect-DbaInstance.<br></p>
<table>
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion Get-DbaReplPublication.html
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ <h5 id="example-3">Example: 3</h5>
</code></pre>
<p>Return all transactional publications on server sql2008.<br></p>
<h5 id="example-4">Example: 4</h5>
<pre><code>PS C:\&gt; Get-DbaReplPublication -SqlInstance mssql1 -Name Mergey
<pre><code>PS C:\&gt; Get-DbaReplPublication -SqlInstance mssql1 -Name Merge
</code></pre>
<p>Returns the Mergey publications on server mssql1<br></p>
<h5 id="example-5">Example: 5</h5>
Expand Down
66 changes: 66 additions & 0 deletions New-DbaComputerCertificate.html
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ <h2 id="syntax">Syntax</h2>
[[-Dns] &lt;String[]&gt;]
[-SelfSigned]
[-EnableException]
[[-HashAlgorithm] &lt;String&gt;]
[[-MonthsValid] &lt;Int32&gt;]
[-WhatIf]
[-Confirm]
[&lt;CommonParameters&gt;]
Expand Down Expand Up @@ -543,6 +545,10 @@ <h5 id="example-5">Example: 5</h5>
<pre><code>PS C:\&gt; New-DbaComputerCertificate -SelfSigned
</code></pre>
<p>Creates a self-signed certificate<br></p>
<h5 id="example-6">Example: 6</h5>
<pre><code>PS C:\&gt; New-DbaComputerCertificate -SelfSigned -HashAlgorithm Sha256 -MonthsValid 60
</code></pre>
<p>Creates a self-signed certificate using the SHA256 hashing algorithm that does not expire for 5 years<br></p>
<h3 id="optional-parameters">Optional Parameters</h3>
<h5 id="computername">-ComputerName</h5>
<p>The target SQL Server instance or instances. Defaults to localhost. If target is a cluster, you must also specify ClusterInstanceName (see below)<br></p>
Expand Down Expand Up @@ -982,6 +988,66 @@ <h5 id="enableexception">-EnableException</h5>
</tr>
</tbody>
</table>
<h5 id="hashalgorithm">-HashAlgorithm</h5>
<p>Specifies hashing algorithm for self-signed certificate. Must be one of the values Sha256, sha384, sha512, sha1, md5, md4, md2.<br></p>
<table>
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Alias</td>
<td></td>
</tr>
<tr>
<td>Required</td>
<td>False</td>
</tr>
<tr>
<td>Pipeline</td>
<td>false</td>
</tr>
<tr>
<td>Default Value</td>
<td>sha1</td>
</tr>
<tr>
<td>Accepted Values</td>
<td>Sha256,sha384,sha512,sha1,md5,md4,md2</td>
</tr>
</tbody>
</table>
<h5 id="monthsvalid">-MonthsValid</h5>
<p>Allows you to specify the number of months a self-signed certificate will be valid for. e.g a value of 60 will generate a certificate vaild until 5 years (60 months) time.<br></p>
<table>
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Alias</td>
<td></td>
</tr>
<tr>
<td>Required</td>
<td>False</td>
</tr>
<tr>
<td>Pipeline</td>
<td>false</td>
</tr>
<tr>
<td>Default Value</td>
<td>12</td>
</tr>
</tbody>
</table>
<h5 id="whatif">-WhatIf</h5>
<p>Shows what would happen if the command were to run. No actions are actually performed.<br></p>
<table>
Expand Down
2 changes: 1 addition & 1 deletion Remove-DbaReplSubscription.html
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ <h1 id="remove-dbareplsubscription">Remove-DbaReplSubscription</h1>
<br>
Want to see the Bill Of Health for this command? Check out <a href="https://dataplat.github.io/boh#Remove-DbaReplSubscription">Remove-DbaReplSubscription</a>.</p>
<h2 id="synopsis">Synopsis</h2>
<p>Removes a subscription \for the target SQL instances.</p>
<p>Removes a subscription for the target SQL instances.</p>
<h2 id="description">Description</h2>
<p>Removes a subscription for the target SQL instances.</p>
<p><a href="https://learn.microsoft.com/en-us/sql/relational-databases/replication/delete-a-push-subscription?view=sql-server-ver16">https://learn.microsoft.com/en-us/sql/relational-databases/replication/delete-a-push-subscription?view=sql-server-ver16</a>
Expand Down
2 changes: 1 addition & 1 deletion Select-DbaBackupInformation.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ <h5 id="example-4">Example: 4</h5>
<pre><code>PS C:\&gt; $Backups = Get-DbaBackupInformation -SqlInstance Server1 -Path \\server1\backups$
PS C:\&gt; $FilteredBackups = $Backups | Select-DbaBackupInformation -RestoreTime (Get-Date).AddHours(-1) -IgnoreDiffs
</code></pre>
<p>Returns all the backups in \server1\backups$ to restore to 1 hour ago using only Full and Diff backups.<br></p>
<p>Returns all the backups in \server1\backups$ to restore to 1 hour ago using only Full and Log backups.<br></p>
<h3 id="required-parameters">Required Parameters</h3>
<h5 id="backuphistory">-BackupHistory</h5>
<p>A dbatools.BackupHistory object containing backup history records<br></p>
Expand Down
Binary file modified assets/dbatools-index.json
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/external.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.1.8",
"version": "2.1.11",
"external_links": [
{
"name": "offline installs of dbatools",
Expand Down
Loading

0 comments on commit df14062

Please sign in to comment.