Sha256: 75c040ed3b3a57f86b43e7dc743c433be3e3ef415aa5ede25b2880cc9ed9cea6

Contents?: true

Size: 504 Bytes

Versions: 14

Compression:

Stored size: 504 Bytes

Contents

$p = $ExecutionContext.SessionState.Path
$path = $p.GetUnresolvedProviderPathFromPSPath("<%= path %>")

if (Test-Path $path -PathType Leaf) {
  $cryptoProv = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider
  $file = [System.IO.File]::Open($path,
      [System.IO.Filemode]::Open, [System.IO.FileAccess]::Read)
  $md5 = ([System.BitConverter]::ToString($cryptoProv.ComputeHash($file)))
  $md5 = $md5.Replace("-","").ToLower()
  $file.Close()

  Write-Output $md5
}

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/winrm-fs-0.3.2/lib/winrm-fs/scripts/checksum.ps1.erb
winrm-fs-0.4.3 lib/winrm-fs/scripts/checksum.ps1.erb
winrm-fs-0.4.2 lib/winrm-fs/scripts/checksum.ps1.erb
winrm-fs-0.4.2.dev lib/winrm-fs/scripts/checksum.ps1.erb
winrm-fs-0.4.1 lib/winrm-fs/scripts/checksum.ps1.erb
winrm-fs-0.3.2 lib/winrm-fs/scripts/checksum.ps1.erb