While poking around the PowerShell cmdlet source code trying to figure out how the machine administration requirement is asserted I noticed that the SPCmdletBackupFarm (Backup-SPFarm) requires the user to be a local administrator:
[SPCmdlet(RequireUserMachineAdmin=true), Cmdlet("Backup", "SPFarm", DefaultParameterSetName="DefaultSet", SupportsShouldProcess=true)]
internal sealed class SPCmdletBackupFarm : SPCmdletBackupRestore
Is there a particular reason for this being the case? I was hoping to use the farm service account which is currently just a regular domain user account. How are other scheduling their farm backup using PowerShell? Do you run it using an
account with administrative privileges?
View Complete Post