PageRenderTime 50ms CodeModel.GetById 2ms app.highlight 34ms RepoModel.GetById 1ms app.codeStats 1ms

/tags/stable-1.2.0/Powershell/Documentation/Web.Management.PHP.PowerShell.dll-Help.xml

#
XML | 2367 lines | 2311 code | 16 blank | 40 comment | 0 complexity | 1e65482142481e4a6ada7cf906798c46 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1<?xml version="1.0" encoding="utf-8"?>
   2<helpItems xmlns="http://msh" schema="maml">
   3  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
   4    <!--Generated by Help Cmdlet Editor-->
   5    <command:details>
   6      <command:name>Get-PHPConfiguration</command:name>
   7      <maml:description>
   8        <maml:para>Gets the summary of the currently active PHP version on the specified IIS web site and application.</maml:para>
   9      </maml:description>
  10      <maml:copyright>
  11        <maml:para />
  12        <!--Add copy right info here.-->
  13      </maml:copyright>
  14      <command:verb>Get</command:verb>
  15      <command:noun>PHPConfiguration</command:noun>
  16      <!--Add Dev version info here.-->
  17      <dev:version />
  18    </command:details>
  19    <maml:description>
  20      <!--This is the Description section-->
  21      <maml:para>The Get-PHPConfiguration cmdlet gets the summary of the currently active PHP version on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  22    </maml:description>
  23    <command:syntax>
  24      <command:syntaxItem>
  25        <maml:name>Get-PHPConfiguration</maml:name>
  26        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  27          <maml:name>SiteName</maml:name>
  28          <maml:description>
  29            <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  30          </maml:description>
  31          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  32        </command:parameter>
  33        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  34          <maml:name>VirtualPath</maml:name>
  35          <maml:description>
  36            <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  37          </maml:description>
  38          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  39        </command:parameter>
  40      </command:syntaxItem>
  41    </command:syntax>
  42    <command:parameters>
  43      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  44        <maml:name>SiteName</maml:name>
  45        <maml:description>
  46          <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  47        </maml:description>
  48        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  49        <dev:type>
  50          <maml:name>String</maml:name>
  51          <maml:uri />
  52        </dev:type>
  53        <dev:defaultValue>
  54        </dev:defaultValue>
  55      </command:parameter>
  56      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  57        <maml:name>VirtualPath</maml:name>
  58        <maml:description>
  59          <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  60        </maml:description>
  61        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  62        <dev:type>
  63          <maml:name>String</maml:name>
  64          <maml:uri />
  65        </dev:type>
  66        <dev:defaultValue>
  67        </dev:defaultValue>
  68      </command:parameter>
  69    </command:parameters>
  70    <command:inputTypes>
  71      <command:inputType>
  72        <dev:type>
  73          <maml:name>None</maml:name>
  74          <maml:uri />
  75          <maml:description>
  76            <maml:para>
  77            </maml:para>
  78          </maml:description>
  79        </dev:type>
  80        <maml:description>
  81        </maml:description>
  82      </command:inputType>
  83    </command:inputTypes>
  84    <command:returnValues>
  85      <command:returnValue>
  86        <dev:type>
  87          <maml:name>
  88          </maml:name>
  89          <maml:uri />
  90          <maml:description>
  91            <maml:para>
  92            </maml:para>
  93          </maml:description>
  94        </dev:type>
  95        <maml:description>
  96        </maml:description>
  97      </command:returnValue>
  98    </command:returnValues>
  99    <command:terminatingErrors>
 100    </command:terminatingErrors>
 101    <command:nonTerminatingErrors>
 102    </command:nonTerminatingErrors>
 103    <maml:alertSet>
 104      <maml:title>
 105      </maml:title>
 106      <maml:alert>
 107        <maml:para>
 108        </maml:para>
 109      </maml:alert>
 110    </maml:alertSet>
 111    <command:examples>
 112      <command:example>
 113        <maml:title>
 114--------------  Example 1 --------------			</maml:title>
 115        <maml:introduction>
 116          <maml:para>C:\PS&gt;</maml:para>
 117C:\PS&gt;			</maml:introduction>
 118        <dev:code>Get-PHPConfiguration</dev:code>
 119        <dev:remarks>
 120          <maml:para>This command returns the summary of PHP version on IIS server level. That version is used on all the sites on that IIS server, unless they explicitly overwrite it.</maml:para>
 121          <maml:para>
 122          </maml:para>
 123          <maml:para>
 124          </maml:para>
 125          <maml:para>HandlerName              : php-5.3.6
 126Version                  : 5.3.6
 127ScriptProcessor          : C:\php\536\php-cgi.exe
 128HandlerType              : Local
 129ErrorLog                 : C:\Windows\Temp\php-5.3.6_errors.log
 130PHPIniFilePath           : C:\php\536\php.ini
 131InstalledExtensionsCount : 36
 132EnabledExtensionsCount   : 0
 133				</maml:para>
 134          <maml:para>
 135          </maml:para>
 136        </dev:remarks>
 137        <command:commandLines>
 138          <command:commandLine>
 139            <command:commandText>
 140            </command:commandText>
 141          </command:commandLine>
 142        </command:commandLines>
 143      </command:example>
 144      <command:example>
 145        <maml:title>
 146--------------  Example 2 --------------			</maml:title>
 147        <maml:introduction>
 148          <maml:para>C:\PS&gt;</maml:para>
 149C:\PS&gt;			</maml:introduction>
 150        <dev:code>Get-PHPConfiguration -SiteName mysite -VirtualPath /forum/</dev:code>
 151        <dev:remarks>
 152          <maml:para>This command returns the summary of PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
 153          <maml:para>
 154          </maml:para>
 155          <maml:para>
 156          </maml:para>
 157          <maml:para>
 158          </maml:para>
 159          <maml:para>
 160          </maml:para>
 161        </dev:remarks>
 162        <command:commandLines>
 163          <command:commandLine>
 164            <command:commandText>
 165            </command:commandText>
 166          </command:commandLine>
 167        </command:commandLines>
 168      </command:example>
 169    </command:examples>
 170    <maml:relatedLinks>
 171    </maml:relatedLinks>
 172  </command:command>
 173  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
 174    <!--Generated by Help Cmdlet Editor-->
 175    <command:details>
 176      <command:name>Get-PHPExtension</command:name>
 177      <maml:description>
 178        <maml:para>Gets the list of PHP extensions available in the currently active PHP version.</maml:para>
 179      </maml:description>
 180      <maml:copyright>
 181        <maml:para />
 182        <!--Add copy right info here.-->
 183      </maml:copyright>
 184      <command:verb>Get</command:verb>
 185      <command:noun>PHPExtension</command:noun>
 186      <!--Add Dev version info here.-->
 187      <dev:version />
 188    </command:details>
 189    <maml:description>
 190      <!--This is the Description section-->
 191      <maml:para>The Get-PHPExtension cmdlet outputs the list of all PHP extensions available in the currently active PHP version. The list can be filtered by extension name and by the status (enabled or disabled).</maml:para>
 192    </maml:description>
 193    <command:syntax>
 194      <command:syntaxItem>
 195        <maml:name>Get-PHPExtension</maml:name>
 196        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
 197          <maml:name>Name</maml:name>
 198          <maml:description>
 199            <maml:para>Specifies the name of the extensions to output. If the parameter is not specified then all available extensions will be listed. This parameter supports wildcards.</maml:para>
 200          </maml:description>
 201          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 202        </command:parameter>
 203        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
 204          <maml:name>Status</maml:name>
 205          <maml:description>
 206            <maml:para>Specifies the status of the extension. Possible values are "enabled" and "disabled". Only the extension that match the specified status will be listed. If this parameter is not specified then all extensions will be listed.</maml:para>
 207          </maml:description>
 208          <command:parameterValue required="true" variableLength="false">PHPExtensionStatus</command:parameterValue>
 209        </command:parameter>
 210        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 211          <maml:name>SiteName</maml:name>
 212          <maml:description>
 213            <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 214          </maml:description>
 215          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 216        </command:parameter>
 217        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 218          <maml:name>VirtualPath</maml:name>
 219          <maml:description>
 220            <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
 221          </maml:description>
 222          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 223        </command:parameter>
 224      </command:syntaxItem>
 225    </command:syntax>
 226    <command:parameters>
 227      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
 228        <maml:name>Name</maml:name>
 229        <maml:description>
 230          <maml:para>Specifies the name of the extensions to output. If the parameter is not specified then all available extensions will be listed. This parameter supports wildcards.</maml:para>
 231        </maml:description>
 232        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 233        <dev:type>
 234          <maml:name>String</maml:name>
 235          <maml:uri />
 236        </dev:type>
 237        <dev:defaultValue>
 238        </dev:defaultValue>
 239      </command:parameter>
 240      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
 241        <maml:name>Status</maml:name>
 242        <maml:description>
 243          <maml:para>Specifies the status of the extension. Possible values are "enabled" and "disabled". Only the extension that match the specified status will be listed. If this parameter is not specified then all extensions will be listed.</maml:para>
 244        </maml:description>
 245        <command:parameterValue required="true" variableLength="false">PHPExtensionStatus</command:parameterValue>
 246        <dev:type>
 247          <maml:name>PHPExtensionStatus</maml:name>
 248          <maml:uri />
 249        </dev:type>
 250        <dev:defaultValue>
 251        </dev:defaultValue>
 252      </command:parameter>
 253      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 254        <maml:name>SiteName</maml:name>
 255        <maml:description>
 256          <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 257        </maml:description>
 258        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 259        <dev:type>
 260          <maml:name>String</maml:name>
 261          <maml:uri />
 262        </dev:type>
 263        <dev:defaultValue>
 264        </dev:defaultValue>
 265      </command:parameter>
 266      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 267        <maml:name>VirtualPath</maml:name>
 268        <maml:description>
 269          <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
 270        </maml:description>
 271        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 272        <dev:type>
 273          <maml:name>String</maml:name>
 274          <maml:uri />
 275        </dev:type>
 276        <dev:defaultValue>
 277        </dev:defaultValue>
 278      </command:parameter>
 279    </command:parameters>
 280    <command:inputTypes>
 281      <command:inputType>
 282        <dev:type>
 283          <maml:name>None</maml:name>
 284          <maml:uri />
 285          <maml:description>
 286            <maml:para>
 287            </maml:para>
 288          </maml:description>
 289        </dev:type>
 290        <maml:description>
 291        </maml:description>
 292      </command:inputType>
 293    </command:inputTypes>
 294    <command:returnValues>
 295      <command:returnValue>
 296        <dev:type>
 297          <maml:name>
 298          </maml:name>
 299          <maml:uri />
 300          <maml:description>
 301            <maml:para>
 302            </maml:para>
 303          </maml:description>
 304        </dev:type>
 305        <maml:description>
 306        </maml:description>
 307      </command:returnValue>
 308    </command:returnValues>
 309    <command:terminatingErrors>
 310    </command:terminatingErrors>
 311    <command:nonTerminatingErrors>
 312    </command:nonTerminatingErrors>
 313    <maml:alertSet>
 314      <maml:title>
 315      </maml:title>
 316      <maml:alert>
 317        <maml:para>
 318        </maml:para>
 319      </maml:alert>
 320    </maml:alertSet>
 321    <command:examples>
 322      <command:example>
 323        <maml:title>
 324--------------  Example 1 --------------			</maml:title>
 325        <maml:introduction>
 326          <maml:para>C:\PS&gt;</maml:para>
 327C:\PS&gt;			</maml:introduction>
 328        <dev:code>Get-PHPExtension</dev:code>
 329        <dev:remarks>
 330          <maml:para>This command lists all the extensions that are available for the currently active PHP version.</maml:para>
 331          <maml:para>
 332          </maml:para>
 333          <maml:para>
 334          </maml:para>
 335          <maml:para>
 336          </maml:para>
 337          <maml:para>
 338          </maml:para>
 339        </dev:remarks>
 340        <command:commandLines>
 341          <command:commandLine>
 342            <command:commandText>
 343            </command:commandText>
 344          </command:commandLine>
 345        </command:commandLines>
 346      </command:example>
 347      <command:example>
 348        <maml:title>
 349--------------  Example 2 --------------			</maml:title>
 350        <maml:introduction>
 351          <maml:para>C:\PS&gt;</maml:para>
 352C:\PS&gt;			</maml:introduction>
 353        <dev:code>Get-PHPExtension -SiteName mysite -VirtualPath /forum/</dev:code>
 354        <dev:remarks>
 355          <maml:para>This command returns the list of extensions available in PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
 356          <maml:para>
 357          </maml:para>
 358          <maml:para>
 359          </maml:para>
 360          <maml:para>
 361          </maml:para>
 362          <maml:para>
 363          </maml:para>
 364        </dev:remarks>
 365        <command:commandLines>
 366          <command:commandLine>
 367            <command:commandText>
 368            </command:commandText>
 369          </command:commandLine>
 370        </command:commandLines>
 371      </command:example>
 372      <command:example>
 373        <maml:title>
 374--------------  Example 3 --------------			</maml:title>
 375        <maml:introduction>
 376          <maml:para>C:\PS&gt;</maml:para>
 377C:\PS&gt;			</maml:introduction>
 378        <dev:code>Get-PHPExtension -Name *pdo* -Status Enabled</dev:code>
 379        <dev:remarks>
 380          <maml:para>This command lists all the enabled PHP extension that have "pdo" in their name.</maml:para>
 381          <maml:para>
 382          </maml:para>
 383          <maml:para>
 384          </maml:para>
 385          <maml:para>Name                      Status
 386----                      ------
 387php_pdo_firebird.dll      Enabled
 388php_pdo_mysql.dll         Enabled
 389php_pdo_oci.dll           Enabled
 390php_pdo_odbc.dll          Enabled
 391php_pdo_pgsql.dll         Enabled
 392php_pdo_sqlite.dll        Enabled
 393				</maml:para>
 394          <maml:para>
 395          </maml:para>
 396        </dev:remarks>
 397        <command:commandLines>
 398          <command:commandLine>
 399            <command:commandText>
 400            </command:commandText>
 401          </command:commandLine>
 402        </command:commandLines>
 403      </command:example>
 404    </command:examples>
 405    <maml:relatedLinks>
 406      <maml:navigationLink>
 407        <maml:linkText>Set-PHPExtension</maml:linkText>
 408        <maml:uri />
 409      </maml:navigationLink>
 410    </maml:relatedLinks>
 411  </command:command>
 412  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
 413    <!--Generated by Help Cmdlet Editor-->
 414    <command:details>
 415      <command:name>Get-PHPSetting</command:name>
 416      <maml:description>
 417        <maml:para>Gets the list of configuration settings for currently active PHP version.</maml:para>
 418      </maml:description>
 419      <maml:copyright>
 420        <maml:para />
 421        <!--Add copy right info here.-->
 422      </maml:copyright>
 423      <command:verb>Get</command:verb>
 424      <command:noun>PHPSetting</command:noun>
 425      <!--Add Dev version info here.-->
 426      <dev:version />
 427    </command:details>
 428    <maml:description>
 429      <!--This is the Description section-->
 430      <maml:para>The Get-PHPSetting cmdlet gets the list of configurations settings for currently active PHP version on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
 431    </maml:description>
 432    <command:syntax>
 433      <command:syntaxItem>
 434        <maml:name>Get-PHPSetting</maml:name>
 435        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
 436          <maml:name>Name</maml:name>
 437          <maml:description>
 438            <maml:para>Specifies the name of a PHP setting. If this parameter is not specified then all PHP settings will be listed. This parameter supports wildcards syntax.</maml:para>
 439          </maml:description>
 440          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 441        </command:parameter>
 442        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 443          <maml:name>Section</maml:name>
 444          <maml:description>
 445            <maml:para>Specifies the PHP.INI section where settings belong to. If this parameter is specified then only the settings from the specified section will be listed.</maml:para>
 446          </maml:description>
 447          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 448        </command:parameter>
 449        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 450          <maml:name>SiteName</maml:name>
 451          <maml:description>
 452            <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 453          </maml:description>
 454          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 455        </command:parameter>
 456        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 457          <maml:name>VirtualPath</maml:name>
 458          <maml:description>
 459            <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
 460          </maml:description>
 461          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 462        </command:parameter>
 463      </command:syntaxItem>
 464    </command:syntax>
 465    <command:parameters>
 466      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
 467        <maml:name>Name</maml:name>
 468        <maml:description>
 469          <maml:para>Specifies the name of a PHP setting. If this parameter is not specified then all PHP settings will be listed. This parameter supports wildcards syntax.</maml:para>
 470        </maml:description>
 471        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 472        <dev:type>
 473          <maml:name>String</maml:name>
 474          <maml:uri />
 475        </dev:type>
 476        <dev:defaultValue>
 477        </dev:defaultValue>
 478      </command:parameter>
 479      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 480        <maml:name>Section</maml:name>
 481        <maml:description>
 482          <maml:para>Specifies the PHP.INI section where settings belong to. If this parameter is specified then only the settings from the specified section will be listed.</maml:para>
 483        </maml:description>
 484        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 485        <dev:type>
 486          <maml:name>String</maml:name>
 487          <maml:uri />
 488        </dev:type>
 489        <dev:defaultValue>
 490        </dev:defaultValue>
 491      </command:parameter>
 492      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 493        <maml:name>SiteName</maml:name>
 494        <maml:description>
 495          <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 496        </maml:description>
 497        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 498        <dev:type>
 499          <maml:name>String</maml:name>
 500          <maml:uri />
 501        </dev:type>
 502        <dev:defaultValue>
 503        </dev:defaultValue>
 504      </command:parameter>
 505      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 506        <maml:name>VirtualPath</maml:name>
 507        <maml:description>
 508          <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
 509        </maml:description>
 510        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 511        <dev:type>
 512          <maml:name>String</maml:name>
 513          <maml:uri />
 514        </dev:type>
 515        <dev:defaultValue>
 516        </dev:defaultValue>
 517      </command:parameter>
 518    </command:parameters>
 519    <command:inputTypes>
 520      <command:inputType>
 521        <dev:type>
 522          <maml:name>None</maml:name>
 523          <maml:uri />
 524          <maml:description>
 525            <maml:para>
 526            </maml:para>
 527          </maml:description>
 528        </dev:type>
 529        <maml:description>
 530        </maml:description>
 531      </command:inputType>
 532    </command:inputTypes>
 533    <command:returnValues>
 534      <command:returnValue>
 535        <dev:type>
 536          <maml:name>
 537          </maml:name>
 538          <maml:uri />
 539          <maml:description>
 540            <maml:para>
 541            </maml:para>
 542          </maml:description>
 543        </dev:type>
 544        <maml:description>
 545        </maml:description>
 546      </command:returnValue>
 547    </command:returnValues>
 548    <command:terminatingErrors>
 549    </command:terminatingErrors>
 550    <command:nonTerminatingErrors>
 551    </command:nonTerminatingErrors>
 552    <maml:alertSet>
 553      <maml:title>
 554      </maml:title>
 555      <maml:alert>
 556        <maml:para>
 557        </maml:para>
 558      </maml:alert>
 559    </maml:alertSet>
 560    <command:examples>
 561      <command:example>
 562        <maml:title>
 563--------------  Example 1 --------------			</maml:title>
 564        <maml:introduction>
 565          <maml:para>C:\PS&gt;</maml:para>
 566C:\PS&gt;			</maml:introduction>
 567        <dev:code>Get-PHPSetting</dev:code>
 568        <dev:remarks>
 569          <maml:para>This command lists all the configuration settings for the currently active PHP version.</maml:para>
 570          <maml:para>
 571          </maml:para>
 572          <maml:para>
 573          </maml:para>
 574          <maml:para>
 575          </maml:para>
 576          <maml:para>
 577          </maml:para>
 578        </dev:remarks>
 579        <command:commandLines>
 580          <command:commandLine>
 581            <command:commandText>
 582            </command:commandText>
 583          </command:commandLine>
 584        </command:commandLines>
 585      </command:example>
 586      <command:example>
 587        <maml:title>
 588--------------  Example 2 --------------			</maml:title>
 589        <maml:introduction>
 590          <maml:para>C:\PS&gt;</maml:para>
 591C:\PS&gt;			</maml:introduction>
 592        <dev:code>Get-PHPSetting -SiteName mysite -VirtualPath /forum/</dev:code>
 593        <dev:remarks>
 594          <maml:para>This command returns the list of configuration settings for the PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
 595          <maml:para>
 596          </maml:para>
 597          <maml:para>
 598          </maml:para>
 599          <maml:para>
 600          </maml:para>
 601          <maml:para>
 602          </maml:para>
 603        </dev:remarks>
 604        <command:commandLines>
 605          <command:commandLine>
 606            <command:commandText>
 607            </command:commandText>
 608          </command:commandLine>
 609        </command:commandLines>
 610      </command:example>
 611      <command:example>
 612        <maml:title>
 613--------------  Example 3 --------------			</maml:title>
 614        <maml:introduction>
 615          <maml:para>C:\PS&gt;</maml:para>
 616C:\PS&gt;			</maml:introduction>
 617        <dev:code>Get-PHPSetting -Name *error* -Section PHP</dev:code>
 618        <dev:remarks>
 619          <maml:para>This command returns the list of configuration settings that contain "error" in their names and that belong to "PHP" section.</maml:para>
 620          <maml:para>
 621          </maml:para>
 622          <maml:para>
 623          </maml:para>
 624          <maml:para>Name                        Value                         Section
 625----                        -----                         -------
 626error_reporting             E_ALL &amp; ~E_DEPRECATED         PHP
 627display_errors              Off                           PHP
 628display_startup_errors      Off                           PHP
 629log_errors                  On                            PHP
 630log_errors_max_len          1024                          PHP
 631ignore_repeated_errors      Off                           PHP
 632track_errors                Off                           PHP
 633html_errors                 Off                           PHP
 634error_log                   "C:\Windows\Temp\errors.log"  PHP
 635				</maml:para>
 636          <maml:para>
 637          </maml:para>
 638        </dev:remarks>
 639        <command:commandLines>
 640          <command:commandLine>
 641            <command:commandText>
 642            </command:commandText>
 643          </command:commandLine>
 644        </command:commandLines>
 645      </command:example>
 646    </command:examples>
 647    <maml:relatedLinks>
 648      <maml:navigationLink>
 649        <maml:linkText>Set-PHPSetting</maml:linkText>
 650        <maml:uri />
 651      </maml:navigationLink>
 652      <maml:navigationLink>
 653        <maml:linkText>New-PHPSetting</maml:linkText>
 654        <maml:uri />
 655      </maml:navigationLink>
 656      <maml:navigationLink>
 657        <maml:linkText>Remove-PHPSetting</maml:linkText>
 658        <maml:uri />
 659      </maml:navigationLink>
 660    </maml:relatedLinks>
 661  </command:command>
 662  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
 663    <!--Generated by Help Cmdlet Editor-->
 664    <command:details>
 665      <command:name>Get-PHPVersion</command:name>
 666      <maml:description>
 667        <maml:para>Gets the list of all available PHP versions that are registered with IIS.</maml:para>
 668      </maml:description>
 669      <maml:copyright>
 670        <maml:para />
 671        <!--Add copy right info here.-->
 672      </maml:copyright>
 673      <command:verb>Get</command:verb>
 674      <command:noun>PHPVersion</command:noun>
 675      <!--Add Dev version info here.-->
 676      <dev:version />
 677    </command:details>
 678    <maml:description>
 679      <!--This is the Description section-->
 680      <maml:para>The Get-PHPVersion cmdlet gets the list of all PHP versions that are registered with IIS on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
 681    </maml:description>
 682    <command:syntax>
 683      <command:syntaxItem>
 684        <maml:name>Get-PHPVersion</maml:name>
 685        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
 686          <maml:name>HandlerName</maml:name>
 687          <maml:description>
 688            <maml:para>Specifies the name of the handler mapping for PHP. If this parameter is not specified then all available handler mappings will be listed. This parameter supports wildcard syntax.</maml:para>
 689          </maml:description>
 690          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 691        </command:parameter>
 692        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
 693          <maml:name>Version</maml:name>
 694          <maml:description>
 695            <maml:para>Specifies a version of PHP. If this parameter is specified then only handler mappings for that PHP version will be listed. This parameter supports wildcard syntax.</maml:para>
 696          </maml:description>
 697          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 698        </command:parameter>
 699        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 700          <maml:name>SiteName</maml:name>
 701          <maml:description>
 702            <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 703          </maml:description>
 704          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 705        </command:parameter>
 706        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 707          <maml:name>VirtualPath</maml:name>
 708          <maml:description>
 709            <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
 710          </maml:description>
 711          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 712        </command:parameter>
 713      </command:syntaxItem>
 714    </command:syntax>
 715    <command:parameters>
 716      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
 717        <maml:name>HandlerName</maml:name>
 718        <maml:description>
 719          <maml:para>Specifies the name of the handler mapping for PHP. If this parameter is not specified then all available handler mappings will be listed. This parameter supports wildcard syntax.</maml:para>
 720        </maml:description>
 721        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 722        <dev:type>
 723          <maml:name>String</maml:name>
 724          <maml:uri />
 725        </dev:type>
 726        <dev:defaultValue>
 727        </dev:defaultValue>
 728      </command:parameter>
 729      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
 730        <maml:name>Version</maml:name>
 731        <maml:description>
 732          <maml:para>Specifies a version of PHP. If this parameter is specified then only handler mappings for that PHP version will be listed. This parameter supports wildcard syntax.</maml:para>
 733        </maml:description>
 734        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 735        <dev:type>
 736          <maml:name>String</maml:name>
 737          <maml:uri />
 738        </dev:type>
 739        <dev:defaultValue>
 740        </dev:defaultValue>
 741      </command:parameter>
 742      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 743        <maml:name>SiteName</maml:name>
 744        <maml:description>
 745          <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 746        </maml:description>
 747        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 748        <dev:type>
 749          <maml:name>String</maml:name>
 750          <maml:uri />
 751        </dev:type>
 752        <dev:defaultValue>
 753        </dev:defaultValue>
 754      </command:parameter>
 755      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 756        <maml:name>VirtualPath</maml:name>
 757        <maml:description>
 758          <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
 759        </maml:description>
 760        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 761        <dev:type>
 762          <maml:name>String</maml:name>
 763          <maml:uri />
 764        </dev:type>
 765        <dev:defaultValue>
 766        </dev:defaultValue>
 767      </command:parameter>
 768    </command:parameters>
 769    <command:inputTypes>
 770      <command:inputType>
 771        <dev:type>
 772          <maml:name>None</maml:name>
 773          <maml:uri />
 774          <maml:description>
 775            <maml:para>
 776            </maml:para>
 777          </maml:description>
 778        </dev:type>
 779        <maml:description>
 780        </maml:description>
 781      </command:inputType>
 782    </command:inputTypes>
 783    <command:returnValues>
 784      <command:returnValue>
 785        <dev:type>
 786          <maml:name>
 787          </maml:name>
 788          <maml:uri />
 789          <maml:description>
 790            <maml:para>
 791            </maml:para>
 792          </maml:description>
 793        </dev:type>
 794        <maml:description>
 795        </maml:description>
 796      </command:returnValue>
 797    </command:returnValues>
 798    <command:terminatingErrors>
 799    </command:terminatingErrors>
 800    <command:nonTerminatingErrors>
 801    </command:nonTerminatingErrors>
 802    <maml:alertSet>
 803      <maml:title>
 804      </maml:title>
 805      <maml:alert>
 806        <maml:para>
 807        </maml:para>
 808      </maml:alert>
 809    </maml:alertSet>
 810    <command:examples>
 811      <command:example>
 812        <maml:title>
 813--------------  Example 1 --------------			</maml:title>
 814        <maml:introduction>
 815          <maml:para>C:\PS&gt;</maml:para>
 816C:\PS&gt;			</maml:introduction>
 817        <dev:code>Get-PHPVersion</dev:code>
 818        <dev:remarks>
 819          <maml:para>This command lists all the PHP versions registered with IIS on a server level.</maml:para>
 820          <maml:para>
 821          </maml:para>
 822          <maml:para>
 823          </maml:para>
 824          <maml:para>HandlerName       Version       ScriptProcessor           Active
 825-----------       -------       ---------------           ------
 826php-5.3.6         5.3.6         C:\php\536\php-cgi.exe    True
 827php-5.2.16        5.2.16        C:\php\5216\php-cgi.exe   False
 828php-5.3.1         5.3.1         C:\php\531\php-cgi.exe    False
 829				</maml:para>
 830          <maml:para>
 831          </maml:para>
 832        </dev:remarks>
 833        <command:commandLines>
 834          <command:commandLine>
 835            <command:commandText>
 836            </command:commandText>
 837          </command:commandLine>
 838        </command:commandLines>
 839      </command:example>
 840      <command:example>
 841        <maml:title>
 842--------------  Example 2 --------------			</maml:title>
 843        <maml:introduction>
 844          <maml:para>C:\PS&gt;</maml:para>
 845C:\PS&gt;			</maml:introduction>
 846        <dev:code>Get-PHPVersion -SiteName mysite -VirtualPath /forum</dev:code>
 847        <dev:remarks>
 848          <maml:para>This command returns all the versions of PHP that are configured for the directory "/forum" on a site with name "mysite".</maml:para>
 849          <maml:para>
 850          </maml:para>
 851          <maml:para>
 852          </maml:para>
 853          <maml:para>
 854          </maml:para>
 855          <maml:para>
 856          </maml:para>
 857        </dev:remarks>
 858        <command:commandLines>
 859          <command:commandLine>
 860            <command:commandText>
 861            </command:commandText>
 862          </command:commandLine>
 863        </command:commandLines>
 864      </command:example>
 865    </command:examples>
 866    <maml:relatedLinks>
 867      <maml:navigationLink>
 868        <maml:linkText>New-PHPVersion</maml:linkText>
 869        <maml:uri />
 870      </maml:navigationLink>
 871    </maml:relatedLinks>
 872  </command:command>
 873  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
 874    <!--Generated by Help Cmdlet Editor-->
 875    <command:details>
 876      <command:name>New-PHPSetting</command:name>
 877      <maml:description>
 878        <maml:para>Adds new PHP configuration setting to the currently active PHP version.</maml:para>
 879      </maml:description>
 880      <maml:copyright>
 881        <maml:para />
 882        <!--Add copy right info here.-->
 883      </maml:copyright>
 884      <command:verb>New</command:verb>
 885      <command:noun>PHPSetting</command:noun>
 886      <!--Add Dev version info here.-->
 887      <dev:version />
 888    </command:details>
 889    <maml:description>
 890      <!--This is the Description section-->
 891      <maml:para>The New-PHPSetting cmdlet adds a new PHP configuration setting to the PHP version that is currently active on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
 892    </maml:description>
 893    <command:syntax>
 894      <command:syntaxItem>
 895        <maml:name>New-PHPSetting</maml:name>
 896        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
 897          <maml:name>Name</maml:name>
 898          <maml:description>
 899            <maml:para>Specifies the name of the setting to be added.</maml:para>
 900          </maml:description>
 901          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 902        </command:parameter>
 903        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
 904          <maml:name>Value</maml:name>
 905          <maml:description>
 906            <maml:para>Specifies the value of the setting to be added.</maml:para>
 907          </maml:description>
 908          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 909        </command:parameter>
 910        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
 911          <maml:name>Section</maml:name>
 912          <maml:description>
 913            <maml:para>Specifies the name of the section that the setting belongs to. If this parameter is not specified then the setting will be added to "PHP" section.</maml:para>
 914          </maml:description>
 915          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 916        </command:parameter>
 917        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 918          <maml:name>SiteName</maml:name>
 919          <maml:description>
 920            <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 921          </maml:description>
 922          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 923        </command:parameter>
 924        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 925          <maml:name>VirtualPath</maml:name>
 926          <maml:description>
 927            <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
 928          </maml:description>
 929          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 930        </command:parameter>
 931        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 932          <maml:name>WhatIf</maml:name>
 933          <maml:description>
 934            <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
 935          </maml:description>
 936        </command:parameter>
 937        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 938          <maml:name>Confirm</maml:name>
 939          <maml:description>
 940            <maml:para>Prompts for confirmation before executing the command.</maml:para>
 941          </maml:description>
 942        </command:parameter>
 943      </command:syntaxItem>
 944    </command:syntax>
 945    <command:parameters>
 946      <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
 947        <maml:name>Name</maml:name>
 948        <maml:description>
 949          <maml:para>Specifies the name of the setting to be added.</maml:para>
 950        </maml:description>
 951        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 952        <dev:type>
 953          <maml:name>String</maml:name>
 954          <maml:uri />
 955        </dev:type>
 956        <dev:defaultValue>
 957        </dev:defaultValue>
 958      </command:parameter>
 959      <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
 960        <maml:name>Value</maml:name>
 961        <maml:description>
 962          <maml:para>Specifies the value of the setting to be added.</maml:para>
 963        </maml:description>
 964        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 965        <dev:type>
 966          <maml:name>String</maml:name>
 967          <maml:uri />
 968        </dev:type>
 969        <dev:defaultValue>
 970        </dev:defaultValue>
 971      </command:parameter>
 972      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
 973        <maml:name>Section</maml:name>
 974        <maml:description>
 975          <maml:para>Specifies the name of the section that the setting belongs to. If this parameter is not specified then the setting will be added to "PHP" section.</maml:para>
 976        </maml:description>
 977        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 978        <dev:type>
 979          <maml:name>String</maml:name>
 980          <maml:uri />
 981        </dev:type>
 982        <dev:defaultValue>PHP</dev:defaultValue>
 983      </command:parameter>
 984      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 985        <maml:name>SiteName</maml:name>
 986        <maml:description>
 987          <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
 988        </maml:description>
 989        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
 990        <dev:type>
 991          <maml:name>String</maml:name>
 992          <maml:uri />
 993        </dev:type>
 994        <dev:defaultValue>
 995        </dev:defaultValue>
 996      </command:parameter>
 997      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
 998        <maml:name>VirtualPath</maml:name>
 999        <maml:description>
