Test-Line
PackageDeployment Module Help |
Package Deployment Module |
Test-Line Cmdlet |
Version 4.0.0.5 |
Test-Line
Synopsis
Existence of a line
Syntax
Test-Line [-Path] <String> [-Line] <String> [[-Context] <String>] [-ContinueOnError] [<CommonParameters>]
Description
Checks whether a specific line exists in the specified file. Wildcards can be used also.
Parameters
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command |
||||||
|
-Line <String> |
||||||
Content of the line. Wildcards (? *) can be used. |
||||||
|
-Path <String> |
||||||
File path. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |