function Test-JavaVersion { [cmdletbinding()] Param( [Parameter(ValueFromPipeline = $True, ValueFromPipelineByPropertyName = $true)] [ValidateNotNullOrEmpty()] [Alias('PC','hostname','name')] [System.String]$ComputerName = 'localhost' ) Begin{ if(Test-Path 'c:\temp\JavaVersions.csv')...