1000          <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
1001        </maml:description>
1002        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
1003        <dev:type>
1004          <maml:name>String</maml:name>
1005          <maml:uri />
1006        </dev:type>
1007        <dev:defaultValue>
1008        </dev:defaultValue>
1009      </command:parameter>
1010      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
1011        <maml:name>WhatIf</maml:name>
1012        <maml:description>
1013          <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
1014        </maml:description>
1015        <dev:type>
1016          <maml:name>SwitchParameter</maml:name>
1017          <maml:uri />
1018        </dev:type>
1019        <dev:defaultValue>
1020        </dev:defaultValue>
1021      </command:parameter>
1022      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
1023        <maml:name>Confirm</maml:name>
1024        <maml:description>
1025          <maml:para>Prompts for confirmation before executing the command.</maml:para>
1026        </maml:description>
1027        <dev:type>
1028          <maml:name>SwitchParameter</maml:name>
1029          <maml:uri />
1030        </dev:type>
1031        <dev:defaultValue>
1032        </dev:defaultValue>
1033      </command:parameter>
1034    </command:parameters>
1035    <command:inputTypes>
1036      <command:inputType>
1037        <dev:type>
1038          <maml:name>None</maml:name>
1039          <maml:uri />
1040          <maml:description>
1041            <maml:para>
1042            </maml:para>
1043          </maml:description>
1044        </dev:type>
1045        <maml:description>
1046        </maml:description>
1047      </command:inputType>
1048    </command:inputTypes>
1049    <command:returnValues>
1050      <command:returnValue>
1051        <dev:type>
1052          <maml:name>
1053          </maml:name>
1054          <maml:uri />
1055          <maml:description>
1056            <maml:para>
1057            </maml:para>
1058

Large files files are truncated, but you can click here to view the full file