I cannot seem to get the new AS2012 CmdLet to work when using the
-Locations
Parameter. Without it, everything works like a charm. Also there seems to be nothing yet in cyberspace about this.
Has anyone ever dealt with this? Thanks.
Backup-ASDatabase `
-Server Server\Instance `
-BackupFile FileName.abf `
-Database DB_Name `
-AllowOverwrite `
-ApplyCompression `
-Locations \\Server\Share
Backup-ASDatabase : A parameter cannot be found that matches parameter name 'Locations'.
At C:\Users\UserName\Desktop\BackupASDatabase.ps1:11 char:12
+ -Locations <<<< \\Server\Share
+ CategoryInfo : InvalidArgument: (:) [Backup-ASDatabase], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.AnalysisServices.PowerShell.Cmdlets.BackupASDatabase