I wrote this script some years back so forgive me if I’m a little hazy on the details. I believe this was tested with SCOM 2016. It was originally designed to be used with System Center Orchestrator (SCORCH) however you can run it directly on the SCOM management server as well. The script is commented quite a bit but you really should know your way around PowerShell a little bit before using this.
Download “SignCertManageNixAgent”SignCertManageNixAgent_2020.07.20.zip – Downloaded 5198 times – 7.29 KB
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.