mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-26 07:38:39 +01:00
Improved list-os-release.ps1
This commit is contained in:
parent
4768ad946d
commit
40aad7fe73
@ -8,7 +8,7 @@
|
||||
|
||||
try {
|
||||
write-progress "Reading OS_IPFS_hashes.csv"
|
||||
$PathToRepo = (get-item $MyInvocation.MyCommand.Path).directory.parent
|
||||
$PathToRepo = "$PSScriptRoot/.."
|
||||
$PathToCsvFile = "$PathToRepo/Data/os-release.csv"
|
||||
invoke-webRequest -URI "https://fleschutz.droppages.com/downloads/OS_IPFS_hashes.csv" -outFile "$PathToCsvFile"
|
||||
$Table = import-csv "$PathToCsvFile"
|
||||
|
Loading…
Reference in New Issue
Block a user