Skip to content

Commit 0a4cc5e

Browse files
potatoqualiteegithub-actions[bot]
authored andcommitted
refreshing docs pages
1 parent e4f1829 commit 0a4cc5e

33 files changed

+902
-844
lines changed

Add-DbaServerRoleMember.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,9 @@ <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-
<p>PS &gt; PS C:\ $logins = Get-Content C:\logins.txt<br>
536-
PS C:\ $srvLogins = Get-DbaLogin -SqlInstance server1 -Login $logins<br>
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>
537538
PS C:\ New-DbaServerRole -SqlInstance server1 -ServerRole mycustomrole -Owner sa | Add-DbaServerRoleMember -Login $logins<br>
538539
Adds all the logins found in C:\logins.txt to the newly created server-level role mycustomrole on server1.<br></p>
539540
<h3 id="optional-parameters">Optional Parameters</h3>

Copy-DbaDbTableData.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,9 @@ <h5 id="example-7">Example: 7</h5>
581581
<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>
582582
See the Query param documentation for more details.<br></p>
583583
<h5 id="example-8">Example: 8</h5>
584-
<p>PS &gt; Copy-DbaDbTableData -SqlInstance sql1 -Database tempdb -View [tempdb].[dbo].[vw1] -DestinationTable [SampleDb].[SampleSchema].[SampleTable] -AutoCreateTable<br>
585-
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>
584+
<pre><code>PS C:\&gt; Copy-DbaDbTableData -SqlInstance sql1 -Database tempdb -View [tempdb].[dbo].[vw1] -DestinationTable [SampleDb].[SampleSchema].[SampleTable] -AutoCreateTable
585+
</code></pre>
586+
<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>
586587
<h3 id="optional-parameters">Optional Parameters</h3>
587588
<h5 id="sqlinstance">-SqlInstance</h5>
588589
<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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,9 @@ <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-
<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>
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>
529530
<h3 id="required-parameters">Required Parameters</h3>
530531
<h5 id="fullname">-FullName</h5>
531532
<p>Specifies the complete configuration setting name to export, including the module prefix (e.g., 'dbatools.path.dbatoolsdata').<br />

Find-DbaAgentJob.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,9 @@ <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-
<p>PS &gt; $Instances = 'SQL2017N5','SQL2019N5','SQL2019N20','SQL2019N21','SQL2019N22'<br>
551-
Find-DbaAgentJob -SqlInstance $Instances -JobName <em>backup</em> -IsNotScheduled<br>
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>
552553
Returns all agent job(s) wiht backup in the name, that don't have a schedule on 'SQL2017N5','SQL2019N5','SQL2019N20','SQL2019N21','SQL2019N22'<br></p>
553554
<h3 id="required-parameters">Required Parameters</h3>
554555
<h5 id="sqlinstance">-SqlInstance</h5>

Get-DbaRandomizedDataset.html

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -503,20 +503,25 @@ <h2 id="syntax">Syntax</h2>
503503
<h2 id="examples">Examples</h2>
504504
<p> </p>
505505
<h5 id="example-1">Example: 1</h5>
506-
<p>PS &gt; Get-DbaRandomizedDataset -Template Personaldata<br>
507-
Generate a data set based on the default template PersonalData.<br></p>
506+
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -Template Personaldata
507+
</code></pre>
508+
<p>Generate a data set based on the default template PersonalData.<br></p>
508509
<h5 id="example-2">Example: 2</h5>
509-
<p>PS &gt; Get-DbaRandomizedDataset -Template Personaldata -Rows 10<br>
510-
Generate a data set based on the default template PersonalData with 10 rows<br></p>
510+
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -Template Personaldata -Rows 10
511+
</code></pre>
512+
<p>Generate a data set based on the default template PersonalData with 10 rows<br></p>
511513
<h5 id="example-3">Example: 3</h5>
512-
<p>PS &gt; Get-DbaRandomizedDataset -TemplateFile C:\Dataset\FinancialData.json<br>
513-
Generates data set based on a template file in another directory<br></p>
514+
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -TemplateFile C:\Dataset\FinancialData.json
515+
</code></pre>
516+
<p>Generates data set based on a template file in another directory<br></p>
514517
<h5 id="example-4">Example: 4</h5>
515-
<p>PS &gt; Get-DbaRandomizedDataset -Template Personaldata, FinancialData<br>
516-
Generates multiple data sets<br></p>
518+
<pre><code>PS C:\&gt; Get-DbaRandomizedDataset -Template Personaldata, FinancialData
519+
</code></pre>
520+
<p>Generates multiple data sets<br></p>
517521
<h5 id="example-5">Example: 5</h5>
518-
<p>PS &gt; Get-DbaRandomizedDatasetTemplate -Template PersonalData | Get-DbaRandomizedDataset<br>
519-
Pipe the templates from Get-DbaRandomizedDatasetTemplate to Get-DbaRandomizedDataset and generate the data set<br></p>
522+
<pre><code>PS C:\&gt; Get-DbaRandomizedDatasetTemplate -Template PersonalData | Get-DbaRandomizedDataset
523+
</code></pre>
524+
<p>Pipe the templates from Get-DbaRandomizedDatasetTemplate to Get-DbaRandomizedDataset and generate the data set<br></p>
520525
<h3 id="optional-parameters">Optional Parameters</h3>
521526
<h5 id="template">-Template</h5>
522527
<p>Specifies the name of one or more built-in templates to use for data generation.<br />

