SORU
9 NİSAN 2010, Cuma


Nasıl PowerShell birden çok hatları üzerinden uzun komutları ayırmak için

Nasıl powershell'de böyle bir komutu kabul ediyor musun ve birden fazla satır arasında bölünmüş:

&"C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe" -verb:sync -source:contentPath="c:\workspace\xxx\master\Build\_PublishedWebsites\xxx.Web" -dest:contentPath="c:\websites\xxx\wwwroot\,computerName=192.168.1.1,username=administrator,password=xxx"

CEVAP
9 NİSAN 2010, Cuma


yani backtick karakter olarak takip ediyorum

&"C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe" `
-verb:sync `
-source:contentPath="c:\workspace\xxx\master\Build\_PublishedWebsites\xxx.Web" `
-dest:contentPath="c:\websites\xxx\wwwroot,computerName=192.168.1.1,username=administrator,password=xxx"

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • ExcelTutorials

    ExcelTutoria

    2 Mayıs 2009
  • mipd1980

    mipd1980

    25 EKİM 2006
  • The Weavers of Eternity Paracord Tutorials

    The Weavers

    1 Ocak 2014