Chapters/final-exam/Step3.ps1
function Get-TMIPInfo { [CmdletBinding()] Param( [Parameter(Mandatory=$True, ValueFromPipeline=$True)] [string[]]$ComputerName ) BEGIN {} PROCESS { ForEach ($comp in $computername) { ForEach ($adapter in $adapters) { ForEach ($address in $addresses) { } #foreach address } #adapter } #foreach computer } #process END {} } #function |