https://pentestlaboratories.com/2021/05/17/amsi-bypass-methods/
Surprisingly on ABSOLUTE htb box this worked
# Executing PowerShell outside of the standard directory will load the amsi.dll file which # contains all the necessary functions to operate, however AMSI will not initiated. C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe