706 B
706 B
something |Select –Property Get-Member
Select-Object https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/select-object?view=powershell-7.2
Get-Process Explorer | Select-Object -Property ProcessName -ExpandProperty Modules | Format-List
========
Stuck at
Method invocation failed because [System.Management.Automation.PSMethod] does not contain a method named 'FindHost'.
At C:\Users\Mamoncete\Desktop\test.ps1:93 char:17
+ $result = $server.FindHost($_vname)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MethodNotFound