New-PnPTenantSequence

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/New-PnPTenantSequence.md to change this file.

Creates a new tenant sequence object

Syntax

New-PnPTenantSequence
   [-Id <String>]  
   [<CommonParameters>]

Examples

EXAMPLE 1

$sequence = New-PnPTenantSequence

Creates a new instance of a tenant sequence object.

EXAMPLE 2

$sequence = New-PnPTenantSequence -Id "MySequence"

Creates a new instance of a tenant sequence object and sets the Id to the value specified.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Id

Optional Id of the sequence

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False