Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PSDevOps
0.4.6
Types/PSDevOps.Behavior/get_BehaviorID.ps1
if
(
$this
.
behavior
.
id
)
{
$this
.
behavior
.
id
}
elseif
(
$this
.
url
)
{
(
[uri]
$this
.
url
)
.
Segments
[
-1
]
.
TrimStart
(
'/'
)
}