New-SCSPFStamp

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

Syntax

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

Description

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

Examples

Example 1: Create a stamp

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

This command creates a stamp.

Example 2: Create a stamp for a DataCenter object

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

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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DataCenter

Specifies the name of a DataCenter object.

Type:Microsoft.SystemCenter.Foundation.SPFData.Types.DataCenter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies a name for the stamp.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Servers

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

Type:Microsoft.SystemCenter.Foundation.SPFData.Types.Server[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tenants

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

Type:Microsoft.SystemCenter.Foundation.SPFData.Types.Tenant[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object