Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Backup-WDServer: How to specify encryption password

$
0
0

I read about the Web Deploy Powershell Cmdlets, and I'd like to start using them.  Of course, the first task as I begin is to backup the current configuration state of my test webserver--and this cmdlet should do it:

Backup-WDServer -ConfigOnly

But, when I run it I get this complaint--I'm unsure how to resolve it:

Backup-WDServer : The property 'password' located at '/webServer/appHostConfig[@path='']/location[@path='']/section[@name='system.applicationHost/applicationPools']/applicationPools/applicationPoolDefaults/processModel' is 
marked as secure. You must specify an encryption password to archive this property.
At line:1 char:1
+ Backup-WDServer -ConfigOnly

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Backup-WDServer], DeploymentEncryptionException
    + FullyQualifiedErrorId : Microsoft.Web.Deployment.PowerShell.BackupServer




Viewing all articles
Browse latest Browse all 27852

Trending Articles



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