/brshConversions

Collection of handy (and silly) conversion functions

Primary LanguagePowerShellMIT LicenseMIT

brshConversions

Finally moved the misc conversions I've gathered over the years into a module.

At the time of initial commit:

Command                  Description
-------                  -----------
Convert-AddressToName    DNS ip to name lookup
Convert-BytesToSize      Converts any integer size given to a user friendly size.
ConvertFrom-Base64       Convert a string from Base64 encoding to UTF-8
ConvertFrom-HTML         Strips common HTML codes from stings
ConvertFrom-RomanNumeral Convert a Roman numeral to a number
ConvertFrom-SID          Security ID to Username (not available in Linux)
ConvertFrom-URLEncode    URL DE-code a string
Convert-NameToAddress    DNS name to ip lookup
Convert-SubnetMask       Converts to and from CIDR/SubnetMask
ConvertTo-Base64         Convert a string to Base64 encoding
ConvertTo-Celsius        Degrees F to C
ConvertTo-Fahrenheit     Degrees C to F
ConvertTo-Ordinal        Add a suffix to numeral
ConvertTo-RomanNumeral   Convert a number to a Roman numeral
ConvertTo-SID            Username to Security ID (not available in Linux)
ConvertTo-URLEncode      URL EN-code a string
Get-brshConversionsHelp  List commands available in the bdsConversions Module