What RAIDlevel to run on larger array?

Getting Started

This is an example of how you may go ahead and generate your own secure passwords. To do so, follow the steps below.

Prerequisites

You need to either clone this script into your own git repository, and dot source it to gain access to its functions OR import this repository in Jenkins.

To dot source put this script next to the script you are dot sourcing from and run

. .\"New-Password.ps1"

Usage

The main and single function of this script is to generate secure passwords

Example 1: Generate basic secure password

Running New-Password will return a 40 char long password as a secure string. This password has as minimum 2 lower case chars, 2 upper case chars, 2 digits and 2 special chars.

Example 2: Generate 12 char long password as plaintext string

New-Password -Length 12 -AsString

Example 3: Generate password with increased minimum upper case chars

New-Password -MinUppercaseChars 20

Example 4: Generate password without the chars l, i and 1

New-Password -ForbiddenChars @("l", "i", "1")

Parameters

As-String

  • Set to true if you want output in clear-test

    Length

  • Specifies the length of the outputted password

ForbiddenChars

  • Accepts an array of chars that will not be included in the built password

MinLowercaseChars MinLowercaseChars MinLowercaseChars

<!-- CONTRIBUTING -->

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

<p align="right">(<a href="#top">back to top</a>)</p>

<!-- LICENSE -->

License

Distributed under the MIT License. See LICENSE.txt for more information.

<p align="right">(<a href="#top">back to top</a>)</p>

<!-- CONTACT -->

Contact

Your Name - @twitter_handle - email@email_client.com

Project Link: https://github.com/github_username/repo_name

<p align="right">(<a href="#top">back to top</a>)</p>

<!-- ACKNOWLEDGMENTS -->

Acknowledgments

  • []()
  • []()
  • []()

<p align="right">(<a href="#top">back to top</a>)</p>

<!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->

/r/synology Thread