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

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

davidschenkUPG
Copy link

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
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.

1 participant