报错如下:
Add-Type : c:\Users\Administrator\AppData\Local\Temp\opdun1nt\opdun1nt.0.cs(10) : 'System.Collections.ObjectModel.Collection<System.Management.Automation.PSObj
ect>' does not contain a definition for 'FirstOrDefault' and no extension method 'FirstOrDefault' accepting a first argument of type 'System.Collections.Object
Model.Collection<System.Management.Automation.PSObject>' could be found (are you missing a using directive or an assembly reference?)