Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

Hi I'm looking working examples of the WebDeploy 3.6 powershell cmdlets

$
0
0

 WebDeploy 3.6 powershell cmdlets

I have seen the help pages but I am still have trouble getting them to work correctly 

I have been attempting to convert the following command line msdeploy task to powershell but I can find must information about the new cmdlets how Ito use them  

 

I would be most grateful if some one could provide me with some working examples include example of common setting and parameters

Thanks

Current batch file based script(Working Version)

msdeploy -verb:sync -source:apphostconfig="web.edu.au",computerName=%2 -dest:package='c:\workbook\IDOA_%2_%SAVESTAMP%'

 msdeploy -verb:sync -source:manifest=C:\workbook\Msdeploy\%1_IDOA_manifest.xml -dest:manifest=C:\workbook\Msdeploy\%1_IDOA_manifest.xml,computerName=%2

 

New powershell script so far(Not working)

Sync-WDManifest -SourceManifestc:\workbook\test_manifest.xml-DestinationManifestc:\workbook\test_manifest.xml,computername=server1


Viewing all articles
Browse latest Browse all 663

Trending Articles



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