< Back

ConvertTo-BitsPerSecond

Sat Jan 11, 2020 1:38 pm

NAME ConvertTo-BitsPerSecond



SYNOPSIS

Convert bytes to bits per second.





SYNTAX

ConvertTo-BitsPerSecond [-BytesPerSecond <Int32>] -Tbps [<CommonParameters>]



ConvertTo-BitsPerSecond [-BytesPerSecond <Int32>] -Gpbs [<CommonParameters>]



ConvertTo-BitsPerSecond [-BytesPerSecond <Int32>] -Mbps [<CommonParameters>]



ConvertTo-BitsPerSecond [-BytesPerSecond <Int32>] -Kpbs [<CommonParameters>]





DESCRIPTION

ConvertTo-BitsPerSecond converts bytes per second to bits per second.





PARAMETERS

-BytesPerSecond <Int32>



Required? true

Position? 1

Default value 0

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Kpbs [<SwitchParameter>]

Kbps



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Mbps [<SwitchParameter>]

Mpbs



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Gpbs [<SwitchParameter>]

Gbps



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Tbps [<SwitchParameter>]

Tbps



Required? true

Position? named

Default value False

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



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



PS C:\\>ConvertTo-BitsPerSecond -BytesPerSecond 50MB -Kbps



409600



Converts 50 megabyte per second to kilobits per second.











RELATED LINKS