詳しくは分からない
String型で足してるっぽい感じ

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>

<スポンサーリンク>

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)