When I deliver PowerShell classes, I emphasis the importance of sending the objects in the PowerShell Pipeline to Get-Member so you know what information is contained inside the object. I also do it to get the typename of the object so I can do further research on MSDN. Recently I’ve started using the .GetType() method if I only need the type information. Get a look at the difference. PS C:\> Get-Date | GM TypeName: System.DateTime Name MemberType Definition ---- ---------- ---------- ...
Welcome to the blogsite of MCTExpert. I am a Microsoft Certified Trainer. Here you will find the real questions that are asked to me by my students.