Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Backup-ASDatabase with -Locations Parameter

$
0
0

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


Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>