株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

詳しくは分からない
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>

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

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