Add-WssLocalMachineCert
Add-WssLocalMachineCert
Adds or renews a certificate for the current computer.
Syntax
Add-WssLocalMachineCert [ <CommonParameters>]
Detailed Description
The Add-WssLocalMachineCert cmdlet adds or renews a self-issued root certificate for the current server.
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Add or renew a certificate
This command adds or renews a certificate for the server.
PS C:\> Add-WssLocalMachineCert