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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×