< Back

Get-StatusIdByName

Sat Jan 18, 2020 6:42 pm

NAME Get-StatusIdByName



SYNOPSIS





SYNTAX

Get-StatusIdByName [-StatusName] <String> [-RestServer] <String> [<CommonParameters>]





DESCRIPTION

This function will get the Status_ID from a Status_NAme





PARAMETERS

-StatusName <String>

A StatusName is required.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RestServer <String>

A RestServer is required.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Int32





NOTES





This will return an integer.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-StatusIdByName -StatusName Running -RestServer localhost















RELATED LINKS