Geek.Like.Todd

There are 10 kinds of people on the planet.. those who understand Binary.. and those who don’t. —

I’m lazy.. I mean.. I’m really lazy. But hey.. that’s OK! I believe the best admins are the lazy ones, we plan for redundancy so it doesn’t bug us on weekends, we try to be efficient so we aren’t beating our heads against the walls to keep the bits flowing.. so.. it might not surprise you when I tell you that most of us IT people don’t understand binary.  I’m going to sum up tho why maybe we all should.

What is Binary? 

A quick description? If you’ve ever heard that all a PC understands is 1’s and 0’s.. that’s binary. But what you might not know is that this is a number system called Base 2, and using Binary you can represent any number in the system you ALREADY use which is called Base 10.

Why is Binary useful to you in IT?

The most immediate thing is Networking. All IP Addresses are a representation of Binary numbers, and yes I’m fully aware you might not need to know how it works.. but better network engineers know these things.. and so should you.

OK, give me some examples, but keep it small. 

No Problem..  Binary isn’t just 1’s or 0’s. Each digit in binary is called a bit and each bit in binary each represents a value of 2x.  To represent no value for that bit, you put a 0 no matter which place in binary you are in.

What does that mean? Lets start small, lets start with 2 bits.

in binary each place represents a value, from right to left. the first bit if it’s a 0 is 0 and if it’s a 1 it equals 1, which is 20

0 = 0

1 = 1

If we add a second bit, and it’s a 0 it still equals 0 but a 1 equals 2 which is 21

00 = 0

10 = 2

Now.. if they are both 1’s then it’s 2 + 1 which means that

11 = 3

so 3 becomes the maximum 2 bit number you can have in binary.

OK I’m ready for more.. lets go to 4 bits.

Ok.. you asked for it..

1st bit = 20 or 1
2nd bit = 21 or 2
3rd bit = 22 or 4
4th bit = 23 or 8

So if you had all ones in your binary number you’d add =

1 + 2 + 4 + 8 or 15 which is the maximum value of a 4 bit number. and if you wanted you could use 0 in there to represent any number that was between 0 and 15. Example: 10 in binary would be 1010 or 8 + 0 + 2 + 0, if you noticed the overused binary joke in the title, binary 10 is actually 2 or 2 + 0.

Hex!

Although I’m not going to into Hex, Hex is a representation of 4 bit numbers. It’s 0 thru f which comes out to 16 (with 0 still being null) in a single character format. Once we move to IPV6 you will be using alot of Hex.

Why is this important in networking? 

Because Binary is the foundation of IP addressing, if you’ve ever heard of CIDR notation (like a /24 or a /30 subnet) this is referring to binary. Although you are probably very familiar with DDN which is how IPV4 represents binary, subnetting in binary is very useful

Ok how do I learn more about Binary? 

Ha.. google it. There a plenty of resources online about how binary works.  If you ever want to get a networking cert, you will surely need to know it.

Here is just one of the videos I found on teh Youtubes that goes over binary.


What I’ve been doing with my life over the past year :D —

Hi anyone who happens to read this!

I started a new job about a year ago working for a Data Center and Cloud Company and it’s been quite the ride. I’ve been working with Vmware, Fortigate, alot of Cisco, Commvault, and Kemp Loadbalancers. I’ve also been working on getting my CCNA R&S which is somthing I’ve wanted for years now.  I was hoping to get it this year.. but we will see if I’m able to get thru the tests before the end of the year. Right after I’m finished I want to go through the process of getting a Linux cert (probably Comptia’s Linux+ since its binary compat with 2 other exams.)

 

Anyhow.. I probably have quite a few things I can blog about.. like.. IPV4 Subnetting, IPV6, Fortigate and Cisco commands, OSPF.. Site to Site VPNs.. I have plenty.. I just need to dedicate some time to it..

 


Stupid Exchange Powershell Tricks: Mailbox size, and Last Logon Time for users —

This command I found here: http://www.alexdejong.com/?p=326 but I modified it, just a tad.

 

the Command is:
Get-mailbox -Organizationalunit "subdomain.domain.com/Users/BobsHouseofPizza" | get-mailboxstatistics | ft displayname,totalitemsize,lastlogontime > Bobshouse.txt
This creates a text file in whatever directory you are running in with the Exchange Shell, and the output will show, User’s Name, Size of User’s Mailbox, and the user’s last logon time, which is helpful if you are giving mail to external users and aren’t certain if they actually use that mail account.