ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Laksh1999
    L
    • Profile
    • Following 3
    • Followers 1
    • Topics 20
    • Posts 55
    • Groups 0

    Laksh1999

    @Laksh1999

    7
    Reputation
    123
    Profile views
    55
    Posts
    1
    Followers
    3
    Following
    Joined
    Last Online

    Laksh1999 Unfollow Follow

    Best posts made by Laksh1999

    • RE: Exchange Environment - Lab

      I am not trying anything with the Government jobs.

      I am in Exchange environment to learn new things.I cannot do anything with the Production exchange environment. Just to understand the alerts in the servers i am creating my own lab servers and testing it in the test environment.If any one can help do help me .If not no issues.

      Close this thread or dont reply if no one is ready to help me on this topic

      Corrected this as well
      \Setup.exe /IAcceptExchangeServerLicenseTerms

      posted in IT Discussion
      L
      Laksh1999
    • Unable to login old profile

      Hi Team,

      I am unable to login to https://mangolassi.it/user/lakshmana because I have enabled two way authenticator for the login.When i have tired to login with Google Authenticator mangolassi is not able to login.Can anyone help me retrieving my old account if possible in mangolassi

      posted in IT Discussion
      L
      Laksh1999
    • Send CSV file to Slack Channel by bash script through Webhook

      Hi
      I am trying to send the assigned tickets in the queue as .csv file to the slack channel. I am able to download the .csv file in the dev desktop through bash script but unable to send that file to the Slack Channel.

      Anyone have tried this before?

      I have checked this

      https://api.slack.com/methods/files.upload

      I have only Webhook URL no other token is there with me as per the suggestion in the above link.

      posted in IT Discussion slack csv bash script webhook api
      L
      Laksh1999
    • Network Drive issue

      Hi

      I have one issue for the user.There are 2 network drive where 1st drive is valid and 2nd one is invalid.I have tried to remove the 2nd invalid network drive through "net use /delete *".Its not working

      I have deleted the valid network drive and then try to delete that other invalid network path which is mapped which does not help

      Both the links does not help.

      Referred this

      https://answers.microsoft.com/en-us/windows/forum/windows_10-files-winpc/unable-to-disconnect-from-mapped-network-drive/3dd9aba1-e9b3-454f-9872-2521112ddede

      https://community.spiceworks.com/how_to/159210-remove-drive-mapping

      posted in IT Discussion
      L
      Laksh1999
    • Orphoned Email list

      Hi Team,

      Anyone worked on the orphoned email list for the organization ?
      If yes how to find all the email list which is orphaned and how to take the details in .csv if it possible to do ?

      posted in IT Discussion
      L
      Laksh1999
    • Slack query

      I am trying to create a slack channels with the outputs in numbers through form in it.

      I am trying to make colors for the outputs.

      Example ) SLA : 100% means the background color of the number needs to be in green background. Any have tried this before ? If yes kindly share the link for the same.

      How to code inside the slack message box and automate the output through webhook ?

      posted in IT Discussion
      L
      Laksh1999
    • HTML Form filling Integrating through GCP Serverless

      Hi All,

      I have created a new IT portal for my organization. I have created a form in there to submit their Name,Email,Subject,Message. I am in need to have the user information who have submitted the form from their end.Once they submit that form that needs to send an email to IT helpdesk email id. That will get converted into ticket.Got help from Chat GPT but not all the time the Chat GPT can help like Humans in this forum like this.

      I need to know why this error is coming

      Error Logs for Reference

      2023/04/11 06:52:28 [error] 19#19: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught LogicException: Your function must have "Psr\Http\Message\ServerRequestInterface" as the typehint for the first argument in /workspace/vendor/google/cloud-functions-framework/src/FunctionWrapper.php:99 Stack trace: #0 /workspace/vendor/google/cloud-functions-framework/src/FunctionWrapper.php(82): Google\CloudFunctions\FunctionWrapper->throwInvalidFunctionException() #1 /workspace/vendor/google/cloud-functions-framework/src/FunctionWrapper.php(36): Google\CloudFunctions\FunctionWrapper->validateFunctionSignature(Object(ReflectionFunction)) #2 /workspace/vendor/google/cloud-functions-framework/src/Invoker.php(53): Google\CloudFunctions\FunctionWrapper->__construct('submitForm') #3 /workspace/vendor/google/cloud-functions-framework/router.php(56): Google\CloudFunctions\Invoker->__construct('submitForm', 'http') #4 /workspace/vendor/google/cloud-functions-framework/router.php(59): {closure}() #5 {main} thrown in /workspace/vendor/google/cloud-functions-framework/src/F" while reading response header from upstream, 
      

      index.php

      <?php
      require __DIR__ . '/vendor/autoload.php';
      
      use PHPMailer\PHPMailer\PHPMailer;
      use Psr\Http\Message\ServerRequestInterface;
      
      function submitForm(ServerRequestInterface $request) {
        $parsedBody = $request->getParsedBody();
      
        $name = $parsedBody['name'];
        $email = $parsedBody['email'];
        $subject = $parsedBody['subject'];
        $message = $parsedBody['message'];
      
        // Write the form data to logs
        $log_message = "Form submission: Name=$name, Email=$email, Subject=$subject, Message=$message";
        error_log($log_message);
      
        // Send an email to the helpdesk only if email is from @domain.com domain
        if (strpos($email, '@domain.com') !== false) {
          $mail = new PHPMailer(true);
          $mail->isSMTP();
          $mail->SMTPAuth = true;
          $mail->Host = 'smtp.gmail.com';
          $mail->Port = port number;
          $mail->Username = 'email';
          $mail->Password = 'password';
          $mail->setFrom($email);
          $mail->addAddress('helpdesk Email');
          $mail->Subject = $subject;
          $mail->Body = $message;
          $mail->send();
        }
      
        $message = 'Form submission successful!'; // Include a success message in the response
        return $message;
      }
      
      

      composer.json

      {
        "require": {
          "phpmailer/phpmailer": "^6.5"
        },
        "autoload": {
          "psr-4": {
            "": "src/"
          }
        },
        "scripts": {
          "start": "php -S localhost:8080 -t public/",
          "serve": "functions-framework --target=submitForm --signature-type=http"
        },
        "minimum-stability": "dev",
        "prefer-stable": true
      }
      
      posted in IT Discussion
      L
      Laksh1999
    • RE: Network Drive issue

      @gjacobse said in Network Drive issue:

      @laksh1999

      Wait,.. you can delete one but not the other? Are they on the same server?

      Example Drive 1 is correct server location user have mapped
      Drive 2 which is incorrect name like test123 which is not there as well.but its showing in the File Explorer and its asking for the password whenever the user opens word or excel file in sharepoint

      posted in IT Discussion
      L
      Laksh1999

    Latest posts made by Laksh1999

    • RE: HTML Form filling Integrating through GCP Serverless

      @Pete-S said in HTML Form filling Integrating through GCP Serverless:

      API integration that allows you to submit tickets directly from other places, like a website.

      How to create an api to send the email to the helpdesk email from the google form?
      Here the user send an email to helpdesk email to create a ticket for their daily issue

      posted in IT Discussion
      L
      Laksh1999
    • HTML Form filling Integrating through GCP Serverless

      Hi All,

      I have created a new IT portal for my organization. I have created a form in there to submit their Name,Email,Subject,Message. I am in need to have the user information who have submitted the form from their end.Once they submit that form that needs to send an email to IT helpdesk email id. That will get converted into ticket.Got help from Chat GPT but not all the time the Chat GPT can help like Humans in this forum like this.

      I need to know why this error is coming

      Error Logs for Reference

      2023/04/11 06:52:28 [error] 19#19: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught LogicException: Your function must have "Psr\Http\Message\ServerRequestInterface" as the typehint for the first argument in /workspace/vendor/google/cloud-functions-framework/src/FunctionWrapper.php:99 Stack trace: #0 /workspace/vendor/google/cloud-functions-framework/src/FunctionWrapper.php(82): Google\CloudFunctions\FunctionWrapper->throwInvalidFunctionException() #1 /workspace/vendor/google/cloud-functions-framework/src/FunctionWrapper.php(36): Google\CloudFunctions\FunctionWrapper->validateFunctionSignature(Object(ReflectionFunction)) #2 /workspace/vendor/google/cloud-functions-framework/src/Invoker.php(53): Google\CloudFunctions\FunctionWrapper->__construct('submitForm') #3 /workspace/vendor/google/cloud-functions-framework/router.php(56): Google\CloudFunctions\Invoker->__construct('submitForm', 'http') #4 /workspace/vendor/google/cloud-functions-framework/router.php(59): {closure}() #5 {main} thrown in /workspace/vendor/google/cloud-functions-framework/src/F" while reading response header from upstream, 
      

      index.php

      <?php
      require __DIR__ . '/vendor/autoload.php';
      
      use PHPMailer\PHPMailer\PHPMailer;
      use Psr\Http\Message\ServerRequestInterface;
      
      function submitForm(ServerRequestInterface $request) {
        $parsedBody = $request->getParsedBody();
      
        $name = $parsedBody['name'];
        $email = $parsedBody['email'];
        $subject = $parsedBody['subject'];
        $message = $parsedBody['message'];
      
        // Write the form data to logs
        $log_message = "Form submission: Name=$name, Email=$email, Subject=$subject, Message=$message";
        error_log($log_message);
      
        // Send an email to the helpdesk only if email is from @domain.com domain
        if (strpos($email, '@domain.com') !== false) {
          $mail = new PHPMailer(true);
          $mail->isSMTP();
          $mail->SMTPAuth = true;
          $mail->Host = 'smtp.gmail.com';
          $mail->Port = port number;
          $mail->Username = 'email';
          $mail->Password = 'password';
          $mail->setFrom($email);
          $mail->addAddress('helpdesk Email');
          $mail->Subject = $subject;
          $mail->Body = $message;
          $mail->send();
        }
      
        $message = 'Form submission successful!'; // Include a success message in the response
        return $message;
      }
      
      

      composer.json

      {
        "require": {
          "phpmailer/phpmailer": "^6.5"
        },
        "autoload": {
          "psr-4": {
            "": "src/"
          }
        },
        "scripts": {
          "start": "php -S localhost:8080 -t public/",
          "serve": "functions-framework --target=submitForm --signature-type=http"
        },
        "minimum-stability": "dev",
        "prefer-stable": true
      }
      
      posted in IT Discussion
      L
      Laksh1999
    • AWS - Code Deployment is getting in Deployment

      Hi Team,

      I am following below link this to create a codepipeline to copy the file from Codecommit repository

      https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-codecommit.html

      I have created the appssec.yml file in the ProgramData folder as well still i am getting the same error

      I have a Windows EC2 instance to copy the codecommit repo to the EC2 instance.When the CodePipeline is started the Codedeployment is getting failed and getting this error.Anyone can help me on this

      The CodeDeploy agent did not find an AppSpec file within the unpacked revision directory at revision-relative path "appspec.yml". The revision was unpacked to directory "C:\ProgramData/Amazon/CodeDeploy/deployment-archive", and the AppSpec file was expected but not found at path "C:\ProgramData/Amazon/CodeDeploy/deployment-archive/appspec.yml". Consult the AWS CodeDeploy Appspec documentation for more information at http://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file.html 
      
      posted in IT Discussion
      L
      Laksh1999
    • AWS - Automated Code Deployments

      Hi Team,

      I have a code is being uploaded to the internal GIT repository and that is automatically uploaded to the CodeCommit Repository.
      The code which is available in the CodeCommit repository needs to be cloned to the EC2 instance which i am running.Once the clone is done the same needs to be uploaded to other servers which is connected to the same VPC in AWS instance

      Whether this requires to do a CodeBuild,CodeDeploy and CodePipeline to clone the code to the EC2 ?

      Code1 > Copied to CodeCommitRepository > Copy the pulled code to the EC2 and that needs to be copied to the other servers which is already connected to it in the same VPC

      Whether any one have done this before ?

      posted in IT Discussion
      L
      Laksh1999
    • RE: Exchange Environment - Lab

      I am not trying anything with the Government jobs.

      I am in Exchange environment to learn new things.I cannot do anything with the Production exchange environment. Just to understand the alerts in the servers i am creating my own lab servers and testing it in the test environment.If any one can help do help me .If not no issues.

      Close this thread or dont reply if no one is ready to help me on this topic

      Corrected this as well
      \Setup.exe /IAcceptExchangeServerLicenseTerms

      posted in IT Discussion
      L
      Laksh1999
    • RE: Exchange Environment - Lab

      @dashrender said in Exchange Environment - Lab:

      @laksh1999 said in Exchange Environment - Lab:

      @syko24 said in Exchange Environment - Lab:

      @laksh1999 - From the looks of it, you are trying to run setup.exe from C:\Windows\System32. Fix the path to wherever you installation media is located.

      ex: D:\setup.exe

      e7a746c2-ce9b-402a-ae45-d0c58f1d5d4a-image.png

      Tried from D drive got this error

      make sure you spelled everything correctly.

      you're pictures are to small for my horrible eyesight to read.

      Tried this
      .\setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

      posted in IT Discussion
      L
      Laksh1999
    • RE: Exchange Environment - Lab

      @syko24 said in Exchange Environment - Lab:

      @laksh1999 - From the looks of it, you are trying to run setup.exe from C:\Windows\System32. Fix the path to wherever you installation media is located.

      ex: D:\setup.exe

      e7a746c2-ce9b-402a-ae45-d0c58f1d5d4a-image.png

      Tried from D drive got this error

      posted in IT Discussion
      L
      Laksh1999
    • Exchange Environment - Lab

      Hi Team,

      I am trying to create a Exchange 2016 in Microsoft 2016 server DataCenter Evaluation version.I am trying to do this from my virtualbox application.Any one have followed this lab setup before ?

      Followed Link : https://www.prajwaldesai.com/step-by-step-guide-to-install-exchange-server-2016/

      8ae7d030-9c81-4e15-b569-479b0564d69f-image.png

      posted in IT Discussion
      L
      Laksh1999
    • RE: login code need

      @vignesh said in login code need:

      hello im new to reactjs i need a login code to run in vs code. please help me

      https://code.visualstudio.com/docs/nodejs/reactjs-tutorial

      posted in IT Discussion
      L
      Laksh1999
    • RE: Bash Help

      @pete-s said in Bash Help:

      @jaredbusch said in Bash Help:

      @pete-s his source data is json

      So even more reason to use a scripting language then.

      Both php and python can read and write json files natively. It looks like perl needs to have a module installed.

      Since there is a restriction installing modules in my developer desktop so only trying without python

      posted in IT Discussion
      L
      Laksh1999