O'Reilly logo

Windows PowerShell in Action by Bruce Payette

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Working with types

3.1

Type management in the wild, wild west

55

3.2

Basic types and literals

60

3.3

Type conversions

79

3.4

Summary

86

 

“When I use a word,” Humpty Dumpty said, in rather a scornful tone, “it means just what I choose it to mean—neither more nor less.”

 
 --Lewis Carroll, Through the Looking Glass

As we’ve discussed previously, the use of objects in PowerShell makes PowerShell unlike most shell environments, which can only deal with strings. And where you have objects, you also have object types. In fact much of the power in PowerShell comes from the innovative way we use types. In this chapter, we’ll look at the PowerShell type system and how to take advantage of it, and examine some of the things you can accomplish with types in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required