Skip to content

enderphan94/Syncing-Data-With-Hidden-Credentials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Syncing-Data-With-Hidden-Credential

Description

It maps data out from AD Groups and external input, then on correlates with its AD group name and Folder's name.

  • Ownder Update
  • Description Update
  • Notes Update

Hidden credential

read-host -assecurestring | convertfrom-securestring | out-file C:\Users\p998wph\Documents\Ender4\password.txt
function cred{

    $username = "abd.com\p998"
    $password = Get-Content "C:\Users\p998\Documents\Ender4\password.txt" |ConvertTo-SecureString
    $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
    return $cred
}

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors