Ben Aston
Ben Aston

Reputation: 55729

What is this in powershell?

At the top of a powershell file I see this. Is this an anonymous object, and how do I access $foo?

properties {

  $foo = "bar"
}

Upvotes: 1

Views: 177

Answers (1)

Webplanet TFS Consulting
Webplanet TFS Consulting

Reputation: 1269

The file you are looking at looks like its using the psake framework

Psake Framework Properties

Upvotes: 2

Related Questions