PowerShell tips: evaluate arithmetic expressions and powershell
The hard disk capacity used by a group of virtual machines is counted a few days ago. You only want to get an approximate value. The calculated value is as follows:
For arithmetic expressions: 60*3 + 80*2 + 90*3 + 120*6 + 140*2 + 150*3 + 160*5 + 200*2 + 240
At that time, it was calculated using a calculator provided by windows, which was prone to errors. You should pay attention to the brackets. don't worry too much about the troubles, you just found that the Powershell command line can automatically calculate the expression value. You just need to manually input the expression or paste it:
If you enter an error, You can manually modify it. After you finish the modification, press enter to get the result immediately.
Since then, simple arithmetic operations no longer require a calculator, and Powershell can be used to get results immediately.