Skip to content

ConvertTo-Metric

SYNOPSIS

PSCX Cmdlet:

SYNTAX

ConvertTo-Metric [-Value] <Double> [[-Unit] <NonSIUnit>] [<CommonParameters>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

PS C:\>


PARAMETERS

-Value

@{Text=}

Type: System.Double
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Unit

@{Text=}

Type: Pscx.SIUnits.NonSIUnit
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
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

OUTPUTS

NOTES

Back to top