【发布时间】:2020-04-06 07:58:27
【问题描述】:
有什么方法可以在不丢失任何音符属性的情况下修改字符串?
$t = 'something'|Add-Member noteproperty one 1 -PassThru
$t.one
1
$t = 'else'
$t.one
<nothing here>
$t.value = 'else' # The property 'value' cannot be found on this object
【问题讨论】:
标签: powershell