Convert-Uint16ToString
SYNOPSIS
Converts uin16 arrays to a readable string.
SYNTAX
Convert-Uint16ToString [[-Members] <UInt16[]>] [<CommonParameters>]
DESCRIPTION
Take the members from a uint16 array and converts it to a user friendly string.
EXAMPLES
EXAMPLE 1
Convert-Uint16ToString $uint16array
Converts the uint16 array in the $uint16array variable.
EXAMPLE 2
Convert-Uint16ToString ((Get-CimInstance WmiMonitorID -Namespace root/WMI)[0] | Select-Object -ExpandProperty SerialNumberID)
Converts the SerialNumberID of the first monitor to a readable format.
PARAMETERS
-Members
Takes the array members for a uint16 array.
Type: UInt16[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
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
System.String
NOTES
ALIASES
None.
PLATFORM APPLICABILITY
Windows, macOS, and Linux.
POWERSHELL COMPATIBILITY
See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.
RELATED LINKS
https://docs.keldor.dev/powershell/keldor/Convert-Uint16ToString