I want to assign all the array elements as the keys of hash table. For Example...

# arrays
$k=@(1,2,3)
$v=@("one","two","three")

# hashtable
$table=@{}

I want output like this:

$table={1="one",2="two",3="three"}

Is there any way to do it?

You can also accomplish this with a for each loop to be able to easily track the index between both arrays

$k = @(1, 2, 3)
$v = @("one", "two", "three")

$table = @{}

for ($i=0; $i -lt $k.Length; $i++){
    $table[$k[$i]] = $v[$i]
}

Note: this is also somtimes referred to as "zipping" two arrays