Echo equivalent in PowerShell for script testing

前端 未结 11 1553
梦如初夏
梦如初夏 2020-12-07 10:08

I would like to output variables and values out in a PowerShell script by setting up flags and seeing the data matriculate throughout the script.

How would I do thi

11条回答
  •  执笔经年
    2020-12-07 10:18

    I don't know if it's wise to do so, but you can just write

    "filesizecounter: " + $filesizecounter
    

    And it should output:

    filesizecounter: value

提交回复
热议问题