EntraExporter icon indicating copy to clipboard operation
EntraExporter copied to clipboard

Export-Entra Maintenance

Open SamErde opened this issue 8 months ago • 0 comments

This pull request includes several improvements to the Export-Entra PowerShell script to enhance its functionality and readability. The most important changes include updating the cmdlet documentation, defining parameter sets to avoid parameter conflicts, and improving code consistency.

Documentation updates:

  • Updated the comment-based help and examples to provide clearer information about the cmdlet's functionality.
  • Updated the .EXAMPLE sections to use the same path as the README examples.
  • Added the missing .PARAMETER CloudUsersAndGroupsOnly entry to the comment-based help.
  • Added descriptive comments to parameters.

Code consistency and usability improvements:

  • Replaced double quotes with single quotes for string literals where appropriate to maintain consistency.
  • Defined parameter sets (and default parameter set) to avoid conflicts between the All and Type parameters.
  • Replaced the exit statement with break to avoid closing the entire host.

SamErde avatar Apr 11 '25 02:04 SamErde