----------------------------------------------------------------------
--- Knud van Eeden --- 07 August 2008 - 03:35 pm ---------------------
Operating system: Microsoft Windows: MSDOS: Command line: Microsoft Windows PowerShell: Operation: Install: How to install and run PowerShell [help]
---
Steps: Overview:
1. -Download and install
Microsoft Windows .NET v2.0 distributable
2. -Download and install
Microsoft PowerShell
3. -Run the program
c:\windows\system32\windowspowershell\v1.0\powershell.exe
4. -That will show a screen output similar to the following:
--- cut here: begin --------------------------------------------------
> powershell.exe
Windows PowerShell
Copyright (C) 2006 Microsoft Corporation. All rights reserved.
PS C:\WINDOWS\system32\windowspowershell\v1.0>
--- cut here: end ----------------------------------------------------
5. -Type your commands
1. -E.g.
--- cut here: begin --------------------------------------------------
PS> help
Name Category Synopsis
---- -------- --------
ac Alias Add-Content
asnp Alias Add-PSSnapin
clc Alias Clear-Content
cli Alias Clear-Item
clp Alias Clear-ItemProperty
clv Alias Clear-Variable
cpi Alias Copy-Item
cpp Alias Copy-ItemProperty
cvpa Alias Convert-Path
diff Alias Compare-Object
epal Alias Export-Alias
epcsv Alias Export-Csv
fc Alias Format-Custom
fl Alias Format-List
foreach Alias ForEach-Object
% Alias ForEach-Object
ft Alias Format-Table
fw Alias Format-Wide
gal Alias Get-Alias
gc Alias Get-Content
gci Alias Get-ChildItem
gcm Alias Get-Command
gdr Alias Get-PSDrive
ghy Alias Get-History
gi Alias Get-Item
gl Alias Get-Location
gm Alias Get-Member
gp Alias Get-ItemProperty
gps Alias Get-Process
group Alias Group-Object
gsv Alias Get-Service
gsnp Alias Get-PSSnapin
gu Alias Get-Unique
gv Alias Get-Variable
gwmi Alias Get-WmiObject
iex Alias Invoke-Expression
ihy Alias Invoke-History
ii Alias Invoke-Item
ipal Alias Import-Alias
ipcsv Alias Import-Csv
mi Alias Move-Item
mp Alias Move-ItemProperty
nal Alias New-Alias
ndr Alias New-PSDrive
ni Alias New-Item
nv Alias New-Variable
oh Alias Out-Host
rdr Alias Remove-PSDrive
ri Alias Remove-Item
rni Alias Rename-Item
rnp Alias Rename-ItemProperty
rp Alias Remove-ItemProperty
rsnp Alias Remove-PSSnapin
rv Alias Remove-Variable
rvpa Alias Resolve-Path
sal Alias Set-Alias
sasv Alias Start-Service
sc Alias Set-Content
select Alias Select-Object
si Alias Set-Item
sl Alias Set-Location
sleep Alias Start-Sleep
sort Alias Sort-Object
sp Alias Set-ItemProperty
spps Alias Stop-Process
spsv Alias Stop-Service
sv Alias Set-Variable
tee Alias Tee-Object
where Alias Where-Object
? Alias Where-Object
write Alias Write-Output
cat Alias Get-Content
cd Alias Set-Location
clear Alias Clear-Host
cp Alias Copy-Item
h Alias Get-History
history Alias Get-History
kill Alias Stop-Process
lp Alias Out-Printer
ls Alias Get-ChildItem
mount Alias New-PSDrive
mv Alias Move-Item
popd Alias Pop-Location
ps Alias Get-Process
pushd Alias Push-Location
pwd Alias Get-Location
r Alias Invoke-History
rm Alias Remove-Item
rmdir Alias Remove-Item
echo Alias Write-Output
cls Alias Clear-Host
chdir Alias Set-Location
copy Alias Copy-Item
del Alias Remove-Item
dir Alias Get-ChildItem
erase Alias Remove-Item
move Alias Move-Item
rd Alias Remove-Item
ren Alias Rename-Item
set Alias Set-Variable
type Alias Get-Content
Get-Command Cmdlet Gets basic information about cmdlets ...
Get-Help Cmdlet Displays information about Windows Po...
Get-History Cmdlet Gets a list of the commands entered d...
Invoke-History Cmdlet Runs commands from the session history.
Add-History Cmdlet Appends entries to the session history.
ForEach-Object Cmdlet Performs an operation against each of...
Where-Object Cmdlet Creates a filter that controls which ...
Set-PSDebug Cmdlet Turns script debugging features on an...
Add-PSSnapin Cmdlet Adds one or more Windows PowerShell s...
Remove-PSSnapin Cmdlet Removes Windows PowerShell snap-ins f...
Get-PSSnapin Cmdlet Gets the Windows PowerShell snap-ins ...
Export-Console Cmdlet Exports the configuration of the curr...
Start-Transcript Cmdlet Creates a record of all or part of a ...
Stop-Transcript Cmdlet Stops a transcript.
Add-Content Cmdlet Adds content to the specified item(s).
Clear-Content Cmdlet Deletes the contents of a item, such ...
Clear-ItemProperty Cmdlet Deletes the value of a property but i...
Join-Path Cmdlet Combines a path and child-path into a...
Convert-Path Cmdlet Converts a path from a Windows PowerS...
Copy-ItemProperty Cmdlet Copies a property and value from a sp...
Get-EventLog Cmdlet Gets information about local event lo...
Get-ChildItem Cmdlet Gets the items and child items in one...
Get-Content Cmdlet Gets the content of the item at the s...
Get-ItemProperty Cmdlet Retrieves the properties of a specifi...
Get-WmiObject Cmdlet Gets instances of WMI classes or info...
Move-ItemProperty Cmdlet Moves a property from one location to...
Get-Location Cmdlet Gets information about the current wo...
Set-Location Cmdlet Sets the current working location to ...
Push-Location Cmdlet Pushes the current location onto the ...
Pop-Location Cmdlet Changes the current location to the l...
New-PSDrive Cmdlet Installs a new WIndows PowerShell drive.
Remove-PSDrive Cmdlet Removes a Windows PowerShell drive fr...
Get-PSDrive Cmdlet Gets information about Windows PowerS...
Get-Item Cmdlet Gets the item at the specified location.
New-Item Cmdlet Creates a new item in a namespace.
Set-Item Cmdlet Changes the value of an item to the v...
Remove-Item Cmdlet Deletes the specified items.
Move-Item Cmdlet Moves an item from one location to an...
Rename-Item Cmdlet Renames an item in a Windows PowerShe...
Copy-Item Cmdlet Copies an item from one location to a...
Clear-Item Cmdlet Deletes the contents of an item, but ...
Invoke-Item Cmdlet Invokes the provider-specific default...
Get-PSProvider Cmdlet Gets information about the specified ...
New-ItemProperty Cmdlet Sets a new property of an item at a l...
Split-Path Cmdlet Returns the specified part of a path.
Test-Path Cmdlet Determines whether all elements of a ...
Get-Process Cmdlet Gets the processes that are running o...
Stop-Process Cmdlet Stops one or more running processes.
Remove-ItemProperty Cmdlet Deletes the property and its value fr...
Rename-ItemProperty Cmdlet Renames a property of an item.
Resolve-Path Cmdlet Resolves the wildcard characters in a...
Get-Service Cmdlet Gets the services on the local computer.
Stop-Service Cmdlet Stops one or more running services.
Start-Service Cmdlet Starts one or more stopped services.
Suspend-Service Cmdlet Suspends (pauses) one or more running...
Resume-Service Cmdlet Resumes one or more suspended (paused...
Restart-Service Cmdlet Stops and then starts one or more ser...
Set-Service Cmdlet Changes the display name, description...
New-Service Cmdlet Creates a new entry for a Windows Ser...
Set-Content Cmdlet Writes or replaces the content in an ...
Set-ItemProperty Cmdlet Sets the value of a property at the s...
Get-Acl Cmdlet Gets the security descriptor for a re...
Set-Acl Cmdlet Changes the security descriptor of a ...
Get-PfxCertificate Cmdlet Gets information about .pfx certifica...
Get-Credential Cmdlet Gets a credential object based on a u...
Get-ExecutionPolicy Cmdlet Gets the current execution policy for...
Set-ExecutionPolicy Cmdlet Changes the user preference for the e...
Get-AuthenticodeSignature Cmdlet Gets information about the Authentico...
Set-AuthenticodeSignature Cmdlet Uses an authenticode signature to sig...
ConvertFrom-SecureString Cmdlet Converts a secure string into an encr...
ConvertTo-SecureString Cmdlet Converts encrypted standard strings t...
Format-List Cmdlet Formats the output as a list of prope...
Format-Custom Cmdlet Uses a customized view to format the ...
Format-Table Cmdlet Formats the output as a table.
Format-Wide Cmdlet Formats objects as a wide table that ...
Out-Null Cmdlet Deletes output instead of sending it ...
Out-Default Cmdlet Send the output to the default format...
Out-Host Cmdlet Sends output to the command line.
Out-File Cmdlet Sends output to a file.
Out-Printer Cmdlet Sends output to a printer.
Out-String Cmdlet Sends objects to the host as a series...
Add-Member Cmdlet Adds a user-defined custom member to ...
Compare-Object Cmdlet Compares two sets of objects.
ConvertTo-Html Cmdlet Creates an HTML page that represents ...
Export-Csv Cmdlet Creates a comma-separated values (CSV...
Import-Csv Cmdlet Imports comma-separated value (CSV) f...
Export-Alias Cmdlet Exports information about currently-d...
Invoke-Expression Cmdlet Runs a Windows PowerShell expression ...
Get-Alias Cmdlet Gets the aliases for the current sess...
Get-Culture Cmdlet Gets information about the regional s...
Get-Date Cmdlet Gets the current date and time.
Get-Host Cmdlet Gets a reference to the current conso...
Get-Member Cmdlet Gets information about objects or col...
Get-UICulture Cmdlet gets information about the current us...
Get-Unique Cmdlet Returns the unique items from a sorte...
Import-Alias Cmdlet Imports an alias list from a file.
Select-String Cmdlet Identifies patterns in strings.
Measure-Object Cmdlet Measures characteristics of objects a...
New-Alias Cmdlet Creates a new alias.
New-TimeSpan Cmdlet Creates a TimeSpan object.
Read-Host Cmdlet Reads a line of input from the console.
Set-Alias Cmdlet Creates or changes an alias (alternat...
Set-Date Cmdlet Changes the system time on the comput...
Start-Sleep Cmdlet Suspend shell, script, or runspace ac...
Tee-Object Cmdlet Pipes object input to a file or varia...
Measure-Command Cmdlet Measures the time it takes to run scr...
Update-TypeData Cmdlet Updates the current extended type con...
Update-FormatData Cmdlet Updates and appends format data files.
Write-Host Cmdlet Displays objects by using the host us...
Write-Progress Cmdlet Displays a progress bar within a Wind...
New-Object Cmdlet Creates an instance of a .Net or COM ...
Select-Object Cmdlet Selects specified properties of an ob...
Group-Object Cmdlet Groups objects that contain the same ...
Sort-Object Cmdlet Sorts objects by property values.
Get-Variable Cmdlet Gets the variables in the current con...
New-Variable Cmdlet Creates a new variable.
Set-Variable Cmdlet Sets the value of a variable. Creates...
Remove-Variable Cmdlet Deletes a variable and its value.
Clear-Variable Cmdlet Deletes the value of a variable.
Export-Clixml Cmdlet Creates an XML-based representation o...
Import-Clixml Cmdlet Imports a CLIXML file and creates cor...
Write-Debug Cmdlet Writes a debug message to the host di...
Write-Verbose Cmdlet Writes a string to the verbose displa...
Write-Warning Cmdlet Writes a warning message.
Write-Error Cmdlet Writes an object to the error pipeline.
Write-Output Cmdlet Writes objects to the success pipeline.
Get-TraceSource Cmdlet Gets the Windows PowerShell component...
Set-TraceSource Cmdlet Configures, starts, and stops a trace...
Trace-Command Cmdlet The Trace-Command cmdlet configures a...
Alias Provider Provides access to the Windows PowerS...
Environment Provider Provides access to the Windows enviro...
FileSystem Provider The PowerShell Provider for accessing...
Function Provider Provides access to the functions defi...
Registry Provider Provides access to the system registr...
Variable Provider Provides access to the Windows PowerS...
Certificate Provider Provides access to X509 certificate s...
about_alias HelpFile Using alternate names for cmdlets and...
about_arithmetic_operators HelpFile Operators that can be used in the Win...
about_array HelpFile A compact data structure for storing ...
about_assignment_operators HelpFile Operators that can be used in the Win...
about_associative_array HelpFile A compact data structure for storing ...
about_automatic_variables HelpFile Variables automatically set by the Wi...
about_break HelpFile A statement for immediately exiting f...
about_command_search HelpFile How the Windows PowerShell locates co...
about_command_syntax HelpFile Command format in the Windows PowerShell
about_commonparameters HelpFile Parameters that every cmdlet supports.
about_comparison_operators HelpFile Operators that can be used in the Win...
about_continue HelpFile Immediately return to top of a progra...
about_core_commands HelpFile Windows PowerShell core Cmdlets relat...
about_display.xml HelpFile Controlling how objects are displayed
about_environment_variable HelpFile How to access Windows environment var...
about_escape_character HelpFile Change how the Windows PowerShell int...
about_execution_environment HelpFile Factors that affect how commands run
about_filter HelpFile Using the Where-Object Cmdlet to filt...
about_flow_control HelpFile Using flow control statements in the ...
about_for HelpFile A language command for running a comm...
about_foreach HelpFile A language command for traversing all...
about_function HelpFile Creating and using functions in the W...
about_globbing HelpFile See Wildcard
about_history HelpFile Retrieving commands entered at the Wi...
about_if HelpFile A language command for running a comm...
about_line_editing HelpFile Editing commands at the Windows Power...
about_location HelpFile Accessing items from the working loca...
about_logical_operator HelpFile Operators that can be used in the Win...
about_method HelpFile Using methods to perform actions on o...
about_namespace HelpFile Namespaces maintained by the Windows ...
about_object HelpFile Working with objects in the Windows P...
about_operator HelpFile Types of operators supported by the W...
about_parameter HelpFile Working with Cmdlet parameters in the...
about_parsing HelpFile How the Windows PowerShell parses com...
about_path_syntax HelpFile Full and relative path name formats i...
about_pipeline HelpFile Combining commands into pipelines in ...
about_property HelpFile Using object properties in the Window...
about_provider HelpFile Windows PowerShell providers provide ...
about_pssnapins HelpFile A Windows PowerShell snap-in is a .NE...
about_quoting_rules HelpFile Rules for setting the boundaries of a...
about_redirection HelpFile Redirecting output from the Windows P...
about_ref HelpFile How to create and use a reference var...
about_regular_expression HelpFile Using regular expressions in Cmdlet p...
about_reserved_words HelpFile Words in the Windows PowerShell that ...
about_scope HelpFile The visibility a function or variable...
about_script_block HelpFile Grouping statements and commands into...
about_shell_variable HelpFile Variables that are created and declar...
about_signing HelpFile Describes the Windows PowerShell exec...
about_special_characters HelpFile The special characters for controllin...
about_switch HelpFile Using a switch to handle multiple if ...
about_system_state HelpFile Data maintained by the Windows PowerS...
about_types HelpFile Extending the .NET type system in the...
about_where HelpFile Filter objects based on object proper...
about_while HelpFile A language statement for running a co...
about_wildcard HelpFile Using wildcards in Cmdlet parameters ...
default HelpFile Displays help about PowerShell cmdlet...
--- cut here: end ----------------------------------------------------
===
Book: see also:
===
Diagram: see also:
===
File: see also:
===
Help: see also:
===
Image: see also:
===
Internet: see also:
http://en.wikipedia.org/wiki/Windows_PowerShell
===
Podcast: see also:
===
Screencast: see also:
===
Table: see also:
===
Video: see also:
---
----------------------------------------------------------------------