Files
PowerShell-PowerShell/src/Modules
Steve LeeandJames Truher [MSFT] a153446a01 Add Get-SecureRandom cmdlet (#19587)
* Add `Get-SecureRandom` cmdlet

* update comments

* address Paul and Travis' comments

* Update test/powershell/Modules/Microsoft.PowerShell.Utility/Get-SecureRandom.Tests.ps1

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>

* address codefactor

* address Ilya's feedback creating a base class for both cmdlets

* remove unused `using`

---------

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>
2023-05-02 10:54:39 -07:00
..
2023-05-02 10:54:39 -07:00

Modules

There are 3 directories with content files. Content files includes:

  • ps1xml
  • psm1
  • psd1
  • ps1

These files are copied as-is by dotnet

  • Shared (shared between Windows and Unix)
  • Windows
  • Unix

Notes

We have files with the same names in different folders. That means that the contents of these two files are different. I.e. if it's .psd1 file, it could be because CmdletsToExport are different for different runtimes (platforms) or frameworks.