Skip to content

Commit 0a12dab

Browse files
authored
Update script to include note 📓
1 parent 8235888 commit 0a12dab

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

Powershell/Update-SCOMCertificate.ps1

+44
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
<#
2+
.SYNOPSIS
3+
Script to manage and configure certificates for System Center Operations Manager and Remote Desktop Protocol.
4+
5+
.DESCRIPTION
6+
This PowerShell script imports certificates for SCOM and RDP, updates registry settings, and restarts services as necessary.
7+
It allows for management of certificates based on various parameters such as FriendlyName, SubjectName, SerialNumber, etc.
8+
9+
.PARAMETER FriendlyName
10+
Optional. The friendly name of the certificate to import.
11+
12+
.PARAMETER SubjectName
13+
Optional. The subject name of the certificate.
14+
15+
.PARAMETER SerialNumber
16+
Optional. The serial number of the certificate.
17+
18+
.PARAMETER DateIssued
19+
Optional. The issue date of the certificate.
20+
21+
.PARAMETER ExpirationDate
22+
Optional. The expiration date of the certificate.
23+
24+
.PARAMETER ShowAllCertificates
25+
Switch to display all certificates in the Local Computer Personal Certificate Store.
26+
27+
.PARAMETER UpdateRegistry
28+
Switch to update the registry with the script. This is required for the script to make changes.
29+
30+
.EXAMPLE
31+
.\YourScriptName.ps1 -FriendlyName "MyCert" -UpdateRegistry
32+
This example imports a certificate with the friendly name "MyCert" and updates the registry.
33+
34+
.NOTES
35+
Author: Blake Drumm ([email protected])
36+
Date Created: June 6th, 2023
37+
Date Modified: June 14th, 2023
38+
Version: 1.0
39+
40+
This script is designed for use with Microsoft System Center Operations Manager. Ensure you have the appropriate permissions before running this script.
41+
42+
.LINK
43+
https://blakedrumm.com/
44+
#>
145
param
246
(
347
[string]$FriendlyName,

0 commit comments

Comments
 (0)