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

With-Credentials #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

raetrace
Copy link

@raetrace raetrace commented Jun 2, 2016

Added ability to pass PSCredentials to the script so that this can be ran using alternative credentials against a local or remote machine. Also added the ability to pass a UserName which will then prompt for a PassWord.

Also modified the script to work against remote older Windows systems such as Windows 2000/XP/2003 that are NOT in the same domain.

My code changes aren't the cleanest. Feel free to clean up and comment. @RamblingCookieMonster

Added ability to pass PSCredentials to the script so that this can be ran using alternative credentials against a local or remote machine.  Also added the ability to pass a UserName which will then prompt for a PassWord.

Also modified the script to work against remote older Windows systems such as Windows 2000/XP/2003 that are NOT in the same domain.
Removed Export-ModuleMember at the end for users who don't want to have to load this script as a module.
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

Successfully merging this pull request may close these issues.

1 participant