View Only
Expand all | Collapse all

Cloud Assembly PowerShell scripts

  • 1.  Cloud Assembly PowerShell scripts

    Posted Nov 25, 2020 07:05 PM

    I am using vRA 8.2 Cloud Assembly to execute Windows scripts on the provisioned VM, but not working. When I run the same script on the provisioned node it work fine.


    below is how I am calling the script 

    & "D:\sccmclient\sccm-install.ps1"

    and below is the error log 

    "script":"& \"D:\\sccmclient\\sccm-install.ps1\"\n sleep: 300\n"}
    ERRORInvoke-VMScript : 11/25/2020 18:02:19 Invoke-VMScript SSPI is not supported on Unix OS.
    ERRORAt /run/vco-polyglot/function/handler.ps1:14 char:15
    ERROR+ ... $result = Invoke-VMScript -VM $vm -ScriptText $script -GuestUser $r ...
    ERROR+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ERROR+ CategoryInfo : NotSpecified: (:) [Invoke-VMScript], ViError
    ERROR+ FullyQualifiedErrorId : Client20_ClientSideTaskImpl_ThreadProc_UnhandledException,VMware.VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScript

  • 2.  RE: Cloud Assembly PowerShell scripts

    Posted Dec 18, 2020 07:07 AM

    How you are triggering the script? is it via cloudConfig or ABX ?

  • 3.  RE: Cloud Assembly PowerShell scripts

    Posted Jan 19, 2021 04:59 PM

    via ABX