Questions Related to technology

Multiple choice technology
  1. Variables in the global scope are visible in all scopes

  2. Variables in the script scope are visible to all scopes within that script file.

  3. Variables in the local scope are visible only in the current scope and not to its children.

  4. Private scope variables are visible only to that current scope.

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Multiple choice technology
  1. $RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog Application, $computername $RemoteAppLog.Clear()
  2. $RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog MyLog,$computername $RemoteAppLog.Remove()
  3. $RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog MyLog,$computername $RemoteAppLog.Delete()
  4. $RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog MyLog,$computername $RemoteAppLog.Clear()
Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology
  1. \$GivenDate = <<Your Given Date>> Get-Process | Where {\$_.starttime -le [datetime]::\$GivenDate}
  2. \$GivenDate = 4/07/2010 Get-Process | Where {\$_.starttime -ge [datetime]::\$GivenDate}
  3. \$GivenDate = 4/07/2010 Get-Process | Where {\$_.starttime -like [datetime]::\$GivenDate}
  4. \$GivenDate = 4/07/2010 Get-Process | Where {\$_.starttime -neq [datetime]::\$GivenDate}
Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology
  1. List the names of all the local Groups available in a Remote computer

  2. List the names of all the local Groups available in a Remote computer and find members of each group

  3. None of the above

  4. All of the above

Reveal answer Fill a bubble to check yourself
A Correct answer