Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuring the script for use

  1. You can request Download the AD script by reaching out to support@zillasecurity.com or speaking to your technical lead.

  2. Copy the files (ADscript.ps1 and config.yaml) to the same directory. cd or navigate into this directory.

    1. Create a copy of config.yaml for reference of the original configuration provided as an example

  3. Open config.yaml in a text editorscript

    View file
    nameADscript_version-R-12.ps1

  4. Edit this file and update the following fields. NEED update to next section

  5. Identify the distinguished name (DN) for the Domain, and decide if you will be pulling the entirety of the domain to the directory or certain Organization Units (OUs). This will be defined under the DNS section of config.yaml .

    1. If individual OUs the config yaml will need to have line for the DN of each OU, example:

      Code Block
      - OU=Sales,DC=zillasecurity,DC=com
      - OU=IT,DC=zillasecurity,DC=com
    2. Alternatively, include a single specifying the DN of the domain, example:

      Code Block
      - DC=zillasecurity,DC=com

       

  6. On initial use, run with SftpEnabled = false this will simplify the first tests to avoid using an SFTP server to ensure the necessary data is collected from AD. A file, directory.csv , will be created in the current directory.

...