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 Apr 12, 2024
1 parent 14cf2c0 commit 4abf786
Show file tree
Hide file tree
Showing 7 changed files with 713 additions and 712 deletions.
18 changes: 9 additions & 9 deletions Add-DbaDbRoleMember.html
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ <h2 id="syntax">Syntax</h2>
[[-SqlCredential] &lt;PSCredential&gt;]
[[-Database] &lt;String[]&gt;]
[[-Role] &lt;String[]&gt;]
[-User] &lt;String[]&gt;
[-Member] &lt;String[]&gt;
[[-InputObject] &lt;Object[]&gt;]
[-EnableException]
[-WhatIf]
Expand All @@ -506,30 +506,30 @@ <h2 id="syntax">Syntax</h2>
<h2 id="examples">Examples</h2>
<p> </p>
<h5 id="example-1">Example: 1</h5>
<pre><code>PS C:\&gt; Add-DbaDbRoleMember -SqlInstance localhost -Database mydb -Role db_owner -User user1
<pre><code>PS C:\&gt; Add-DbaDbRoleMember -SqlInstance localhost -Database mydb -Role db_owner -Member user1
</code></pre>
<p>Adds user1 to the role db_owner in the database mydb on the local default SQL Server instance<br></p>
<h5 id="example-2">Example: 2</h5>
<pre><code>PS C:\&gt; Add-DbaDbRoleMember -SqlInstance localhost, sql2016 -Role SqlAgentOperatorRole -User user1 -Database msdb
<pre><code>PS C:\&gt; Add-DbaDbRoleMember -SqlInstance localhost, sql2016 -Role SqlAgentOperatorRole -Member user1 -Database msdb
</code></pre>
<p>Adds user1 in servers localhost and sql2016 in the msdb database to the SqlAgentOperatorRole<br></p>
<h5 id="example-3">Example: 3</h5>
<pre><code>PS C:\&gt; $servers = Get-Content C:\servers.txt
PS C:\&gt; $servers | Add-DbaDbRoleMember -Role SqlAgentOperatorRole -User user1 -Database msdb
PS C:\&gt; $servers | Add-DbaDbRoleMember -Role SqlAgentOperatorRole -Member user1 -Database msdb
</code></pre>
<p>Adds user1 to the SqlAgentOperatorROle in the msdb database in every server in C:\servers.txt<br></p>
<h5 id="example-4">Example: 4</h5>
<pre><code>PS C:\&gt; Add-DbaDbRoleMember -SqlInstance localhost -Role &quot;db_datareader&quot;,&quot;db_datawriter&quot; -User user1 -Database DEMODB
<pre><code>PS C:\&gt; Add-DbaDbRoleMember -SqlInstance localhost -Role &quot;db_datareader&quot;,&quot;db_datawriter&quot; -Member user1 -Database DEMODB
</code></pre>
<p>Adds user1 in the database DEMODB on the server localhost to the roles db_datareader and db_datawriter<br></p>
<h5 id="example-5">Example: 5</h5>
<pre><code>PS C:\&gt; $roles = Get-DbaDbRole -SqlInstance localhost -Role &quot;db_datareader&quot;,&quot;db_datawriter&quot; -Database DEMODB
PS C:\&gt; $roles | Add-DbaDbRoleMember -User user1
PS C:\&gt; $roles | Add-DbaDbRoleMember -Member user1
</code></pre>
<p>Adds user1 in the database DEMODB on the server localhost to the roles db_datareader and db_datawriter<br></p>
<h3 id="required-parameters">Required Parameters</h3>
<h5 id="user">-User</h5>
<p>The user(s) to add to role(s) specified.<br></p>
<h5 id="member">-Member</h5>
<p>The member(s) (user or role) to add to the Roles specified.<br></p>
<table>
<thead>
<tr>
Expand All @@ -540,7 +540,7 @@ <h5 id="user">-User</h5>
<tbody>
<tr>
<td>Alias</td>
<td></td>
<td>User</td>
</tr>
<tr>
<td>Required</td>
Expand Down
5 changes: 3 additions & 2 deletions Copy-DbaCredential.html
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ <h5 id="example-2">Example: 2</h5>
<p>Copies over one SQL Server Credential (PowerShell Proxy Account) from sqlserver to sqlcluster. If the Credential already exists on the destination, it will be dropped and recreated.<br></p>
<h3 id="required-parameters">Required Parameters</h3>
<h5 id="source">-Source</h5>
<p>Source SQL Server. You must have sysadmin access and server version must be SQL Server version 2000 or higher.<br></p>
<p>Source SQL Server. You must have sysadmin access and server version must be SQL Server version 2005 or higher.
You must be able to open a dedicated admin connection (DAC) to the source SQL Server.<br></p>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -548,7 +549,7 @@ <h5 id="source">-Source</h5>
</tbody>
</table>
<h5 id="destination">-Destination</h5>
<p>Destination SQL Server. You must have sysadmin access and the server must be SQL Server 2000 or higher.<br></p>
<p>Destination SQL Server. You must have sysadmin access and the server must be SQL Server 2005 or higher.<br></p>
<table>
<thead>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions Install-DbaDarlingData.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ <h2 id="synopsis">Synopsis</h2>
<h2 id="description">Description</h2>
<p>Downloads, extracts and installs Erik Darling's stored procedures</p>
<p>DarlingData links:
<a href="https://www.erikdarlingdata.com">https://www.erikdarlingdata.com</a>
<a href="https://www.erikdarling.com">https://www.erikdarling.com</a>
<a href="https://github.com/erikdarlingdata/DarlingData">https://github.com/erikdarlingdata/DarlingData</a></p>
<h2 id="syntax">Syntax</h2>
<pre><code>Install-DbaDarlingData
Expand Down Expand Up @@ -689,7 +689,7 @@ <h5 id="procedure">-Procedure</h5>
</tr>
<tr>
<td>Accepted Values</td>
<td>All,Human,Pressure,Quickie</td>
<td>All,Human,Pressure,Quickie,HumanEvents,PressureDetector,QuickieStore,HumanEventsBlockViewer,LogHunter,HealthParser</td>
</tr>
</tbody>
</table>
Expand Down
4 changes: 2 additions & 2 deletions Set-DbaTcpPort.html
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ <h2 id="syntax">Syntax</h2>
<pre><code>Set-DbaTcpPort
[-SqlInstance] &lt;DbaInstanceParameter[]&gt;
[[-Credential] &lt;PSCredential&gt;]
[-Port] &lt;Int32&gt;
[-Port] &lt;Int32[]&gt;
[[-IpAddress] &lt;IPAddress[]&gt;]
[-Force]
[-EnableException]
Expand Down Expand Up @@ -570,7 +570,7 @@ <h5 id="port">-Port</h5>
</tr>
<tr>
<td>Default Value</td>
<td>0</td>
<td></td>
</tr>
</tbody>
</table>
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.12",
"version": "2.1.13",
"external_links": [
{
"name": "offline installs of dbatools",
Expand Down
Loading

0 comments on commit 4abf786

Please sign in to comment.