Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,13 +0,0 @@
|
|||
function create_hash ([array] $keys, [array] $values) {
|
||||
$h = @{}
|
||||
if ($keys.Length -ne $values.Length) {
|
||||
Write-Error -Message "Array lengths do not match" `
|
||||
-Category InvalidData `
|
||||
-TargetObject $values
|
||||
} else {
|
||||
for ($i = 0; $i -lt $keys.Length; $i++) {
|
||||
$h[$keys[$i]] = $values[$i]
|
||||
}
|
||||
}
|
||||
return $h
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue