HomeExamsIMS AcademyTETAIMSADMIC3300
TETAIMSADMIC3300

Infosys Certified PowerShell Scripting Associate

Practice with real exam-pattern questions for Infosys Certified PowerShell Scripting Associate. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.

BeginnerIMS Academy60 min
Free questions

10 Infosys Certified PowerShell Scripting Associate practice questions with answers

Real Lex exam-pattern multiple-choice questions for the Infosys Certified PowerShell Scripting Associate certification. Each question includes the correct answer. The full question bank is available to Premium members.

  1. Question 1

    Identify the cmdlet that displays only the parent files and folders in your current working directory.

    • get-childitem –recurse path d:\

      Correct
    • B

      get-childitem –recurse

    • C

      get-childitem –path d:\

    • D

      get-childitem

  2. Question 2

    Susan wants to create a PowerShell function named “allprocess” which lists the process present in the current machine. Choose the correct syntax which defines the function.

    • function allprocess { get-process }

      Correct
    • B

      def allprocess { get-process }

    • C

      function get-process { allprocess }

    • D

      create-function allprocess { allprocess = get-process }

  3. Question 3

    Which commands will give the same output?
    i. (Get-Process).count
    ii. Get-Process | measure | select -ExpandProperty count
    iii. Get-Process | measure | select count
    iv. Get-Process | measure | select sum

    • ii and iv

      Correct
    • B

      i and ii

    • C

      i, ii and iii

    • D

      i, ii and iv

  4. Question 4

    What is the output after executing the following PowerShell script?

    for ($i=1; $i -lt 5; $i++)
    {
    if ($i % 2 -eq 0)
    {
    continue
    }
    write-host $i
    }

    • 1,2,3,4,5

      Correct
    • B

      1,3

    • C

      2,4

    • D

      1,3,5

  5. Question 5

    Identify the cmdlet used to retrieve the result of the background jobs.

    • Get-job

      Correct
    • B

      Receive-job

    • C

      Show-job

    • D

      Retrieve-job

  6. Question 6

    Which PowerShell cmdlet is used to change the execution policy for scripts on your system?

    • Set-ExecutionPolicy

      Correct
    • B

      Change-ExecutionPolicy

    • C

      Update-ExecutionPolicy

    • D

      Modify-ExecutionPolicy

  7. Question 7

    What is the file extension typically used for PowerShell scripts?

    • .ps

      Correct
    • B

      .ps1

    • C

      .pss

    • D

      .psm1

  8. Question 8

    Identify the wrong statement/s:
    i. The Get-Command cmdlet gets all commands that are installed on the computer, including cmdlets, aliases, functions, filters, scripts, and applications.
    ii. The get-command output varies from one system to other.
    iii. The get-command output is standard and will display the same output on all systems provided same PowerShell version is running on all systems.

    • i only

      Correct
    • B

      iii only

    • C

      ii only

    • D

      i and ii only

  9. Question 9

    Which character specifies a variable?

    • &

      Correct
    • B

      $

    • C

      >

    • D

      %

  10. Question 10

    What will be the output?

    $ErrorActionPreference = "stop"

    try

    {

    Get-command -Name start-job,stop-jib

    }

    catch

    {

    write-host "Error captured"

    }

    • Error captured

      Correct
    • B

      Error "Finally block missing!!"

    • C

      "Get-command: The term 'stop-jib' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:4 char:1

    • D

      CommandType Name
      ----------- ----
      Cmdlet Start-Job

Pricing

Pay once. Clear every cert this year.

One subscription, full Telegram channel access, every PDF posted during your membership.

Monthly
50% OFF
₹1,300₹2,600
Per month · cancel anytime
  • Full access to all 1,357+ certifications
  • Monthly updated question banks
  • Telegram private channel access
  • Cancel anytime
Get Monthly
POPULAR
Quarterly
44% OFF
₹1,800₹3,200
That's ₹600/mo · billed for 3 months
  • Everything in Monthly
  • Save ₹2,100 vs monthly billing
  • Priority answer key requests
  • Best for increasing DQ score fast
Get Quarterly
BEST VALUE
Lifetime
52% OFF
₹2,400₹5,000
One-time · lifetime access
  • Everything in Quarterly
  • Lifetime channel access — no renewals
  • All future certifications included
  • Priority response from admin team
Get Lifetime
FAQ

Common questions, straight answers.

A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.

Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.

We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.

Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.

Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.

i
InfyLexDumps

Independent exam preparation platform for Infosys Lex certifications. Real exam-pattern question banks, monthly updates, 180K+ community members.

Join Premium Telegram
Contact
  • @prepflixadmin
  • admin@prepflix.net
This platform is an independent educational resource and is not affiliated with or endorsed by Infosys Ltd. All certification names referenced are property of their respective owners.
© 2026 InfyLexDumps
Join Premium Telegram