Errata

Windows PowerShell Pocket Reference

Errata for Windows PowerShell Pocket Reference

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 10
2nd para

In the description of $myDouble, the stated value 9 in parentheses, i.e. "(53-bit, 9 bits of precision)", is probably wrong.

Paul Croom  Aug 04, 2014 
Printed Page 14
$myArray[-1..2]

The description, "PowerShell wraps around because the first number in the range is positive, and the second number in the range is negative", does not match up with the example.

Paul Croome  Aug 04, 2014 
Printed Page 22
-shl and -shr entries

Both of these are wrong in the description:

-shl Binary shift left:
$value -slh $count

should be:
$value -shl $count



-shr Binary shift right:
$value -slr $count

should be:
$value -shr $count

Anonymous  Jan 21, 2014 
Printed Page 26
End of Table 1-8

Table 1-8 lists "other" operators. The invoke/call operator, &, is missing from this table and from the index. It is listed on page 53 under the topic "Running Commands", but I believe it should be in the table of operators as well as the symbol section of the index. Actually, I guess the dot operator described on page 54 should also be in the table of operators. This operator is located in the index.

Chuck Heatherly  Jun 21, 2013 
Printed Page 31
switch Statements

In the first definition of the switch statement, the expression must be enclosed in parentheses:
switch options ( expression )

Paul Croome  Aug 04, 2014 
Printed Page 35
foreach Statement

In the line
:loop_label foreach (variable in expression)
the word "in" should be in regular roman (not italic) font.

Paul Croome  Aug 04, 2014 
Printed Page 148
8th row

"Dismount" is listed as a synonym for "dismount". "Unmount" would be useful here, and may have been what was intended.

Anonymous  Aug 11, 2014