Open main menu
Windows PowerShell 1.0 Essentials
Revision as of 13:24, 14 May 2009 by
Neil
(
Talk
|
contribs
)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Revision as of 13:24, 14 May 2009 by
Neil
(
Talk
|
contribs
)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Table of Contents
Next
Installing Windows PowerShell 1.0
<google>BUY_WPS</google>
Table of Contents
Installing Windows PowerShell 1.0
Installing Windows PowerShell on Windows Server 2008
Performing a Windows Server 2008 PowerShell Command Line Installation
Installing PowerShell on Windows Server 2003, XP and Vista Systems
The Basics of the Windows PowerShell 1.0 Interactive Shell
The Windows PowerShell Command Prompt
PowerShell Command Line Editing Keys
PowerShell Command Completion
Customizing the PowerShell Window
The Basics of Creating and Running Windows PowerShell 1.0 Scripts
What is a PowerShell Script?
An Example Windows PowerShell Script
PowerShell 1.0 Script Naming Convention
Executing PowerShell Scripts
Handling Script Arguments
The PowerShell exit Keyword
Windows PowerShell 1.0 Commands and Aliases
PowerShell 1.0 Command Summary
PowerShell 1.0 Alias Summary
Creating and Listing PowerShell Aliases
Windows PowerShell 1.0 String Quoting and Escape Sequences
Using Double Quotes
Using Single Quotes
Using the PowerShell Escape Character
PowerShell Special Escape Sequences
Directing and Formatting Windows PowerShell 1.0 Output
The Default Output
The Out-Host Cmdlet
The Out-Printer Cmdlet
The Out-File Cmdlet
The Out-Null Cmdlet
The Out-String Cmdlet
Formatting PowerShell Output
Understanding and Creating Windows PowerShell 1.0 Variables
Naming a Variable in PowerShell
Creating and Assigning a Value to a PowerShell Variable
Accessing PowerShell Variable Values
Changing the Type of a PowerShell Variable
Pre-defined PowerShell Variables
Basic Windows PowerShell 1.0 Types
PowerShell Numeric Types
Specifying Hexadecimal Numbers
PowerShell Boolean Type
PowerShell String Type
PowerShell Type Casting
Working with Arrays in Windows PowerShell 1.0
Creating a Windows PowerShell Array
Creating Windows PowerShell Multidimensional Arrays
Obtaining the Length of an Array
Accessing Elements in a Windows PowerShell Array
Accessing Elements in a Windows PowerShell Multidimensional Array
Adding new Elements to a Windows PowerShell Array
Combining Windows PowerShell Arrays
Windows PowerShell 1.0 Hashtables
Creating PowerShell Hashtables
Accessing Hashtable Elements
Modifying Windows PowerShell Hashtable Elements
Adding Elements to a Windows PowerShell Hashtable
Removing Elements from a Windows PowerShell Hashtable
Clearing All Elements from a Windows PowerShell Hashtable
Combining Hashtables
Listing Hashtable Count, Keys and Values
Basic Windows PowerShell 1.0 Operators
What is an Expression?
Windows PowerShell Basic Assignment Operator
Windows PowerShell Compound Assignment Operators
Windows PowerShell Arithmetic Operators
PowerShell Increment and Decrement Operators
Windows PowerShell & Operator
Windows PowerShell Bitwise and Logical Operators
Windows PowerShell 1.0 Comparison and Containment Operators
Windows PowerShell Comparison Operators
Windows PowerShell Containment Operators
Performing Windows PowerShell Comparisons
Using Comparison Operators with Arrays and Collections
Using PowerShell Containment Operators
Windows PowerShell 1.0 Pipes and Redirection
PowerShell Pipes
Windows PowerShell Redirection Operators
Windows PowerShell Redirection
Redirecting Error Output
Windows PowerShell 1.0 Flow Control with if, else and elseif
Using the if Statement
Using if ... else .. Statements
Using if ... elseif .. Statements
Summary
Windows PowerShell 1.0 Looping with the for and foreach Statements
The PowerShell for Loop
Creating an Infinite for Loop
Breaking Out of a for Loop
Nested for Loops
Breaking From Nested Loops with Labels
Continuing for Loops
Windows PowerShell foreach Loops
Windows PowerShell 1.0 Looping with do and while Statements
The Windows PowerShell while Loop
Windows PowerShell do ... while loops
Breaking from while Loops
The continue Statement
The Windows PowerShell 1.0 switch Statement
Why Use a switch Statement?
Windows PowerShell switch Statement Syntax
A switch Statement Example
Explaining the Example
Using break in a Windows PowerShell switch Statement
The switch $_ Variable
Using Expressions in a Windows PowerShell switch Statement
Wildcards, Regular Expressions and Case Sensitivity in switch Statements
Using switch Statements to Iterate Through Ranges and Collections
Using the continue Statement
Windows PowerShell 1.0 Functions
Creating and Calling a Simple Windows PowerShell Function
Passing Parameters to a Function
Specifying Named Parameters
Function Parameter Initialization
Specifying Function Parameter Types
Using Functions in a Pipeline
Returning from Functions
Windows PowerShell Function Administration
Working with File Systems in Windows PowerShell 1.0
Getting Disk Drive Information
Creating New Windows PowerShell Drives
Getting Information About Network Drives in PowerShell
Windows PowerShell File System Directory Listings
Copying, Remaining and Deleting Files and Directories
Windows PowerShell 1.0 File Handling
Getting File Properties
Changing File Properties with Set-ItemProperty
Reading Text Files in Windows PowerShell
Reading Binary Files in Windows PowerShell
Writing to Files in Windows PowerShell
Searching for Strings in Files with Windows PowerShell
An Overview of Windows PowerShell 1.0 and .NET
The Basics of .NET
Exploring .NET Assemblies in Windows PowerShell
Loading .NET Assemblies into Windows PowerShell
.NET Static Members and Properties
Instance Members and Properties
Listing the Methods and Properties of a .NET Class
Creating GUIs in Windows PowerShell 1.0 with WinForms
An Overview of WinForms
Loading the Winforms .NET Assembly
A Basic Windows PowerShell GUI
Windows PowerShell and WinForms Events
Setting WinForms Properties
Bringing it all Together
Drawing Graphics using PowerShell 1.0 and GDI+
An Overview of GDI+
Loading the GDI+ and WinForms .NET Assemblies
Creating Drawing Objects
Setting Properties of a GDI+ Drawing Object
Creating the WinForms Form and the Graphics Object
The Paint Event Handler
Drawing Graphics with Windows PowerShell and GDI+
Bringing it All Together
Using COM with Windows PowerShell
Listing Available COM Objects
Creating COM Object Instances in Windows PowerShell
Listing the Properties and Methods of a COM Object
Interacting With COM Objects
Interacting with the Windows Shell
Using the WScript.Shell Class
Windows PowerShell 1.0 Security
Windows PowerShell Script Execution Policy
Identifying and Changing the Current Execution Policy
Signing Windows PowerShell Scripts
Setting up a Local Certificate Authority
Creating a Certificate
Signing a Windows PowerShell Script
Protecting Certificates with Private Key Encryption
<google>ADSDAQBOX</google>
Last modified on 27 October 2016, at 20:11