I'm trying to access a method of text file, I use this first:
Get-Item file.txt | get-member
Then I would like to use the GetType() method, but it says it doesn't recognize file.txt as the name of a cmdlet,function,script file or operable problem. I need to access that or any other method :D