Reserved Words

 

SHORT DESCRIPTION

Words in the Windows PowerShell that have special meaning and therefore cannot be used as identifiers

 

LONG DESCRIPTION

There are certain words that have special meaning in PowerShell. When these terms appear outside quotation marks, PowerShell attempts to apply their special meaning rather than just treat them as character strings. If you want to use these terms as parameter arguments in a command or script, that is, not invoke their special meaning, enclose the reserved word in quotation marks.

 

The following are the reserved words in PowerShell:

 

LANGUAGE STATEMENTS

·         break  

·         continue

·         do  

·         for

·         foreach

·         whileif  

·         switch

·         until  

·         wherefunction

·         filter

 

STATEMENT SYNTAX

·         else

·         elseif

·         in

·         return

 

SEE ALSO

For information about command syntax, enter the following command at the PowerShell command prompt:

 

help about_command_syntax

 

For information about scripts, enter the following command:

 

help about_script_block

 

For information about quotation rules, enter the following command:

 

help about_quoting_rules

 

For information about how PowerShell parses a command, enter the following command:

 

help about_parsing

 

For information about language statements, such as foreach, if, for, and while, follow the prefix, "about_" with the name of the statement. For example, to read about the foreach statement, enter the following command:

 

help about_foreach

 

For information about the filter statement or the return statement syntax, enter the following command:

 

help about_function

 

You can find information about statement syntax in the language statements that use them. For example, for information about else and elseif language syntax, enter the following command:

 

help about_if

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.