Test-Numeric¶
SYNOPSIS¶
Tests if a given object is numeric.
SYNTAX¶
DESCRIPTION¶
This cmdlet will test if a given object is numeric.
EXAMPLES¶
Example 1¶
This would return true as 5 is a number.
PARAMETERS¶
-InputObject¶
The object to test
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: 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.