Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell create object

# Creating a PSCustomObject in Powershell
$MyDetails = @{
  Name = 'Sean'
  Height = '188cm'
}

$Me = New-Object -TypeName PsObject -Property $MyDetails
Source by www.sean-lloyd.com #
 
PREVIOUS NEXT
Tagged: #powershell #create #object
ADD COMMENT
Topic
Name
2+1 =