vCO + host Powershell - little doubt

Good evening everyone,

I work in my company with automation. We use the vCO to automate tasks.

Today, we can remotely running scripts and command-line inside the machine virtual linux.

When a machine virtual linux is supplied at a distance, I can execute a command for puppets or run the bash script, for example.

I want to run remote commands as on windows server.

According to my research, it is possible using PowerShell. Right? Is there another way?

As an example, I want to run the command as follows:

-install puppets (msiexec /qn /i puppet.msi PUPPET_MASTER_SERVER = 192.168.0.10/l * v log_install.txt)

-run any bat script;

Resume my doubts:

-L' PowerShell host is the same target Windows virtual machine created recently? or it is another virtual machine between the vCO and target VM?

See you soon!

Well, technically you can use the Powershell plugin and dynamically configure each virtual newly deployed as the target host computer (temporarily).

However, if you just need to call a few commands, which seems to be a bit of an overdose.

Alternatives:

-Use the powershell plugin, to a "midwife" powershell static host, which then calls the new virtual machines via psexec or remote powershell

-Use the SSH plugin (in which case you can have a SSH server in the windows model)

-Use the operations of comments (if you only need vmware tools installed on the Windows machine). Check the package to "get comfortable": comments script package manager

See you soon,.

Joerg

Tags: VMware

