Skip to content

New SdnMuxCertificate

Adam Rudell edited this page Jun 21, 2023 · 1 revision

New-SdnMuxCertificate

SYNOPSIS

Generate new self-signed certificate to be used by Load Balancer Mux and distributes to the Network Controller(s) within the environment.

SYNTAX

New-SdnMuxCertificate [[-NotAfter] <DateTime>] [[-Path] <String>] [[-FabricDetails] <Object>]
 [[-Credential] <PSCredential>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

New-SdnMuxCertificate -NotAfter (Get-Date).AddYears(1) -FabricDetails $Global:SdnDiagnostics.EnvironmentInfo

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(3)
Accept pipeline input: False
Accept wildcard characters: False

-Path

Specifies the file path location where a .cer file is exported automatically.

Type: String
Parameter Sets: (All)
Aliases:

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

-FabricDetails

The SDN Fabric details derived from Get-SdnInfrastructureInfo.

Type: Object
Parameter Sets: (All)
Aliases:

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

-Credential

Specifies a user account that has permission to perform this action. The default is the current user

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
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