Skip to content

Commit 4c3bf85

Browse files
potatoqualiteegithub-actions[bot]
authored andcommitted
refreshing docs pages
1 parent 084629d commit 4c3bf85

35 files changed

+1627
-937
lines changed

Add-DbaServerRoleMember.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,8 @@ <h5 id="example-6">Example: 6</h5>
532532
</code></pre>
533533
<p>Adds login1 on the server localhost to the bulkadmin and dbcreator fixed server-level roles.<br></p>
534534
<h5 id="example-7">Example: 7</h5>
535-
<pre><code>PS C:\&gt; PS C:\ $logins = Get-Content C:\logins.txt
536-
</code></pre>
537-
<p>PS C:\ $srvLogins = Get-DbaLogin -SqlInstance server1 -Login $logins<br>
535+
<p>PS &gt; PS C:\ $logins = Get-Content C:\logins.txt<br>
536+
PS C:\ $srvLogins = Get-DbaLogin -SqlInstance server1 -Login $logins<br>
538537
PS C:\ New-DbaServerRole -SqlInstance server1 -ServerRole mycustomrole -Owner sa | Add-DbaServerRoleMember -Login $logins<br>
539538
Adds all the logins found in C:\logins.txt to the newly created server-level role mycustomrole on server1.<br></p>
540539
<h3 id="optional-parameters">Optional Parameters</h3>

Copy-DbaDbTableData.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,8 @@ <h5 id="example-7">Example: 7</h5>
579579
<p>Copies data returned from the query on server1 into the AdventureWorks2017 on server1, using a 3-part name for the DestinationTable parameter. Copy is processed in BatchSize of 10000 rows.<br>
580580
See the Query param documentation for more details.<br></p>
581581
<h5 id="example-8">Example: 8</h5>
582-
<pre><code>PS C:\&gt; Copy-DbaDbTableData -SqlInstance sql1 -Database tempdb -View [tempdb].[dbo].[vw1] -DestinationTable [SampleDb].[SampleSchema].[SampleTable] -AutoCreateTable
583-
</code></pre>
584-
<p>Copies all data from [tempdb].[dbo].[vw1] (3-part name) view on instance sql1 to an auto-created table [SampleDb].[SampleSchema].[SampleTable] on instance sql1<br></p>
582+
<p>PS &gt; Copy-DbaDbTableData -SqlInstance sql1 -Database tempdb -View [tempdb].[dbo].[vw1] -DestinationTable [SampleDb].[SampleSchema].[SampleTable] -AutoCreateTable<br>
583+
Copies all data from [tempdb].[dbo].[vw1] (3-part name) view on instance sql1 to an auto-created table [SampleDb].[SampleSchema].[SampleTable] on instance sql1<br></p>
585584
<h3 id="optional-parameters">Optional Parameters</h3>
586585
<h5 id="sqlinstance">-SqlInstance</h5>
587586
<p>Source SQL Server.You must have sysadmin access and server version must be SQL Server version 2000 or greater.<br></p>

Export-DbatoolsConfig.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,8 @@ <h5 id="example-1">Example: 1</h5>
524524
</code></pre>
525525
<p>Exports all current settings to json.<br></p>
526526
<h5 id="example-2">Example: 2</h5>
527-
<pre><code>PS C:\&gt; Export-DbatoolsConfig -Module message -OutPath '~/export.json' -SkipUnchanged
528-
</code></pre>
529-
<p>Exports all settings of the module 'message' that are no longer the original default values to json.<br></p>
527+
<p>PS &gt; Export-DbatoolsConfig -Module message -OutPath '~/export.json' -SkipUnchanged<br>
528+
Exports all settings of the module 'message' that are no longer the original default values to json.<br></p>
530529
<h3 id="required-parameters">Required Parameters</h3>
531530
<h5 id="fullname">-FullName</h5>
532531
<p>Select the configuration objects to export by filtering by their full name. <br></p>

Find-DbaAgentJob.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,8 @@ <h5 id="example-9">Example: 9</h5>
547547
</code></pre>
548548
<p>Queries CMS server to return all SQL instances in the Production folder and then list out all agent jobs that have either been disabled or have no schedule.<br></p>
549549
<h5 id="example-10">Example: 10</h5>
550-
<pre><code>PS C:\&gt; $Instances = 'SQL2017N5','SQL2019N5','SQL2019N20','SQL2019N21','SQL2019N22'
551-
</code></pre>
552-
<p>Find-DbaAgentJob -SqlInstance $Instances -JobName <em>backup</em> -IsNotScheduled<br>
550+
<p>PS &gt; $Instances = 'SQL2017N5','SQL2019N5','SQL2019N20','SQL2019N21','SQL2019N22'<br>
551+
Find-DbaAgentJob -SqlInstance $Instances -JobName <em>backup</em> -IsNotScheduled<br>
553552
Returns all agent job(s) wiht backup in the name, that don't have a schedule on 'SQL2017N5','SQL2019N5','SQL2019N20','SQL2019N21','SQL2019N22'<br></p>
554553
<h3 id="required-parameters">Required Parameters</h3>
555554
<h5 id="sqlinstance">-SqlInstance</h5>

