Forum Discussion

Brent Ellis's avatar
Brent Ellis
Silver Contributor
Mar 13, 2017

PnP PowerShell - tell if an Add-PnPFile was successful

What is the best way in powershell scripts to tell if an Add-PnPFile was actually successful in performing an upload?  Ideally want to store a "successful" true or false in a variable.

Resources