Sha256: dc0ae46b44a52fef3410c794857b9c9e481ddea98e386708536644607af5f9d6

Contents?: true

Size: 262 Bytes

Versions: 11

Compression:

Stored size: 262 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
}
exit 1

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/winrm-fs-1.1.1/lib/winrm-fs/scripts/download.ps1.erb
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/winrm-fs-1.1.1/lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-1.1.1 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-1.1.0 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-1.0.2 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.4.2 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.4.2.dev lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.4.1 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.4.0 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.3.1 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.3.0 lib/winrm-fs/scripts/download.ps1.erb