Get-DbaRandomizedDataset.html

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -505,25 +505,20 @@ <h2 id="syntax">Syntax</h2>
505505
<h2 id="examples">Examples</h2>
506506
<p> </p>
507507
<h5 id="example-1">Example: 1</h5>
508-
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -Template Personaldata
509-
</code></pre>
510-
<p>Generate a data set based on the default template PersonalData.<br></p>
508+
<p>PS &gt; Get-DbaRandomizedDataset -Template Personaldata<br>
509+
Generate a data set based on the default template PersonalData.<br></p>
511510
<h5 id="example-2">Example: 2</h5>
512-
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -Template Personaldata -Rows 10
513-
</code></pre>
514-
<p>Generate a data set based on the default template PersonalData with 10 rows<br></p>
511+
<p>PS &gt; Get-DbaRandomizedDataset -Template Personaldata -Rows 10<br>
512+
Generate a data set based on the default template PersonalData with 10 rows<br></p>
515513
<h5 id="example-3">Example: 3</h5>
516-
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -TemplateFile C:\Dataset\FinancialData.json
517-
</code></pre>
518-
<p>Generates data set based on a template file in another directory<br></p>
514+
<p>PS &gt; Get-DbaRandomizedDataset -TemplateFile C:\Dataset\FinancialData.json<br>
515+
Generates data set based on a template file in another directory<br></p>
519516
<h5 id="example-4">Example: 4</h5>
520-
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -Template Personaldata, FinancialData
521-
</code></pre>
522-
<p>Generates multiple data sets<br></p>
517+
<p>PS &gt; Get-DbaRandomizedDataset -Template Personaldata, FinancialData<br>
518+
Generates multiple data sets<br></p>
523519
<h5 id="example-5">Example: 5</h5>
524-
<pre><code>PS C:\&gt; Get-DbaRandomizedDatasetTemplate -Template PersonalData | Get-DbaRandomizedDataset
525-
</code></pre>
526-
<p>Pipe the templates from Get-DbaRandomizedDatasetTemplate to Get-DbaRandomizedDataset and generate the data set<br></p>
520+
<p>PS &gt; Get-DbaRandomizedDatasetTemplate -Template PersonalData | Get-DbaRandomizedDataset<br>
521+
Pipe the templates from Get-DbaRandomizedDatasetTemplate to Get-DbaRandomizedDataset and generate the data set<br></p>
527522
<h3 id="optional-parameters">Optional Parameters</h3>
528523
<h5 id="template">-Template</h5>
529524
<p>The name of the template to use.<br />

Get-DbaRandomizedDatasetTemplate.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -501,17 +501,14 @@ <h2 id="syntax">Syntax</h2>
501501
<h2 id="examples">Examples</h2>
502502
<p> </p>
503503
<h5 id="example-1">Example: 1</h5>
504-
<pre><code>PS C:\&gt; Get-DbaRandomizedDatasetTemplate
505-
</code></pre>
506-
<p>Get the templates from the default directory<br></p>
504+
<p>PS &gt; Get-DbaRandomizedDatasetTemplate<br>
505+
Get the templates from the default directory<br></p>
507506
<h5 id="example-2">Example: 2</h5>
508-
<pre><code>PS C:\&gt; Get-DbaRandomizedDatasetTemplate -Template Personaldata, Test
509-
</code></pre>
510-
<p>Get the templates from thedefault directory and filter on PersonalData and Test<br></p>
507+
<p>PS &gt; Get-DbaRandomizedDatasetTemplate -Template Personaldata, Test<br>
508+
Get the templates from thedefault directory and filter on PersonalData and Test<br></p>
511509
<h5 id="example-3">Example: 3</h5>
512-
<pre><code>PS C:\&gt; Get-DbaRandomizedDatasetTemplate -Path C:\DatasetTemplates
513-
</code></pre>
514-
<p>Get the templates from a custom directory<br></p>
510+
<p>PS &gt; Get-DbaRandomizedDatasetTemplate -Path C:\DatasetTemplates<br>
511+
Get the templates from a custom directory<br></p>
515512
<h3 id="optional-parameters">Optional Parameters</h3>
516513
<h5 id="template">-Template</h5>
517514
<p>The name of the template to use.<br />

