Jump to content
Sign in to follow this  
bmiller

Scripting Issue

Recommended Posts

Hey Everyone,

The script I made imports a module using Import-Module AdmPwd.PS in the first step. The second step put in the get-AdmPwdPassword command and the %computername%. The results I get are all dashes for the password as if powershell closed before running the second command. If I run the script in PS without the Import command, I get the same results I am seeing with the CW script. Below is a screen shot of my script. Any suggestions?

image.png.6725cb7c7aad28e0440a7d66bb9ec7e8.png

Thanks..as always for your help!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...