General info

cmdlets are not case sensitive.

$_ is a special variable created and maintained by Windows PowerShell. $_ is automatically assigned the
of the current object in the PowerShell pipeline and, in the case of the Where-Object cmdlet, to reference each object
in a collection. The collection can be composed of every file in the current working directory see example.
—————————————————————————————————————————————————————-
Get-Member
Gets the properties and methods of objects.

e.x.
Get-ChildItem template.ps1 | Get-Member -Name C*

TypeName: System.IO.FileInfo

Name MemberType Definition
—- ———- ———-
CopyTo Method System.IO.FileInfo CopyTo(string destFileName), System.IO.FileInfo CopyTo(string destFileName, bool overwrite)
Create Method System.IO.FileStream Create()
CreateObjRef Method System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType)
CreateText Method System.IO.StreamWriter CreateText()
CreationTime Property System.DateTime CreationTime {get;set;}
CreationTimeUtc Property System.DateTime CreationTimeUtc {get;set;}

—————————————————————————————————————————————————————-

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s