📜  powershell 创建对象 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:13.786000             🧑  作者: Mango

代码示例1
# Creating a PSCustomObject in Powershell
$MyDetails = @{
  Name = 'Sean'
  Height = '188cm'
}

$Me = New-Object -TypeName PsObject -Property $MyDetails