Skip to content

New-WETSupplier

SYNOPSIS

Create a new supplier in the WET system.

SYNTAX

New-WETSupplier [-Name] <String> [-Suffix] <String[]> [[-Credential] <PSCredential>] [<CommonParameters>]

DESCRIPTION

This function creates a new supplier in the WET system by providing the supplier's name and email suffixes. Optionally, credentials can be provided for authentication.

EXAMPLES

EXAMPLE 1

New-WETSupplier -Name "ExampleSupplier" -Suffix @("example.com", "example.org")

Creates a new supplier named "ExampleSupplier" with the specified email suffixes.

EXAMPLE 2

New-WETSupplier -Name "ExampleSupplier" -Suffix @("example.com") -Credential (Get-Credential)

Creates a new supplier named "ExampleSupplier" with the specified email suffix and uses the provided credentials for authentication.

PARAMETERS

-Name

The name of the supplier to be created.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Suffix

An array of email suffixes associated with the supplier.

Type: String[]
Parameter Sets: (All)
Aliases:

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

-Credential

The PSCredential object to use for authentication. If not provided, default credentials will be used.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: None
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