< Back

Find-PSCUCMLine

Sun Jan 19, 2020 6:38 pm

NAME Find-PSCUCMLine



SYNOPSIS

Find lines within CUCM





SYNTAX

Find-PSCUCMLine [[-Pattern] <String>] [[-Description] <String>] [[-Usage] <String>] [[-RoutePartitionName]

<String>] [[-skip] <Int32>] [[-first] <Int32>] [-EnableException] [<CommonParameters>]





DESCRIPTION

Find lines within CUCM that match the criteria





PARAMETERS

-Pattern <String>

Pattern to search



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <String>

Description to search



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Usage <String>

Usage to search (Your guess is as good as mine...)



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RoutePartitionName <String>

RoutePartitionName to search



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-skip <Int32>

Number of lines to skip.



Required? false

Position? 5

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-first <Int32>

Number of lines to return.



Required? false

Position? 6

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-EnableException [<SwitchParameter>]

Replaces user friendly yellow warnings with bloody red exceptions of doom!

Use this if you want the function to throw terminating errors you want to catch.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Uses SQL Wildcards. So %



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Find-PSCUCMLine -Line %



Finds all lines within CUCM











RELATED LINKS