i already tried $null
2nd parameter as $true also ... no luck ...
thinking to automate how to remove a software vib from 100+ esxi .. logging each and every server is too loaded .. so thinking alternate ..
PS C:\Users\Administrator> $hpams | ForEach { $esxcli.software.vib.remove($null, $true, $false, $true, $_.Name)}
Missing required parameter --vibname
At line:1 char:48
+ $hpams | ForEach { $esxcli.software.vib.remove <<<< ($null, $true, $false, $true, $_.Name)}
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodInvocationException
PS C:\Users\Administrator> $hpams | ForEach { $esxcli.software.vib.remove($false, $true, $false, $true, $_.Name)}
Missing required parameter --vibname
At line:1 char:48
+ $hpams | ForEach { $esxcli.software.vib.remove <<<< ($false, $true, $false, $true, $_.Name)}
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodInvocationException
PS C:\Users\Administrator> $hpams | ForEach { $esxcli.software.vib.remove($null, $true, $false, $true, $_.Name)}
Missing required parameter --vibname
At line:1 char:48
+ $hpams | ForEach { $esxcli.software.vib.remove <<<< ($null, $true, $false, $true, $_.Name)}
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodInvocationException