Hi, I have Kali 2019.2 64-bit on VMware and Windows 10 Host. I am trying to install PowerShell on my Kali VM. What's the best way of doing that? I've been looking at PowerShell on GitHub. Will "powershell_6.2.2-1.debian.9_amd64.deb" work? Not sure on Kali...I tried earlier but had problems and moved it all to the Trash. I don't remember the errors. I tried the kali.org tutorial.

echo "deb [arch=amd64] https://packages.microsoft.com/repos...n-stretch-prod stretch main" > /etc/apt/sources.list.d/powershell.list apt update
apt -y install powershell

I'm not sure if "microsoft-debian-stretch-prod" is my Kali version. And "apt install powershell" says missing "lib etc... not installable." So how can I install PowerShell? With the newest version of Kali? Please reply. Thanks