Get-DbaRandomizedDatasetTemplate.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,14 +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-
<p>PS &gt; Get-DbaRandomizedDatasetTemplate<br>
505-
Get the templates from the default directory<br></p>
504+
<pre><code>PS C:\&gt; Get-DbaRandomizedDatasetTemplate
505+
</code></pre>
506+
<p>Get the templates from the default directory<br></p>
506507
<h5 id="example-2">Example: 2</h5>
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>
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>
509511
<h5 id="example-3">Example: 3</h5>
510-
<p>PS &gt; Get-DbaRandomizedDatasetTemplate -Path C:\DatasetTemplates<br>
511-
Get the templates from a custom directory<br></p>
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>
512515
<h3 id="optional-parameters">Optional Parameters</h3>
513516
<h5 id="template">-Template</h5>
514517
<p>Specifies which template files to retrieve by name (without the .json extension).<br />

Get-DbaRandomizedType.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -501,17 +501,21 @@ <h2 id="syntax">Syntax</h2>
501501
<h2 id="examples">Examples</h2>
502502
<p> </p>
503503
<h5 id="example-1">Example: 1</h5>
504-
<p>PS &gt; Get-DbaRandomizedType<br>
505-
Get all the types and subtypes<br></p>
504+
<pre><code>PS C:\&gt; Get-DbaRandomizedType
505+
</code></pre>
506+
<p>Get all the types and subtypes<br></p>
506507
<h5 id="example-2">Example: 2</h5>
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>
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>
509511
<h5 id="example-3">Example: 3</h5>
510-
<p>PS &gt; Get-DbaRandomizedType -RandomizedType Person<br>
511-
Find all the sub types for Person<br></p>
512+
<pre><code>PS C:\&gt; Get-DbaRandomizedType -RandomizedType Person
513+
</code></pre>
514+
<p>Find all the sub types for Person<br></p>
512515
<h5 id="example-4">Example: 4</h5>
513-
<p>PS &gt; Get-DbaRandomizedType -RandomizedSubType LastName<br>
514-
Get all the types and subtypes that known by &quot;LastName&quot;<br></p>
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>
515519
<h3 id="optional-parameters">Optional Parameters</h3>
516520
<h5 id="randomizedtype">-RandomizedType</h5>
517521
<p>Filters results to specific main data categories for realistic test data generation.<br />

Get-DbaRandomizedValue.html

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -513,20 +513,25 @@ <h2 id="syntax">Syntax</h2>
513513
<h2 id="examples">Examples</h2>
514514
<p> </p>
515515
<h5 id="example-1">Example: 1</h5>
516-
<p>PS &gt; Get-DbaRandomizedValue -DataType bit<br>
517-
Will return either a 1 or 0<br></p>
516+
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -DataType bit
517+
</code></pre>
518+
<p>Will return either a 1 or 0<br></p>
518519
<h5 id="example-2">Example: 2</h5>
519-
<p>PS &gt; Get-DbaRandomizedValue -DataType int<br>
520-
Will generate a number between -2147483648 and 2147483647<br></p>
520+
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -DataType int
521+
</code></pre>
522+
<p>Will generate a number between -2147483648 and 2147483647<br></p>
521523
<h5 id="example-3">Example: 3</h5>
522-
<p>PS &gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode<br>
523-
Generates a random zipcode<br></p>
524+
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode
525+
</code></pre>
526+
<p>Generates a random zipcode<br></p>
524527
<h5 id="example-4">Example: 4</h5>
525-
<p>PS &gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode -Format &quot;#### ##&quot;<br>
526-
Generates a random zipcode like &quot;1234 56&quot;<br></p>
528+
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -RandomizerSubType Zipcode -Format &quot;#### ##&quot;
529+
</code></pre>
530+
<p>Generates a random zipcode like &quot;1234 56&quot;<br></p>
527531
<h5 id="example-5">Example: 5</h5>
528-
<p>PS &gt; Get-DbaRandomizedValue -RandomizerSubType PhoneNumber -Format &quot;(###) #######&quot;<br>
529-
Generates a random phonenumber like &quot;(123) 4567890&quot;<br></p>
532+
<pre><code>PS C:\&gt; Get-DbaRandomizedValue -RandomizerSubType PhoneNumber -Format &quot;(###) #######&quot;
533+
</code></pre>
534+
<p>Generates a random phonenumber like &quot;(123) 4567890&quot;<br></p>
530535
<h3 id="optional-parameters">Optional Parameters</h3>
531536
<h5 id="datatype">-DataType</h5>
532537
<p>Specifies the SQL Server data type for which to generate a random value that matches the type's constraints and range.<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)