Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Adam1
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Adam1

    @Adam1

    0
    Reputation
    9
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Adam1 Follow

    Best posts made by Adam1

    This user hasn't posted anything yet.

    Latest posts made by Adam1

    • [Otter]Server restart failed

      Hi, I have a problem restarting the server via Otter after promoting Windows Server to a domain controller, Restart-Server generates an error: Server restart failed: The current user does not have permission to initiate a restart. The service is running on the system account. What is the cause of the problem?

      posted in Support
      A
      Adam1
    • [InedoAgent] Agent->Server communication

      Hi, is it planned to add the possibility of changing the way the server communicates with the agent? I would like the agent to contact the server and not, as it works now, the server to the agent.

      posted in Support
      A
      Adam1
    • [OTTER] Avaliability of variables from multiple roles

      Hi,
      I have trouble accessing variables from different roles. I have two roles defined:

      1. Role1.
        a. It has a TestVariable variable of Value1.
        b. Has a configuration plan:
      Ensure-Directory c:\$TestVariable;
      
      1. Role2
        a. It has a TestVariable variable of Value2.
        b. Has a configuration plan:
      Ensure-Directory c:\$TestVariable;
      

      After assigning both roles to the server, only the directory from Role1 is created. I would expect two directories to be created.
      Is this correct?

      This is the execution output:
      DEBUG: 2020-08-21 19:16:22Z - Beginning collection run...
      DEBUG: 2020-08-21 19:16:22Z - Collecting configuration...
      DEBUG: 2020-08-21 19:16:22Z - Looking for c:\Value1...
      DEBUG: 2020-08-21 19:16:22Z - Directory does not exist.
      DEBUG: 2020-08-21 19:16:22Z - Comparing configuration...
      DEBUG: 2020-08-21 19:16:22Z - Difference: Exists
      DEBUG: 2020-08-21 19:16:22Z - =Template=> True
      DEBUG: 2020-08-21 19:16:22Z - = Actual => False
      INFO : 2020-08-21 19:16:22Z - Configuration drift detected.
      DEBUG: 2020-08-21 19:16:22Z - Adding to execution plan.
      DEBUG: 2020-08-21 19:16:22Z - Collecting configuration...
      DEBUG: 2020-08-21 19:16:22Z - Looking for c:\Value1...
      DEBUG: 2020-08-21 19:16:22Z - Directory does not exist.
      DEBUG: 2020-08-21 19:16:22Z - Comparing configuration...
      DEBUG: 2020-08-21 19:16:22Z - Difference: Exists
      DEBUG: 2020-08-21 19:16:22Z - =Template=> True
      DEBUG: 2020-08-21 19:16:22Z - = Actual => False
      INFO : 2020-08-21 19:16:22Z - Configuration drift detected.
      DEBUG: 2020-08-21 19:16:22Z - Adding to execution plan.
      DEBUG: 2020-08-21 19:16:22Z - Collection run complete.
      INFO : 2020-08-21 19:16:22Z - Collection run succeeded.
      DEBUG: 2020-08-21 19:16:22Z - Beginning execution run...
      DEBUG: 2020-08-21 19:16:22Z - Looking for c:\Value1...
      DEBUG: 2020-08-21 19:16:22Z - Directory does not exist, creating...
      INFO : 2020-08-21 19:16:22Z - Directory c:\Value1 configured.
      DEBUG: 2020-08-21 19:16:22Z - Storing configuration template...
      DEBUG: 2020-08-21 19:16:22Z - Looking for c:\Value1...
      INFO : 2020-08-21 19:16:22Z - Directory c:\Value1 configured.
      DEBUG: 2020-08-21 19:16:22Z - Storing configuration template...
      INFO : 2020-08-21 19:16:22Z - Execution run succeeded.

      posted in Support
      A
      Adam1
    • RE: Availability of variables from sub environments

      Yes, the problem occurs in Otter.

      posted in Support
      A
      Adam1
    • Availability of variables from sub environments

      Hi,
      I have a problem with the availability of variables if it is defined in the parent environment and the server is in two sub environments simultaneously. The problem does not occur if the server is added to only one sub environment.

      Schema of environments:

      TestEnvironment
      |-SubEnvironment1
      |-SubEnvironment2

      The variable is defined in TestEnvironment.

      I have added a very simple configuration plan to the server:

      Ensure-Directory c:\$TestVariable;
      

      I get an error:
      ERROR: 2020-08-21 11:31:05Z - Could not resolve variable $TestVariable.

      What is the cause of the problem?

      posted in Support
      A
      Adam1
    • Credentials_CreateOrUpdateCredential

      Hi,
      I would like to use Native API for Otter to add new credentials but I have a problem with creating encrypted password using the key from the configuration file.
      Do you have any guide on how to generate such password?

      posted in Support
      A
      Adam1
    • RE: Maps in vector and PowerShell

      Should this problem already be solved in version 1.7.0? I have this version of the extension installed but the problem still exists.

      posted in Support
      A
      Adam1
    • Ensure-DscResource and DSC Resource with embedded subclass

      Hi, how can I use Ensure-DscResource with a resource containing embedded subclass e.g. https://github.com/dsccommunity/cNtfsAccessControl. Can you please give some examples?

      posted in Support
      A
      Adam1
    • How to always execute Get-Asset in Role?

      I use the custom DSC resource to import and apply the certificate for use with the RDS role.

      Before running Ensure-DscResource I need to download the appropriate certificate from the repository. I'm trying to download the certificate to a temporary directory using Get-Asset to use it later with a DSC resource. The server configuration is as follows:

      Get-Asset server.domain.lab.pfx
      (
          Type: File
      );
      
      Ensure-DscResource
      (
          ConfigurationKey: $Role,
          Name: xRDCertificateConfiguration,
          Module: xRemoteDesktopSessionHost,
          Properties: %(
              Role: RDRedirector,
              ConnectionBroker: server.domain.lab,
              ImportPath: $PathCombine($WorkingDirectory, server.domain.lab.pfx),
              Credential: $PSCredential(Certificate, P@ssw0rd)
          )
      );
      

      The file is unfortunately not downloaded.
      If I create a plan with the same script, everything works fine and the file is downloaded.

      How can I assure that this file is downloaded in a role? I try to avoid using Ensure-Asset.

      posted in Support
      A
      Adam1