詳しくは分からない
String型で足してるっぽい感じ
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
PS C:\Users\yuta\Desktop\VampireDesire\scripts> $item = Get-ChildItem PS C:\Users\yuta\Desktop\VampireDesire\scripts> $item | Add-Member -MemberType NoteProperty -Name test -Value "aaa" PS C:\Users\yuta\Desktop\VampireDesire\scripts> $item ディレクトリ: C:\Users\yuta\Desktop\VampireDesire\scripts Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2019/08/24 1:29 calamav d----- 2019/08/24 1:29 powershell d----- 2019/08/24 1:29 wordpress PS C:\Users\yuta\Desktop\VampireDesire\scripts> $item | Select-Object -Property test test ---- aaa aaa aaa PS C:\Users\yuta\Desktop\VampireDesire\scripts> |