For the most of interviewer it has been their favorite question for them. They just want to know if the person sitting right in-front of him have any idea about “Hoisting” and if the person nodded his/her head with yes. They start playing trick on them.
Being a user friendly and easy to maintenance, most of the giant companies prefer Microsoft products and services. If we talk alone about Windows Servers, Microsoft has already introduced Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, and Windows Server 2012, Windows Server 2012 R2 with various editions like Standard, Essentials, Enterprise and Datacenter on their own prospective. This year Microsoft has launched its new Windows Server 2016 which is advancement of various features and services of previous versions. Microsoft also provides support for these servers except Windows Server 2003. In this post we will try to find out the different Windows Server editions using its own automation tool known as PowerShell.
In the previous post, we went through the CRUD Operation i.e. Insert, Read, Update and Delete using PHP and MySQL and had built a small wall script. In this post, we will be doing a quite same thing but totally in a different way. If you remember in the last post, our data were getting refreshed each time whenever we performed any activity whether it may be a new post, editing data or deleting it. That means, for any small changes we were displaying the whole data, again and again, resulting in the loss of time, internet data and web page performance. To get rid of these problems, a new web technology for client side called AJAX was developed. With the help of AJAX, our web apps can send and receive the data to the servers in the background without interfering the already existing web page.
Today, we are going to talk about CRUD Operation which means CREATE, READ, UPDATE and DELETE. It is the very first and basic thing which we need to deal with if we are thinking to create any application which will save users data into database. So, we will be using PHP as a server side scripting language and an open source database as MySQL for storing our data. By integrating both we will write a code that will perform the CRUD Operations. Before starting I am hoping that you are familiar with PHP and MySQL.
You might be thinking, why we need any script for counting files in the directory as it is just an easy job. Yes I do agree, you can manage to count files on one computer but just think how about if you need to find no. of files under directory on several no. of servers. You have no idea how much time you need to spend to get the entire information for those servers. But the good news is that we can make this task much easier with PowerShell. Yes, we can order “Hey PS, I have a bunch of servers where I need to count files for these directories. Can you do it for me and I am sure it will not refuse to do this. So, the question is how? That’s what the post is about.
In this Post, We will be talking about Windows Time Service or you can also call W32Time which is implemented in a dynamic link library called W32Time.dll and installed by default in “C:\Windows\System32” folder while installation of Operating System like windows 2008. The purpose for developing W32Time is to synchronize the date and time for all computers running in an AD DS domain. That means, the windows network using AD alias of Active Directory require that every machine clocks within in a specific domain should be almost synchronized so the machine can log on the domain using Kerberos Authentication.
Junk Files! Sounds unhealthy, but unfortunately that is not the case. If you ask your tech expert, even they will suggest you to delete it regularly. You have no idea, at what extent the temporary files created. So, why to keep such files in your computer which can increase the risk for sort of problem and can decrease the performance in the terms of utilizing unnecessary disk space. Although you have huge storage system but that doesn’t make sense. It definitely makes your computer slow to operate or sometimes your computer can go unresponsive.
The event logs capture the events that happen on your computer by tracing the activities done by program or user. Windows server logs consist of Windows logs and Applications and Services logs with .evtx or .evt file extension. If this log is configured properly, you can manage the logs more efficiently and can use that information effectively. But the condition can go even worse if it not. It can impact your server performance by occupying a huge space in Gigs on the disk. Sometimes, your system C drive can run out of the disk and can result in slowness. In that case, you will have to delete the logs file which is older and not important to your system