Skip to content

New SdnNetworkControllerNodeCertificate

github-actions edited this page Jan 12, 2023 · 1 revision

New-SdnNetworkControllerNodeCertificate

SYNOPSIS

Generate new Self-Signed Certificate to be used by Network Controller node.

SYNTAX

New-SdnNetworkControllerNodeCertificate [[-NotAfter] <DateTime>] [-CertPassword] <SecureString>
 [[-Path] <String>] [[-FabricDetails] <Object>] [[-Credential] <PSCredential>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1


PARAMETERS

-NotAfter

Specifies the date and time, as a DateTime object, that the certificate expires. To obtain a DateTime object, use the Get-Date cmdlet. The default value for this parameter is one year after the certificate was created.

Type: DateTime
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: (Get-Date).AddYears(1)
Accept pipeline input: False
Accept wildcard characters: False

-CertPassword

Specifies the password for the exported PFX file in the form of a secure string.

Type: SecureString
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

{{ Fill Path Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: "$(Get-WorkingDirectory)\Cert_{0}" -f (Get-FormattedDateTimeUTC)
Accept pipeline input: False
Accept wildcard characters: False

-FabricDetails

{{ Fill FabricDetails Description }}

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Credential

{{ Fill Credential Description }}

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Documentation

How To Guides:

Troubleshooting Guides

Learning

Functions

Clone this wiki locally