Computer Library windows 2008 exchange server power shell security register

BIOS Hacks for Faster Bootup

Some of the stuff your computer does at boot time is of no use. Disable those features to boot faster.
The system BIOS does a lot of work in the P.O.S.T. (Power On Self Test) phase before it gets your system to the point where it reads boot-up information from a disk drive to load an [...]


Place Special Characters in a String

1. Problem
You want to place special characters (such as tab and newline) in a string variable.
2. Solution
In an expanding string, use PowerShell’s escape sequences to include special characters such as tab and newline.
        PS >$myString = “Report for Today’n—————-”
        PS >$myString
        Report for Today
        —————-

3. Discussion
As discussed in Section 5.1, “Create a String,” PowerShell strings [...]


Repeat Operations with Loops

1. Problem
You want to execute the same block of code more than once.
2. Solution
Use one of PowerShell’s looping statements (for, foreach, while, and do), or PowerShell’s Foreach-Object cmdlet to run a command or script block more than once. For a detailed description of these looping statements, see “Looping Statements” in . For example:
Code View: Scroll [...]