Files
PowerShell/src/Modules
James Truher [MSFT] d43b2cf958 Remove DCOM support from *-Computer cmdlets (#5277)
Since DCOM is not supported in corefx there was a great deal of dead code in the computer cmdlets.
This PR removes all vestiges of DCOM support from:

- Rename-Computer
- Restart-Computer
- Stop-Computer

removing about 4500 lines of dead code. Also, tests are updated to provide more complete coverage.
I also removed test-connection completely to make way for @iSazonov upcoming PR to improve coverage in tests, I created some test hook code which will test the cmdlet code without actually calling the WMI method to restart/rename/stop the system
2017-11-01 10:59:41 -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.