Get-DbaRandomizedType.html

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -501,21 +501,17 @@ <h2 id="syntax">Syntax</h2>
501501
<h2 id="examples">Examples</h2>
502502
<p> </p>
503503
<h5 id="example-1">Example: 1</h5>
504-
<pre><code>PS C:\&gt; Get-DbaRandomizedType
505-
</code></pre>
506-
<p>Get all the types and subtypes<br></p>
504+
<p>PS &gt; Get-DbaRandomizedType<br>
505+
Get all the types and subtypes<br></p>
507506
<h5 id="example-2">Example: 2</h5>
508-
<pre><code>PS C:\&gt; Get-DbaRandomizedType -Pattern &quot;Addr&quot;
509-
</code></pre>
510-
<p>Find all the types and sub types based on a pattern<br></p>
507+
<p>PS &gt; Get-DbaRandomizedType -Pattern &quot;Addr&quot;<br>
508+
Find all the types and sub types based on a pattern<br></p>
511509
<h5 id="example-3">Example: 3</h5>
512-
<pre><code>PS C:\&gt; Get-DbaRandomizedType -RandomizedType Person
513-
</code></pre>
514-
<p>Find all the sub types for Person<br></p>
510+
<p>PS &gt; Get-DbaRandomizedType -RandomizedType Person<br>
511+
Find all the sub types for Person<br></p>
515512
<h5 id="example-4">Example: 4</h5>
516-
<pre><code>PS C:\&gt; Get-DbaRandomizedType -RandomizedSubType LastName
517-
</code></pre>
518-
<p>Get all the types and subtypes that known by &quot;LastName&quot;<br></p>
513+
<p>PS &gt; Get-DbaRandomizedType -RandomizedSubType LastName<br>
514+
Get all the types and subtypes that known by &quot;LastName&quot;<br></p>
519515
<h3 id="optional-parameters">Optional Parameters</h3>
520516
<h5 id="randomizedtype">-RandomizedType</h5>
521517
<p>Filter the randomized types<br></p>

Get-DbaRandomizedValue.html

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -511,25 +511,20 @@ <h2 id="syntax">Syntax</h2>
511511
<h2 id="examples">Examples</h2>
512512
<p> </p>
513513
<h5 id="example-1">Example: 1</h5>
514-
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -DataType bit
515-
</code></pre>
516-
<p>Will return either a 1 or 0<br></p>
514+
<p>PS &gt; Get-DbaRandomizedValue -DataType bit<br>
515+
Will return either a 1 or 0<br></p>
517516
<h5 id="example-2">Example: 2</h5>
518-
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -DataType int
519-
</code></pre>
520-
<p>Will generate a number between -2147483648 and 2147483647<br></p>
517+
<p>PS &gt; Get-DbaRandomizedValue -DataType int<br>
518+
Will generate a number between -2147483648 and 2147483647<br></p>
521519
<h5 id="example-3">Example: 3</h5>
522-
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode
523-
</code></pre>
524-
<p>Generates a random zipcode<br></p>
520+
<p>PS &gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode<br>
521+
Generates a random zipcode<br></p>
525522
<h5 id="example-4">Example: 4</h5>
526-
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode -Format &quot;#### ##&quot;
527-
</code></pre>
528-
<p>Generates a random zipcode like &quot;1234 56&quot;<br></p>
523+
<p>PS &gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode -Format &quot;#### ##&quot;<br>
524+
Generates a random zipcode like &quot;1234 56&quot;<br></p>
529525
<h5 id="example-5">Example: 5</h5>
530-
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -RandomizerSubType PhoneNumber -Format &quot;(###) #######&quot;
531-
</code></pre>
532-
<p>Generates a random phonenumber like &quot;(123) 4567890&quot;<br></p>
526+
<p>PS &gt; Get-DbaRandomizedValue -RandomizerSubType PhoneNumber -Format &quot;(###) #######&quot;<br>
527+
Generates a random phonenumber like &quot;(123) 4567890&quot;<br></p>
533528
<h3 id="optional-parameters">Optional Parameters</h3>
534529
<h5 id="datatype">-DataType</h5>
535530
<p>The target SQL Server instance or instances.<br />

Get-DbaReplArticle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ <h1 id="get-dbareplarticle">Get-DbaReplArticle</h1>
472472
<tbody>
473473
<tr>
474474
<td><strong>Author</strong></td>
475-
<td>Cláudio Silva (@claudioessilva), claudioessilva.eu</td>
475+
<td>Cláudio Silva (@claudioessilva), claudioessilva.eu</td>
476476
</tr>
477477
<tr>
478478
<td><strong>Availability</strong></td>

Get-DbaReplArticleColumn.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ <h1 id="get-dbareplarticlecolumn">Get-DbaReplArticleColumn</h1>
472472
<tbody>
473473
<tr>
474474
<td><strong>Author</strong></td>
475-
<td>Cláudio Silva (@claudioessilva), claudioessilva.eu</td>
475+
<td>Cláudio Silva (@claudioessilva), claudioessilva.eu</td>
476476
</tr>
477477
<tr>
478478
<td><strong>Availability</strong></td>

0 commit comments

Comments
 (0)