Vous êtes sur la page 1sur 1

Every action you take in Windows PowerShell occu

rs within the context of


objects. As data moves from one command to the
next, it moves as one or
more identifiable objects. An object, then, is
a collection of data that
represents an item in a namespace. An object is
made up of three types
of data: the object's type, its methods, and it
s properties.

An object's property is information about the


state of that object. For
example, a FileInfo object includes the length
property, which
specifies the size of the file represented by t
he object.

When working with objects, you can use their me


thods and properties in
your commands to take specific actions and mani
pulate data. This is
especially useful when you combine multiple com
mands into a single
pipeline.

Vous aimerez peut-être aussi