Freigeben über


Get-SCCloudCapacity

Gets the cloud capacity for a private cloud.

Syntax

Default (Default)

Get-SCCloudCapacity
    [[-Cloud] <Cloud>]
    [-VMMServer <ServerConnection>]
    [<CommonParameters>]

Description

The Get-SCCloudCapacity cmdlet gets the cloud capacity for a private cloud in Virtual Machine Manager (VMM). Cloud capacity includes settings for the number of virtual machines, number of virtual CPUs, custom quota points, storage, and memory assigned to a private cloud.

Examples

Example 1: Get the cloud capacity for a specified private cloud

PS C:\> $Cloud = Get-SCCloud -Name "Cloud01"
PS C:\> Get-SCCloudCapacity -Cloud $Cloud

The first command gets the private cloud object named Cloud01 and stores the object in the $Cloud variable.

The second command gets the cloud capacity for the private cloud object stored in $Cloud, and displays information about the cloud capacity to the user.

Parameters

-Cloud

Specifies a private cloud object.

Parameter properties

Type:Cloud
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a VMM server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.