visio_files
unknown
powershell
3 years ago
485 B
9
Indexable
$allData = Import-Csv -Delimiter ';' -Path .\input.csv;
#$allData | Get-Member;
$a = @()
foreach($group in $allData) {
$a += Get-ChildItem -Path "Wells\$($group."New Asset")\$($group."Well name")\" -Recurse | Where-Object { $_.Name -match '(offset)?\s*(well)?\s*'+$group."Well name"+'.vsd$' } | %{$_.FullName};
$a += Get-ChildItem -Path "Wells\$($group."New Asset")\$($group."Well name")\" -Recurse | Where-Object { $_.Name -match 'Risk assesment.xlsx$' } | %{$_.FullName};
}
$aEditor is loading...