Subject Parameter (New-Certificate Cmdlet)
Specifies the subject of the certificate to create.
Syntax
New-Certificate -Subject string
Remarks
Should be the full subject of the new certificate.
The subject must be in the full distinguished name form. For instance a simple subject can be set like so:
-subject
'CN=MyCertificate'
-subject 'CN=MyCertificate, C=US, O=MyCompany, OU=MyUnit
Default Value
""
This is a required parameter.