Properties and Methods

A dot after an object reads one of its properties, such as a file's Length or LastWriteTime, and a dot with parentheses runs one of its methods, something the object can do, such as ToUpper() or AddDays(-7).

Updated

Cheat sheet for the lesson Properties and Methods: A dot after an object reads one of its properties, such as a file's Length or LastWriteTime, and a dot with parentheses runs one of its methods, something the object can do, such as ToUpper() or AddDays(-7).
Category
PowerShell
Level
Apprentice
Tags
@property, get-date, get-process, method, powershell