Similar Questions

  • esxcli of vCO using PowerShell plugin

    Hello

    I tried to come up with a workflow to run esxicli on an ESXi host commands, I am aware of the different solutions out there including one that uses the vMA as an SSH server, but I would like to give it a try with the plugin from PowerShell. So far, I can connect the vCenter, get the crowd and not even the subject of esxcli by using different examples already on the PowerShell plugin library.

    But my problem is that after I get the object esxcli is on the PowerShellRemotePSObject format and I don't know how to work with it.

    var sess;
    try {
      sess = host.openSession()
      sess.addCommandFromString("Add-PSSnapin VMware.VimAutomation.Core -ErrorAction  SilentlyContinue");
      var invResult = sess.invokePipeline();
      //Show result
      System.log( invResult.getHostOutput() );
      sess.addCommandFromString('Connect-VIServer '+vcenter+' -User user@domain -Password "passw0rd" -Force');
      var invResult = sess.invokePipeline();
      //Show result
      System.log( invResult.getHostOutput() );
      // Get PowerShellRemotePSObject
      sess.addCommandFromString('Get-VMHost -Name '+esxi+' -Server '+vcenter);
      var invResult = sess.invokePipeline();
      //Show result
      System.log( invResult.getHostOutput() );
      var psObject = invResult.getResults();
      if (invResult.invocationState  == 'Failed'){
      System.error(invResult.getErrors());
      }
      else {
      var cmd = sess.addCommandFromString('Get-EsxCli')
      cmd.addParameter('Server', vcenter);
      cmd.addParameter('VMHost', psObject);
      var sessionId = sess.getSessionId();
      var esxcli = System.getModule("com.vmware.library.powershell").invokeCommand(host,sessionId);
      System.log(esxcli);
      }
    
    
    } catch ( ex ) {
      System.log (ex);
    } finally {
      if (sess) {
      host.closeSession( sess.getSessionId());
      }
    }
    
    
    

    The esxcli object is accessible as $esxcli.software.vib.list () in PowerShell I don't know how to use the PowerShellPSObject to access information or execute methods on it.

    Any help is appreciated.

    Thank you

    Juan.

    Hi Juan,

    I'm not sure you can call methods from PowerShellPsObjects returned by VCO.  In the meantime, they were serialzed in XML format from the PowerShell script then resérialisé in VCO.  I'm sure that you lose all methods when this happens.

    What I've done for similar purposes, use the WF model who calls a PowerShell script externally.  I put all my my logical calls and method in the external PoSH script and at the end pass back the final results to the VCO.  I'm much better with PoSH as VCO, so I put as much intelligence in the PoSH as possible.

  • PowerShell plugin 1.0.6 - How to move a SecureString vRO to host Powershell?

    I need to pass a variable value SecureString to a vRO input parameter to the Powershell host.

    I imported a powershell script using "generate script PS action". One of the variables is a securestring used for an authentication mechanism on the remote host of the PS. The value is inserted by the user when it starts the workflow in vRO (SecureString type).

    It looks like this:

    -L' user highlights a string safe in the presentation

    -the workflow is executed, and the value of the variable is used during the execution of script on the host PS

    -It must be used as System.Data.SqlClient.SqlCredential

    Edit:

    a few details. Part of the hat to check if the SQL user credentials supplied by the user can be used to connect to a database of MS SQL script:

    $SqlConnection = new-Object System.Data.SqlClient.SqlConnection

    $SqlConnection.ConnectionString = "Server = $strServer; Basis of data = $dbname; »

    $SqlCredential = new-Object System.Data.SqlClient.SqlCredential($loginAccount,$securePassword)

    $SqlConnection.Credential = $SqlCredential

    $SqlConnection.Open)

    $securePassword should be passed through vRO.

    How could I achieve this? I unserstand the SecureString of vCO must be decrypted - key which could I use? How to convert from vRO SecureString of entry so that the host PS recognizes it as such?

    Thank you!

    Hello

    Well, if the account with which you have added the host of powerShell in vRO is different then the account credentials that you are using for the SQL connection, then you need credSSP.  Is it?

    Best regards

    Kaloferov spas

  • vCO Appliance Powershell Plugin

    I set up a server of powershell using the following Web page:

    vCO PowerShell plugin | VMware vCenter Orchestrator Blog - VMware Blogs

    I am able to run the final winrm identify command on my desktop (no server powershell). Ute, r I get a nullpointer exception when I try to add the PowerShell host to vCO. I know that this may be due to the fact that my vCO is a device (Linux). Is there a guide somewhere could detail how to set up properly?

    The igaydajiev in the post response: https://communities.vmware.com/message/2308763#2308763 solves the problem.

  • vCO with Powershell and causing VMware.VimAutomation.Extensions to workflows to hang

    Environment:

    vSphere Version: 5.5

    vCO Version: 5.5.0 build 1281930

    PowerShell Plugin: PowerShell 1.0.3.304


    I have successfully instantiated several Powershell commands in by vCO in the past, including commands PowerCLI. However, when I use the

    "import-module VMware.VimAutomation.Extensions.

    command, the workflow seems to stop. I need this module in order to obtain information of vSAN.


    I know that the module is supposed to be implicitly imported without the need of the declaration when running in a PowerShell command prompt, but I've also had instances where I know that the line is necessary, especially when a Powershell script requires that the module is called from the command line.


    It seems to be the case here because removing the line causes an error "unknown cmdlet", when it tries to parse the command "Get-VsanDiskGroup".




    Any help would be greatly appreciated! Thank you.

    Solution:

    Add: ' Get-childitem | unlock file "before:"

    import-module VMware.VimAutomation.Extensions

  • Little doubt on the ODAC

    Hello

    This is my config details

    Win server R2 2012

    Oracle: Oracle Database Enterprise Edition Release 12.1.0.2.0 - 64 bit Production 12 c

    PL/SQL Release 12.1.0.2.0 - Production

    CORE Production 12.1.0.2.0

    AMT for 64-bit Windows: Version 12.1.0.2.0 - Production

    NLSRTL Version 12.1.0.2.0 - Production

    I got a requirement of my developer that he intends to run a script powershell on server that connects to the Oracle database and it asked me to install the ODAC on server.

    I downloaded the same of http://www.Oracle.com/technetwork/database/Windows/downloads/index-090165.html and installed the one that says 'ODAC 12 c Release 4 (12.1.0.2.4) for Windows x 64 64-bit'.

    At the end of the installation, he greeted me with a message that I need to run sqlscript.

    See attached screenshot.

    odac.png

    I have 2 quick questions:

    (a) what script should I be running, there are two of them in the ODAC installation directory i.e. F:\app\odac\product\12.1.0\client_1\ASP.NET\SQL

    (b) should I be running via the sys account or new Windows account that was created as part of the installation of the ODAC? I guess it must be done by sys, but want to reconfirm.

    -Learner

    Your developer plans to use the Oracle for ASP.NET providers? If this isn't the case, you don't need to run these scripts.

    If so, then you run these scripts in the Oracle user account because your developer plans to store the ASP.NET provider information in. This Oracle account can be a normal user account. More information on which favours this Oracle user requires and installation information can be found in the doc here: http://docs.oracle.com/cd/E63277_01/win.121/e63387/IntroInstallation.htm#ASPNT117

    The script, you need to perform depend on the suppliers of ASP.NET, you are going to use. The doc tells you what correlate of scripts for suppliers.

  • Hi all, I have little doubt all blocking issues?

    Block delivers the means

    When there is #Missing in cube it only creates blocks.

    ex script: calculation - California = newyork + 100;

    for this equation 1 my cube is now empty (#missing), I ran above.it calculation script won't get showing data.it #missing.

    If I use createnonmissingblock or createblockonequation, it will work: data, it will show.

    2. now I enter some data in New York only and in California, is #missing.now I ran above work calculation script.it means data is it in California with 100 + New York data.

    If the above 2 points correct ways. my doubt is. California = New York 100; if New York with some of its data empty fine.if of New York, which is uses California = newyork + 100 New York data are not there (#missing) which is used to give of California = New York 100 +

    My conclusion is if data is in cube, we get block issues.if used it is not here that we get block questions is this correct or not?

    3035274 wrote:

    Hi Dan,.

    Thanks for the reply.

    you gave the link in this 4 ex: according to the formula and the structure of the data, calculate a formula top-down and bottom-up may involve two questions.

    As I sad given is the first mandatory next top down or bottom up to overcome the block issued.

    Dan can you explain this.

    There of not much to the MFI here, documentation is simply illustrating behaviors from the top down vs bottom.

    If there is no block for the sparse intersection not supposed to contain a computed value and the calculation is a bottom-up fashion, then nothing is calculated. It is because in calc from the bottom up, Essbase will evaluate block to determine by looking at the index. Because there is no entry in the index for Cola-> New York-> Budget, since the block does not exist, then nothing is calculated.

    In descending mode, Essbase will evaluate all possible sparse intersections.

  • Little doubt about VMware Fault Tolerance

    I would like to know, in case if the Virtual Machine goes down or get corrupted, the setting of Virtual Machine replica on the secondary host is going live?

    Else FT is applicable only when the broken material / host, please provide details?

    Both machines use the same storage and the second machine is basically running the same instructions as the first. If the first has been tampered on disk or a memory error, it appears in the second. FT is realtime protection against hardware failures.

  • little doubt about import datapump

    Hello

    OracleVersion:10.2.0.1
    Operating system: linux

    Here, I have a small doubt please help me it is to say

    I took a backup of tables emp and dept now I need to import only the table emp based on condition specified in another schema
    select * from emp where deptno in (select deptno from dept where loc='DALLAS')
    Here is my script to import that I had tried failed. Please help me how to
    E:\oracle\dbdump>impdp sample/sample directory=dbdump dumpfile=TABLES.DMP logfile=tales_imp.log remap_schema=scott:sample tables=emp remap_tablespace=users:sample query=\"where deptno in \(select deptno from dept where loc='DALLAS')\"
    
    Import: Release 10.2.0.1.0 - Production on Thursday, 29 October, 2009 17:59:05
    
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SAMPLE"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
    Starting "SAMPLE"."SYS_IMPORT_TABLE_01":  sample/******** directory=dbdump dumpfile=TABLES.DMP logfile=tales_imp.log remap_schema=scott:sample tables=emp remap_tablespace=users:sample query="where deptno in \(select deptno from dept where loc='DALLAS')"
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SAMPLE"."EMP" failed to load/unload and is being skipped due to error:
    ORA-00911: invalid character
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/POST_TABLE_ACTION
    ORA-31685: Object type POST_TABLE_ACTION failed due to insufficient privileges. Failing sql is:
    BEGIN
     SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('SCOTT','EMP');
     END;
    
    Job "SAMPLE"."SYS_IMPORT_TABLE_01" completed with 2 error(s) at 17:59:15

    SIDDABATHUNI wrote:
    Hello

    I'm looking for here is I'll have the release of the full scheme. Now, I want to import only a single table based on a specific condition rather than import the full dump.

    I get the error when you use parfile as you suggest.

    Not too, I've said to parfile "+ no need to back slashes +"...?

    Nicolas.

  • Hi all, I have little doubts?

    1 fdqm - integrate data are there the only statement is correct or not?

    2 fdmee integrate both data and metadata are that's statement is accurate or not?

    whtat is the best blog to learn fdmee tutorial?

    Sorry for you ask questions.i base am new to fdmee.

    The fdqm and the fdmee are mainly used for loading the data. However, they both support loads of metadata to differnet degrees of some supported source systems. In FDMEE, it is embedded in the product in FDQM, it is supported via the adapter ERPi. However, that said loading of metadata functionality is pretty basic and if you have more complex needs metadata load you better consider alternative solutions.

  • little doubt about serialization?

    Hello
    I'm serialization of an object that implements serializable using ObjectOutputStream but this object class is not a constructor argument. When it is deserialized object is being built back again. But how is that possible? "Class.forName" also requires the class object has no constructor args. so in the deserialization how the object is built back again even if she has no constructor args? I'm trying to understand how this is possible? can someone help me understand the logic?

    If it is not compatible with JDK serialization, it is a bug in Android.

  • VSphere Orchestrator (vco) - problem to add a Powershell host

    Hello world

    I am currently set up a VSphere Orchestrator server and I have a few problems to add a new host via WinRM with Add a PowerShell host model.

    I followed this tutorial:

    http://blogs.technet.com/b/meamcs/archive/2012/02/25/how-to-force-WinRM-to-listen-interfaces-over-HTTPS.aspx

    I can connect with Powershell to a second server HTTPS but not with the vco...

    This is my setup:

    PS WSMan:\localhost\Client> winrm get winrm/config
    Config
        MaxEnvelopeSizekb = 500
        MaxTimeoutms = 60000
        MaxBatchItems = 32000
        MaxProviderRequests = 4294967295
        Client
            NetworkDelayms = 5000
            URLPrefix = wsman
            AllowUnencrypted = true
            Auth
                Basic = true
                Digest = true
                Kerberos = true
                Negotiate = true
                Certificate = true
                CredSSP = false
            DefaultPorts
                HTTP = 5985
                HTTPS = 5986
            TrustedHosts
        Service
            RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
            MaxConcurrentOperations = 4294967295
            MaxConcurrentOperationsPerUser = 1500
            EnumerationTimeoutms = 240000
            MaxConnections = 300
            MaxPacketRetrievalTimeSeconds = 120
            AllowUnencrypted = true
            Auth
                Basic = true
                Kerberos = true
                Negotiate = true
                Certificate = false
                CredSSP = false
                CbtHardeningLevel = Relaxed
            DefaultPorts
                HTTP = 5985
                HTTPS = 5986
            IPv4Filter = *
            IPv6Filter = *
            EnableCompatibilityHttpListener = false
            EnableCompatibilityHttpsListener = false
            CertificateThumbprint
            AllowRemoteAccess = true
        Winrs
            AllowRemoteShellAccess = true
            IdleTimeout = 7200000
            MaxConcurrentUsers = 10
            MaxShellRunTime = 2147483647
            MaxProcessesPerShell = 25
            MaxMemoryPerShellMB = 1024
            MaxShellsPerUser = 30
    
    

    PS WSMan:\localhost\Client> winrm enumerate winrm/config/listener
    Listener
        Address = *
        Transport = HTTP
        Port = 5985
        Hostname
        Enabled = true
        URLPrefix = wsman
        CertificateThumbprint
        ListeningOn = 127.0.0.1, 169.254.152.175, 192.168.1.139, ::1, 2001:0:5ef5:79fb:2087:3306:fde2:7302, fe80::5efe:192.168.1.139%14, fe80::2087:3306:fde2:7302%15, fe80::c19d:d401:ff68:98af%13, fe80::c407:cc5e:43dc:6909%18
    
    
    Listener
        Address = *
        Transport = HTTPS
        Port = 5986
        Hostname = host-vsphere.urbanvirtu.local
        Enabled = true
        URLPrefix = wsman
        CertificateThumbprint = 4f00d909810f619876bf5712a22e0fb21382d628
        ListeningOn = 127.0.0.1, 169.254.152.175, 192.168.1.139, ::1, 2001:0:5ef5:79fb:2087:3306:fde2:7302, fe80::5efe:192.168.1.139%14, fe80::2087:3306:fde2:7302%15, fe80::c19d:d401:ff68:98af%13, fe80::c407:cc5e:43dc:6909%18
    
    

    If I try to connect from a second server via Kerberos with HTTPS it works:

    PS C:\Users\Administrator> winrm identify -r:https://host-vsphere.urbanvirtu.local:5986 -a:Kerberos -u:administrator -p:password
    IdentifyResponse
        ProtocolVersion = http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd
        ProductVendor = Microsoft Corporation
        ProductVersion = OS: 6.3.9600 SP: 0.0 Stack: 3.0
        SecurityProfiles
            SecurityProfileName = http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/http/basic, http://schemas.dmtf.org/
    wbem/wsman/1/wsman/secprofile/https/basic, http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/http/spnego-kerberos, h
    ttp://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/https/spnego-kerberos
    

    But with the vco I:

    Name: test

    The Host/IP: Home - vsphere.urbanvirtu.local

    Port: 5986

    Type remote PowerShell: WinRM

    Transport protocol: HTTPS

    Authentication: Kerberos

    Session mode: A shared Session

    User name: administrator

    Password: password

    cap1.JPG

    cap2.JPG

    Someone has had this problem before? What I did wrong?

    Thanks in advance for your help.

    Best regards

    Jean

    Based on the log, I see that "Connection refused:" error was connected to the kdc parameter in the krb5.conf file and you have already defeated it.

    Now, if I understand 'Add a PowerShell host' the workflow remains in working condition and does not end.

    This behavior I observed in the case of PowerShell plugin 1.0.3 is trying to connect to PowerShell host running PowerShell 4.0.

    Would you please provide version of

    the PowerShell vCO plugin version

    PowerShell host - Windows Version

    PowerShell host - PowerShell version

  • problem of Plugin vCO-Powershell by running a command (for members of a local administrator on a server group)

    Hello

    Tearing my hair out and looking for a little help :-)

    I have a powershell script for the verification of the members of the Local administrators on a server, and it works very well in a powershell window. (running on the server that hosts my VCO in powershell and under the registered with vCO user/account name...)  However, when I call it from a workflow of vCO it fails.

    Track down, I've isolated the code criminalized in this section:

    I provide $servername as the server to run the script against.


    $group = [ADSI] "" WinNT: / / $servername/administrators ' "

    $members = @($group.psbase.Invoke ("membres"))

    $results = $members | foreach {$_.} GetType(). InvokeMember("Name",'GetProperty',$null,$_,$null)}

    and the highlighted line is the specific code that fails.

    the specific error is:

    System.Management.Automation.MethodInvocationException: Exception calling "invoke" with "2" arguments: "the network path was not found.

    I noticed that if I replace with $servername in the 1st line with '. '. (it is run on the local server) It works very well. However, if I use the var $servername, or incorporate just a specific server name, it fails with the above error.

    Any help appreciated,

    Thanks in advance,

    John.

    (any error in the vCO journal is):

    2014-09-11 12:59:16.717] [I] PowerShellInvocationError: errors found during execution of script
    System.Management.Automation.MethodInvocationException: Exception calling "invoke" with "2" arguments: "the network path was not found.
    "---> System.Runtime.InteropServices.COMException: the network path was not found."

    at System.DirectoryServices.DirectoryEntry.Bind (Boolean throwIfFail)
    at System.DirectoryServices.DirectoryEntry.Bind)
    at System.DirectoryServices.DirectoryEntry.get_NativeObject)
    at System.DirectoryServices.DirectoryEntry.Invoke (String methodName, Object [] args)
    at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke (arguments Object [], Object target, Object [] originalArguments, MethodInformation methodInformation)
    -End of the exception stack trace internal-
    to System.Management.Automation.ExceptionHandlingOps.CheckActionPreference (FunctionContext funcContext, Exception exception)
    to System.Management.Automation.Interpreter.ActionCallInstruction'2.Run (InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run (InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run (InterpretedFrame frame)
    at System.Management.Automation.Interpreter.Interpreter.Run (InterpretedFrame frame)
    to System.Management.Automation.Interpreter.LightLambda.RunVoid1 [T0](T0 arg0)
    at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl (ScriptBlockClauseToInvoke clauseToInvoke, createLocalScope Boolean functionsToDefine dictionary 2 list 1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, entry object, object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object [] args)
    to System.Management.Automation.ScriptBlock. <>c__DisplayClassa. < InvokeWithPipe > b__8()
    System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck (use)
    at System.Management.Automation.ScriptBlock.InvokeWithPipe (Boolean useLocalScope, functionsToDefine dictionary 2, list 1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, entry object, object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object [] args)
    to System.Management.Automation.ScriptBlock.InvokeUsingCmdlet (Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, entry of the object scriptThis, Object [] args)
    at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord)
    at System.Management.Automation.CommandProcessor.ProcessRecord)
    (Name of the dynamic Script Module: invokeScript #14)


    There are some security restrictions applied when the power shell scripts remotely (what vCO made using the Microsoft WinRM service).

    To simulate a runtime environment similar outside the vCO, you can use "winrs" tool microsoft to call remote power shell script and check if the similar error will exist also outside the vCO.

    Bolg very extensive on the subject can be found here http://kaloferov.com/blog/using-credssp-with-the-vco-powershell-plugin/

    See the section for access to the network and access to mapped network drives through vCO.

  • Add a PowerShell host workflow question

    Hello people,

    I ran into a problem when I tried to run the add a workflow host Powershell.

    Here's what I've done so now...

    Installed PowerShell plugin in the system of the vCO.

    WinRM service that is configured according to the doc in my vCO server... I want to use the same vCO as a powershell host server too...

    I created the krb5.conf file in the installation of vCO location mentioned in the doc.

    Ran the workflow manage SSL certificates which was a success.

    Now I have to add this as a host of powershell to see in the inventory which fails with the error below.

    Connection timed out: connect (name of the dynamic Script Module: addPowerShellHost #16)

    Your help is very appreciated!

    Kind regards

    VMSavvy

    1. I suggest to add "-a: option of the Kerberos test to connect to the winrm service" This will ensure that the mechanisym of Kerberos authentication is used.

    > winrm identity-r:https:// host_name : port_number -was: Kerberos-sup: user_name Pei:password

    2. try to connect vCO PowerShell plugin using shared session and providing user specifiv credentials (but be sure first that this user has enough privileges to connect to the WinRm service using winrm client)

    > winrm identity-r:https:// host_name : port_number -was: Kerberos-sup: user_name Pei:password

    3. could you give the error reported in vCO?

  • PowerShell host - window vRO 6.0.2

    Hello

    I try to configure the host powershell on vRO 6.0.2 installed on Windows 2012R2. When I run the workflow I get the error message "cannot locate the default domain (the name of the dynamic Script Module: addPowershellHost #).

    I'm trying to locate the krb5.conf file but there is no path c:\Program Files VMware vCenter Server - Java Components\lib\security I only c:\Program Files\Common Files\VMware.

    When I set up host using Basic authentication and Administrator local, everything is Ok.

    Kind regards.

    Pawel

    Hi Pawel,

    try to store the krb5.conf in this path: C:\Program Files\VMware\CIS\jre\lib\security

    (This works fine for me)

    Kind regards

    Marc

Maybe you are looking for