Sha256: 0f43ddabe6e975b278bd20803b6abc79cc02f6d920d66d68c4a6c4609a79dee9
Contents?: true
Size: 320 Bytes
Versions: 17
Compression:
Stored size: 320 Bytes
Contents
$p = $ExecutionContext.SessionState.Path $path = $p.GetUnresolvedProviderPathFromPSPath("<%= path %>") If (Test-Path $path -PathType Leaf) { $bytes = [System.convert]::ToBase64String([System.IO.File]::ReadAllBytes($path)) Write-Host $bytes exit 0 } ElseIf (Test-Path $path -PathType Container) { exit 0 } exit 1
Version data entries
17 entries across 15 versions & 3 rubygems