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.
Pow()
PS E:\Temp> [math]::Pow(2,8) 256
thanks a lot