Sha256: a3cc04198d63d7d24f168178add78a5e594e9618610066ba8970fa71ac83d34c

Contents?: true

Size: 172 Bytes

Versions: 54

Compression:

Stored size: 172 Bytes

Contents

$p = $ExecutionContext.SessionState.Path
$path = $p.GetUnresolvedProviderPathFromPSPath("<%= path %>")
if (Test-Path $path) {
  $true
  exit 0
}
else {
  $false
  exit 1
}

Version data entries

54 entries across 38 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/winrm-fs-1.2.0/lib/winrm-fs/scripts/exists.ps1.erb
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.2.0/lib/winrm-fs/scripts/exists.ps1.erb
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.2.0/lib/winrm-fs/scripts/exists.ps1.erb
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.2.0/lib/winrm-fs/scripts/exists.ps1.erb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/winrm-fs-1.2.0/lib/winrm-fs/scripts/exists.ps1.erb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/winrm-fs-1.1.1/lib/winrm-fs/scripts/exists.ps1.erb
winrm-fs-1.2.0 lib/winrm-fs/scripts/exists.ps1.erb
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/winrm-fs-1.1.1/lib/winrm-fs/scripts/exists.ps1.erb
winrm-fs-1.1.1 lib/winrm-fs/scripts/exists.ps1.erb
winrm-fs-1.1.0 lib/winrm-fs/scripts/exists.ps1.erb
winrm-fs-1.0.2 lib/winrm-fs/scripts/exists.ps1.erb
winrm-fs-0.4.2 lib/winrm-fs/scripts/exists.ps1.erb
winrm-fs-0.4.2.dev lib/winrm-fs/scripts/exists.ps1.erb
winrm-fs-0.4.1 lib/winrm-fs/scripts/exists.ps1.erb