IT Questions and Answers :)

Wednesday, March 31, 2021

What is the maximum user mailbox size for an Office 365 E3 license?

What is the maximum user mailbox size for an Office 365 E3 license?

  • Unlimited
  • 50 GB
  • 1 TB
  • 100 GB         

What is the maximum user mailbox size for an Office 365 E3 license?

EXPLANATION

Simple question, something I learned recently as I was solving an issue with a user's mailbox.

User mailbox storage limit for an E3 license is 100 GB, it's archive limit is unlimited and its address list limit is 1000.

SOURCE

Share:

Which command, included by default with OpenBSD 6.3, allows you to execute a command as another user?

 Which command, included by default with OpenBSD 6.3, allows you to execute a command as another user?

  • doas
  • sudo
  • runas
  • suid               
Which command, included by default with OpenBSD 6.3, allows you to execute a command as another user?


EXPLANATION

The doas(1) utility first appeared in OpenBSD 5.8, intended as a lightweight drop-in replacement for sudo(1), which stopped being included in the base system since OpenBSD 5.7. The sudo utility had a large codebase, with lots of customizable bells and whistles. Most users would never use the advanced features of sudo, so in an attempt to minimise the attack surface and make a simpler tool, Ted Unangst wrote doas.

Despite being smaller and with fewer options, it still aimed to retain the fine-grained control that people had come to expect of utilities such as sudo, as Ted Unangst describes in his blog post: https://https.www.google.com.tedunangst.com/flak/post/doas

SOURCE

https://man.openbsd.org/doas.1
Share:

Tuesday, March 23, 2021

What is the bit width of the EISA bus?

What is the bit width of the EISA bus?

  • 16
  • 8
  • 64
  • 32               
What is the bit width of the EISA bus?

EXPLANATION

The Extended Industry Standard Architecture (EISA) is a bus standard for IBM PC compatible computers. It was announced in September 1988 by a consortium of PC clone vendors (the "Gang of Nine") as a counter to IBM's use of its proprietary Micro Channel architecture (MCA) in its PS/2 series.
EISA extends the AT bus, which the Gang of Nine retroactively renamed to the ISA bus to avoid infringing IBM's trademark on its PC/AT computer, to 32 bits and allows more than one CPU to share the bus. The bus mastering support is also enhanced to provide access to 4 GB of memory. Unlike MCA, EISA can accept older XT and ISA boards — the lines and slots for EISA are a superset of ISA.
Wikipedia


Share:

Monday, March 22, 2021

In PHP, what is function for outputting the contents of an array at runtime?

 In PHP, what is function for outputting the contents of an array at runtime?

  • print()
  • print_array()
  • print_r()
  • echo               
In PHP, what is function for outputting the contents of an array at runtime?


EXPLANATION

The PHP function print_r() is responsible for outputting the contents of an array at runtime. It is often used for debugging an array during development.

Example:

<?php




$MyArray = array("apple", "orange", "banana");
print_r($MyArray);

/*-------------------------------------------*/

The above would be outputted as:

Array([1]=>apple,[2]=>orange,[3]=>"banana")

/*-------------------------------------------*/
?>


SOURCE

http://php.net/manual/en/function.print-r.php
Share:

What is the not equals operator in Excel?

What is the not equals operator in Excel?

  • NOT()
  • >=
  • <>
  • !=            
What is the not equals operator in Excel?

EXPLANATION

When comparing two pieces of data in Excel, what operator would you use to test if they were not equal? 

If I were comparing cells A1 to B1, my formula would be:

=A1___B1

NOT() is a function, not an operator.

SOURCE

https://support.office.com/en-us/article/Calculation-operators-and-precedence-in-Excel-48be406d-4975-4d31-b2b8-7af9e0e2878a#tblID0EABCAFAAA
  
Share:

Monday, March 1, 2021

What color is the wire conductor for pin 4 on a TIA-568 modular plug?

What color is the wire conductor for pin 4 on a TIA-568 modular plug?

  • White with blue stripe
  • Solid orange
  • Solid blue
  • White with green stripe               

What color is the wire conductor for pin 4 on a TIA-568 modular plug?


EXPLANATION

The TIA-568 cabling standard is as follows for both 568A and 568B configured cables:

TIA-568A

  1. White with green stripe
  2. Solid green
  3. White with orange stripe

  4. Solid Blue

  5. White with blue stripe

  6. Solid orange

  7. White with brown stripe

  8. Solid brown

For the TIA-568B standard:
  1. White with orange stripe

  2. Solid orange

  3. White with green stripe

  4. Solid Blue

  5. White with blue stripe

  6. Solid green

  7. White with brown stripe

  8. Solid brown

Two other things to keep in mind - the 568 A and B standard only differ with the Orange and Green pairs; they are switched between A and B. Also, modular plugs are numbered 1-8 with the retaining tang pointed down. 
Share:

Wednesday, February 24, 2021

What is the common naming convention of PowerShell cmdlets and functions?

What is the common naming convention of PowerShell cmdlets and functions?

  • Verb-Preposition-Noun
  • Adverb-Verb-Noun
  • Verb-Noun
  • Adjective-Noun    

What is the common naming convention of PowerShell cmdlets and functions?


EXPLANATION

The common naming convention of cmdlets and functions in PowerShell is "Verb-Noun".

There are 3 primary rules for naming within this convention:

  1. The Verb should be in the approved verb list.  To get the list of approved verbs, simply type "Get-Verb" in PowerShell.
  2. The Noun should be singular, never plural.
  3. Matching Nouns should work together and with the same object types; for instance, the object you get when you run Get-<Noun> should be able to be piped to a cmdlet to Set-<Noun>.
           
Share:

Popular Posts