Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erratic behavior with PS for Linux #40

Open
scaleoutsean opened this issue Jan 16, 2023 · 0 comments
Open

Erratic behavior with PS for Linux #40

scaleoutsean opened this issue Jan 16, 2023 · 0 comments

Comments

@scaleoutsean
Copy link

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant