Why does powershell dosen't have the ^ operation

i though this should work but it didn’t ,and there is no ^ operation in [math] as well .so how could i use ^ instead of multiple it multiple times

You can use the Pow() method.

PS E:\Temp> [math]::Pow(2,8)
256
2 Likes

thanks a lot
:heartbeat: :heartbeat: :heartbeat: :heartbeat: :heartbeat: