New-SCSPFStamp
Creates a stamp for a server or an instance of a System Center 2016 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 2016 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: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DataCenter
Specifies the name of a DataCenter object.
Type: | DataCenter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies a name for the stamp.
Type: | 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: | 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: | 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: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |