You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Backup-DbaDbCertificate.html
+32
Original file line number
Diff line number
Diff line change
@@ -495,6 +495,7 @@ <h2 id="syntax">Syntax</h2>
495
495
[-DecryptionPassword <SecureString>]
496
496
[-Path <FileInfo>]
497
497
[-Suffix <String>]
498
+
[-FileBaseName <String>]
498
499
[-EnableException]
499
500
[-WhatIf]
500
501
[-Confirm]
@@ -509,6 +510,7 @@ <h2 id="syntax">Syntax</h2>
509
510
[-DecryptionPassword <SecureString>]
510
511
[-Path <FileInfo>]
511
512
[-Suffix <String>]
513
+
[-FileBaseName <String>]
512
514
[-EnableException]
513
515
[-WhatIf]
514
516
[-Confirm]
@@ -520,6 +522,7 @@ <h2 id="syntax">Syntax</h2>
520
522
[-DecryptionPassword <SecureString>]
521
523
[-Path <FileInfo>]
522
524
[-Suffix <String>]
525
+
[-FileBaseName <String>]
523
526
[-InputObject <Certificate[]>]
524
527
[-EnableException]
525
528
[-WhatIf]
@@ -829,6 +832,35 @@ <h5 id="suffix">-Suffix</h5>
829
832
</tr>
830
833
</tbody>
831
834
</table>
835
+
<h5id="filebasename">-FileBaseName</h5>
836
+
<p>Override the default naming convention with a fixed name for the certificate and private key file name, useful when exporting a single certificate.<br/>
837
+
".cer" will be appended to the certificate file name and ".pvk" will be appended to the private key file name.<br></p>
838
+
<table>
839
+
<thead>
840
+
<tr>
841
+
<th></th>
842
+
<th></th>
843
+
</tr>
844
+
</thead>
845
+
<tbody>
846
+
<tr>
847
+
<td>Alias</td>
848
+
<td></td>
849
+
</tr>
850
+
<tr>
851
+
<td>Required</td>
852
+
<td>False</td>
853
+
</tr>
854
+
<tr>
855
+
<td>Pipeline</td>
856
+
<td>false</td>
857
+
</tr>
858
+
<tr>
859
+
<td>Default Value</td>
860
+
<td></td>
861
+
</tr>
862
+
</tbody>
863
+
</table>
832
864
<h5id="inputobject">-InputObject</h5>
833
865
<p>Enables piping from Get-DbaDbCertificate<br></p>
<p>Returns all agent jobs that have not ran in the last 10 days ignoring jobs "Yearly - RollUp Workload" and "SMS - Notification"<br></p>
<p>Returns backup information only for databases db1 and db2 on SqlInstance2014a since July 1, 2016 at 10:47 AM.<br></p>
558
558
<h5id="example-4">Example: 4</h5>
@@ -763,8 +763,10 @@ <h5 id="force">-Force</h5>
763
763
</tbody>
764
764
</table>
765
765
<h5id="since">-Since</h5>
766
-
<p>Specifies a starting point for the search for backups. If a DateTime object is passed, that will be used. If a TimeSpan object is passed, that will be added to Get-Date and the resulting value will<br/>
767
-
be used.<br></p>
766
+
<p>Specifies a starting point for the search for backups.<br/>
767
+
This is compared to the date stored in msdb, which gets stored in the timezone of the running SQL Server instance.<br/>
768
+
If a DateTime object is passed, that will be used.<br/>
769
+
If a TimeSpan object is passed, that will be added to Get-Date and the resulting value will be used.<br></p>
0 commit comments