April 2019
Intermediate to advanced
372 pages
12h 47m
English
Perform the following steps:
# Use the typecasting operator to create one[PSCustomObject]@{ DeviceType = 'Server' DomainName = 'dev.contoso.com' IsDomainJoined = $true}# Alternatively, New-Object might be usedNew-Object -TypeName pscustomobject -Property @{ DeviceType = 'Server' DomainName = 'dev.contoso.com' IsDomainJoined = $true}
# Using Get-Member with the output again shows more# Notice the methods that exist, even though they have ...
Read now
Unlock full access