ConvertTo-Base64

Converts byte array or specified file contents to base64 string.


Descrizione

Converts byte array or specified file contents to base64 string. By default, this cmdlet inserts line breaks every 76 characters and outputs the result in a single string. For very large files, you may run into OutOfMemoryExceptions. In this case, use the -Stream parameter which will generate multiple string outputs that, combined together, result in the equivalent base 64 text.

Parametri

Nome Descrizione e modalità d'uso
-LiteralPath -LiteralPath <String[]>


-Path -Path <String[]>


-InputObject -InputObject <PSObject>


-NoLineBreak -NoLineBreak

Suppress line breaks that are added by default every 76 characters.


-Stream -Stream

Outputs multiple strings for the base 64 encoded data. By default, the bytes are accumulated and encoded as a single string which can generate OutOfMemoryExceptions for very large files.


Copyright © 2008 PowerShell Community Extensions team.

Commenti



Nessun commento disponibile.

EmailVerify.NET is a Microsoft .NET software component that validates e-mail addresses. valid email