IT Questions and Answers :)

Wednesday, May 22, 2019

Which PowerShell command should you use to get help with other commands?

Which PowerShell command should you use to get help with other commands?

  • Get-Help
  • /?
  • -help
  • -? 
Which PowerShell command should you use to get help with other commands?

EXPLANATION

The Get-Help cmdlet displays information about PowerShell concepts and commands, including cmdlets, functions, CIM commands, workflows, providers, aliases and scripts. To get help for a PowerShell command, type Get-Help followed by the command name, such as: Get-Help Get-Process.


Displays information about PowerShell commands and concepts.

Syntax

PowerShell
Get-Help
   [[-Name] <String>]
   [-Path <String>]
   [-Category <String[]>]
   [-Component <String[]>]
   [-Functionality <String[]>]
   [-Role <String[]>]
   [-Full]
   [<CommonParameters>]

 

Share:

What does GPO stand for?

What does GPO stand for?

  • Great Power Outage
  • Group Policy Object
  • Group Policy Overwrite
  • Group Policy Output 

What does GPO stand for?

EXPLANATION

 A GPO when referring to Microsoft Technologies is short for a Group Policy Object. A Group Policy Object is a Policy object that is saved into Active Directory that can be applied to Users of Computers. The object itself has a list of settings that can be configured by an IT Administrator and then periodically (normally every 90 minutes) gets re-applied to the computer.


Share:

Monday, May 20, 2019

Layer 4 in the OSI model corresponds to which of the following?

Layer 4 in the OSI model corresponds to which of the following?

  • Network layer
  • Transport layer
  • Physical layer
  • Presentation layer 
Layer 4 in the OSI model corresponds to which of the following?

EXPLANATION

 

Transport layer

The Transport  layer is also called as the layer 4 of the OSI model. Here are the basic functionalities of the Transport layer:
  • Responsible for the transparent transfer of data between end systems
  • Responsible for end-to-end error recovery and flow control
  • Responsible for complete data transfer.
  • Protocols like SPX, TCP, UDP work here
Share:

The OSI model consists of how many layers?

The OSI model consists of how many layers?

  • 7
  • 6
  • 5

The OSI model consists of how many layers?

EXPLANATION

The 7 Layers of the OSI

In the OSI model, control is passed from one layer to the next, starting at the application layer (Layer 7) in one station, and proceeding to the bottom layer, over the channel to the next station and back up the hierarchy. The OSI model takes the task of inter-networking and divides that up into what is referred to as a vertical stack that consists of the following 7 layers.
Note: Click each hyperlink in the list below to read detailed information and examples of each layer or continue scrolling to read the full article:
  • Layer 7 - Application
  • Layer 6 - Presentation
  • Layer 5 - Session
  • Layer 4 - Transport
  • Layer 3 - Network
  • Layer 2 - Data Link
  • Layer 1 - Physical

 



Share:

In Linux, the rmdir command (without any flags):

In Linux, the rmdir command (without any flags):

  • Removes a directory and its contents
  • Removes empty directories
  • Removes a directory and all of its subdirectories
  • Remotely creates a directory 
In Linux, the rmdir command (without any flags):

EXPLANATION

 

rmdir

Remove directory, this command will only work if the folders are empty.
Syntax
      rmdir [options]... folder(s)...

Options
      --ignore-fail-on-non-empty
                  Ignore each failure that is solely because the
                  directory is non-empty.

  -p, --parents   Remove explicit parent directories if being emptied

      --verbose   Output a diagnostic for every directory processed

      --help      Display help and exit

      --version   Output version information and exit
Example

$ rmdir myfolder
Before removing directories with a wildcard, it's wise to list them first:
$ ls -d britney*/
Share:

Which of the following is a valid command in Linux?

Which of the following is a valid command in Linux?

  • w
  • x
  • t
  • y
Which of the following is a valid command in Linux?

EXPLANATION

Thw w command display who is logged into the Linux and Unix-like server, and what they are doing at command execution time. The syntax is:
w
I suggest that you either read Linux w command examples page or see Linux w command man page for more information.

When you type "man {name of command}" in terminal, you most often will get info from the Linux Manual on that command (note: do not enter the brackets when typing the command). i.e - man w
NAME w - Show who is logged on and what they are doing.

SYNOPSIS w [-husfVo] [user]

DESCRIPTION
w displays information about the users currently on the machine, and their processes. The header shows, in this order, the current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.
The following entries are displayed for each user: login name, the tty name, the remote host, login time, idle time, JCPU, PCPU, and the command line of their current process.
The JCPU time is the time used by all processes attached to the tty. It does not include past background jobs, but does include currently running background jobs.

 

 

Share:

Which network topology requires terminators?

Which network topology requires terminators?

  • Mesh
  • Ring
  • Bus
  • Star 
Which network topology requires terminators?

EXPLANATION

 

The correct answer to the question “Which Network topology requires terminators?” is letter A or bus network. Before we delve into that, it is worthy to mention that there are two kinds of topology – the logical topology which define the method used for accessing a media, and Physical topology which defines the Design of the media and includes bus, ring, star, extended star, hierarchical, and mesh network.
Now that we know the two types of topology, bus topology is considered as one of the first application types of the ethernet. It requires less cable than that of star topology, but if the main cable is down, then that just means that all network is down, as well. It also requires terminators on cable end points.
Share:

Popular Posts