New-SCSPFStamp

New-SCSPFStamp

Creates a stamp for a server or an instance of a System Center 2016 component.

Syntax

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




Detailed Description

The New-SCSPFStamp cmdlet creates a new stamp, which is a logical scale unit that specifies an instance of a System Center 2016 component running on a server. As tenants need additional capacity, additional stamps are provided.

Parameters

-DataCenter<DataCenter>

Specifies the name of a DataCenter object.


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

-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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

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

Example 1: Create a stamp

This command creates a stamp.


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

Example 2: Create a stamp for a DataCenter object

The first command gets a DataCenter object with the New-Object cmdlet with Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter specified as the value for TypeName.

The second command sets the Name property of the DataCenter object to the name of your data center.

The third command creates a stamp.


PS C:\> $DataCenterObject = New-Object Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter
PS C:\> $DataCenterObject.Name = "DataCenter_Contoso"
PS C:\> New-SCSPFStamp -Name "ContosoStamp" -DataCenter DataCenterObject

Related topics

Community Additions

ADD
Show: