eps
eps copied to clipboard
Erratic behavior with PS for Linux
This is quite interesting, with PS 7.3.1 on Linux with EPS 1.0.0.
I found another way to get the templating done, but maybe it'll help someone save time: this doesn't seem to work right.
Import-Module EPS
$t1 = @"
192.168.1.<%= $last %>/24
s<%= $last %>
"@
$last = 127
Invoke-EpsTemplate -Template $t1
Expected:
192.168.1.127/24
s127
Obtained:
- The first time
192.168.1./24
s
- The second time
192.168.1.127/24
s127
