That worked - thanks
Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
PS C:\Users\nicka_000> cd..
PS C:\Users> cd,,
At line:1 char:3
+ cd,,
+ ~
Missing argument in parameter list.
At line:1 char:4
+ cd,,
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [],
ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users> cd..
PS C:\> cd program files
Set-Location : A positional parameter cannot be found that accepts
argument 'files'.
At line:1 char:1
+ cd program files
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-Location],
ParameterBindingException
+ FullyQualifiedErrorId :
PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
PS C:\> C:\Program Files\Apache Software Foundation\Apache2.4\bin
C:\Program : The term 'C:\Program' is not recognized as the name of a
cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ C:\Program Files\Apache Software Foundation\Apache2.4\bin
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> C:\Program Files\Apache Software Foundation\Apache2.4\C:\Program
Files\Apache Software Foundation\Apache2.4\bin\
httpd.exe -v
C:\Program : The term 'C:\Program' is not recognized as the name of a
cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ C:\Program Files\Apache Software Foundation\Apache2.4\C:\Program
Files\Apache So ...
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> cd program~files
cd : Cannot find path 'C:\program~files' because it does not exist.
At line:1 char:1
+ cd program~files
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\program~files:String)
[Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId :
PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
PS C:\> cd "C:\Program Files\Apache Software Foundation\Apache2.4\bin"
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin> httpd.exe
-v
httpd.exe : The term 'httpd.exe' is not recognized as the name of a
cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ httpd.exe -v
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (httpd.exe:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command httpd.exe was not found, but does
exist in the current location. Windows PowerShell
does not load commands from the current location by default. If you
trust this command, instead type ".\httpd.exe". See
"get-help about_Command_Precedence" for more details.
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin> httpd.exe
-V
httpd.exe : The term 'httpd.exe' is not recognized as the name of a
cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ httpd.exe -V
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (httpd.exe:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command httpd.exe was not found, but does
exist in the current location. Windows PowerShell
does not load commands from the current location by default. If you
trust this command, instead type ".\httpd.exe". See
"get-help about_Command_Precedence" for more details.
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin>
".httpd.exe -V"
.httpd.exe -V
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin>
".\httpd.exe"
.\httpd.exe
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin>
".\httpd.exe -V"
.\httpd.exe -V
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin> get-help
TOPIC
Windows PowerShell Help System
SHORT DESCRIPTION
Displays help about Windows PowerShell cmdlets and concepts.
LONG DESCRIPTION
Windows PowerShell Help describes Windows PowerShell cmdlets,
functions, scripts, and modules, and explains concepts, including
the elements of the Windows PowerShell language.
Windows PowerShell does not include help files, but you can read the
help topics online, or use the Update-Help cmdlet to download help
files
to your computer and then use the Get-Help cmdlet to display the
help
topics at the command line.
You can also use the Update-Help cmdlet to download updated help
files
as they are released so that your local help content is never
obsolete.
Without help files, Get-Help displays auto-generated help for
cmdlets,
functions, and scripts.
ONLINE HELP
You can find help for Windows PowerShell online in the TechNet
Library
beginning at
http://go.microsoft.com/fwlink/?LinkID=108518.
To open online help for any cmdlet or function, type:
Get-Help <cmdlet-name> -Online
UPDATE-HELP
To download and install help files on your computer:
1. Start Windows PowerShell with the "Run as administrator"
option.
2. Type:
Update-Help
After the help files are installed, you can use the Get-Help cmdlet
to
display the help topics. You can also use the Update-Help cmdlet to
download updated help files so that your local help files are always
up-to-date.
For more information about the Update-Help cmdlet, type:
Get-Help Update-Help -Online
or go to:
http://go.microsoft.com/fwlink/?LinkID=210614
GET-HELP
The Get-Help cmdlet displays help at the command line from content
in
help files on your computer. Without help files, Get-Help displays
basic
help about cmdlets and functions. You can also use Get-Help to
display
online help for cmdlets and functions.
To get help for a cmdlet, type:
Get-Help <cmdlet-name>
To get online help, type:
Get-Help <cmdlet-name> -Online
The titles of conceptual topics begin with "About_".
To get help for a concept or language element, type:
Get-Help About_<topic-name>
To search for a word or phrase in all help files, type:
Get-Help <search-term>
For more information about the Get-Help cmdlet, type:
Get-Help Get-Help -Online
or go to:
http://go.microsoft.com/fwlink/?LinkID=113316
EXAMPLES:
Save-Help : Download help files from the Internet and
saves
them on a file share.
Update-Help : Downloads and installs help files from
the
Internet or a file share.
Get-Help Get-Process : Displays help about the Get-Process
cmdlet.
Get-Help Get-Process -Online
: Opens online help for the Get-Process
cmdlet.
Help Get-Process : Displays help about Get-Process one page
at a time.
Get-Process -? : Displays help about the Get-Process
cmdlet.
Get-Help About_Modules : Displays help about Windows PowerShell
modules.
Get-Help remoting : Searches the help topics for the word
"remoting."
SEE ALSO:
about_Updatable_Help
Get-Help
Save-Help
Update-Help
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin>
".\httpd.exe -V"
.\httpd.exe -V
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin>
.\httpd.exe -V
Server version: Apache/2.4.2 (Win64)
Server built: May 11 2012 20:42:30
Server's Module Magic Number: 20120211:3
Server loaded: APR 1.4.6, APR-UTIL 1.4.1
Compiled using: APR 1.4.6, APR-UTIL 1.4.1
Architecture: 64-bit
Server MPM: WinNT
threaded: yes (fixed thread count)
forked: no
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error.log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
PS C:\Program Files\Apache Software Foundation\Apache2.4\bin>