Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

powershell execution fails when using convert(to/from)-securestring #343

airathere started this conversation in General
Discussion options

Hi all,

does anyone know, if there is a known problem with executing ps-scripts (PS 5) containing convert(to/from)-securestring?
If i run the ps-script on commandline, things are fine, scripts runs like it should.
Running it via snclient (nrpe call) results in an error which says, that it cannot find the credentials and gives a hint, to run ps in interactive mode...

Any help appreciated!

Joe

Env:
Snclient 0.42
Windows Server 2022

You must be logged in to vote

Replies: 0 comments

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

AltStyle によって変換されたページ (->オリジナル) /