Поделиться через


New-SCSPFStamp

New-SCSPFStamp

Creates a logical scale unit for servers and instances of System Center components.

Syntax

Parameter Set: Empty
New-SCSPFStamp -Name <String> [-DataCenter <DataCenter> ] [-Offers <Offer[]> ] [-Servers <Server[]> ] [-Tenants <Tenant[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The New-SCSPFStamp cmdlet creates a new stamp, a logical scale unit that specifies a System Center component instance running on a server. As tenants need additional capacity, additional stamps can be provided.

Parameters

-DataCenter<DataCenter>

Specifies the name of a DataCenter object. To obtain a DataCenter object, use the New-Object cmdlet with Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter specified for its TypeName parameter. Then set its Name property to the name of the your data center, as shown in the following example.

PS C:\> $DS = New-Object Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter

PS C:\> $DS.Name = "DataCenter_NorthAmerica"

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the stamp.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Offers<Offer[]>

Specifies the name of one or more offer objects to associate with the new stamp. To obtain an offer, use the Get-SCSPFOffer cmdlet.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Servers<Server[]>

Specifies the name of one or more server objects to associate with the new stamp. To obtain a server, use the Get-SCSPFServer cmdlet.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Tenants<Tenant[]>

Specifies the name of one or more tenant objects to associate with the new stamp. To obtain a tenant, use the Get-SCSPFTenant cmdlet.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

1: Create a stamp.

This command creates a new stamp.

PS C:\> New-SCSPFStamp -Name "Introductory"

Set-SCSPFStamp

Get-SCSPFStamp

Remove-SCSPFStamp