Sha256: 575dbd8881fb685ae51f73752abb7cdd9c7628a9997462d4992bb74cdc57074c

Contents?: true

Size: 233 Bytes

Versions: 9

Compression:

Stored size: 233 Bytes

Contents

$p = $ExecutionContext.SessionState.Path
$path = $p.GetUnresolvedProviderPathFromPSPath("<%= path %>")
if (Test-Path $path -PathType Leaf) {
  [System.convert]::ToBase64String([System.IO.File]::ReadAllBytes($path))
  exit 0
}
exit 1

Version data entries

9 entries across 8 versions & 3 rubygems

Version Path
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/winrm-fs-0.2.3/lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.2.3 lib/winrm-fs/scripts/download.ps1.erb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/winrm-fs-0.2.2/lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.2.2 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.2.1 lib/winrm-fs/scripts/download.ps1.erb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/winrm-fs-0.1.0/lib/winrm-fs/scripts/download.ps1.erb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/winrm-fs-0.2.0/lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.2.0 lib/winrm-fs/scripts/download.ps1.erb
winrm-fs-0.1.0 lib/winrm-fs/scripts/download.ps1.erb