Files
PowerShell/src/Modules
iSazonov b56bbeabc6 Add Get-Uptime to Microsoft.PowerShell.Utility (C# cmdlet) (#2517)
* Add Get-Uptime (C# code)

1. Add Get-Uptime cmdlet (C# code)
2. Modify psd1 files
3. Add tests

* Remove Pretty parameter after Powershell committee conclusion

1. Remove Pretty parameter
2. Remove tests for Pretty
3. Add Throw if  IsHighResolution is False
4. Fix formatting

* Add test to check throw

1. Add hook that simulate 'System.Diagnostics.Stopwatch.IsHighResolution == false' to test Get-Uptime throw
2. Add test to check throw

* Fixes after review

1. Remove Timespan parameter
2. Remove unneeded tests
3. Fix localization
4. Add string consts
5. Fix throw

* Fix OutputType to add parameter set name information
2016-11-10 09:51:29 -08:00
..
2016-07-28 12:36:34 -07:00
2016-07-28 12:38:24 -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 all variations)
  • Windows+Unix-Core
  • Windows-Core
  • Windows-Core+Full
  • Windows-Full
  • 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.