Tag: file-io
All the articles with the tag "file-io".
-
Efficient Base64 conversion in PowerShell
Chunk-based Base64 file conversion in PowerShell that avoids loading the entire file into memory for large files.
-
PowerShell Resolve-Path Safe
How to resolve paths for non-existent files in PowerShell using GetUnresolvedProviderPathFromPSPath instead of Resolve-Path.
-
PowerShell Get-Content vs _System.IO.File___ReadAllText
Difference between Get-Content (returns array of lines) and ReadAllText (returns full string), with alternatives for both PowerShell versions.