Skip to content

Add NewFileName parameter to Convert-PnPFile for choosing a custom output filename #4878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 2, 2025

Conversation

davidschenkUPG
Copy link
Contributor

Type

  • Bug Fix
  • [ x] New Feature
  • Sample

What is in this Pull Request ?

This adds the NewFileName parameter to Convert-PnPFile (similar to Add-PnPFile)
I mostly did this so that it is easier that deal with existing files in the target location (instead of just having to overwrite or not saving at all)
Also added a warning if the extension of the chosen NewFileName doesn't match the convertedto format and expanded the Command Documentation.

@davidschenkUPG davidschenkUPG changed the title Add NewFileName parameter to Convert-PnPFile for choosing ac custom output filename Add NewFileName parameter to Convert-PnPFile for choosing a custom output filename Apr 25, 2025
@gautamdsheth gautamdsheth merged commit a6ecc42 into pnp:dev May 2, 2025
5 checks passed
@gautamdsheth
Copy link
Collaborator

Hey @davidschenkUPG , thanks a lot for this PR, nice improvement ! Much appreciated 😊🙏

@davidschenkUPG davidschenkUPG deleted the dev-Convert-Filename branch May 2, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants