I don’t find my Powershell profile path that I see in Powershell using $profile

Hi Guys, Powershell has made a long journey so far and most of the people may have started playing with it. But sometimes simple things can even cause pain in a**. This Topic is about a question, that is frequently asked on internet by powershell users around the globe.


Strange, I don’t find my Powershell profile in windows explorer that I see in Powershell when hitting $profile cmd?

Read More

Error while installing .Net Framework 3.5 on Windows server 2012 R2: 0x800F0906, 0x800F081F

Hi folks, If you are the one like me who faced this error while installing .Net Framework 3.5 on windows server 2012 R2, you are at right place. I know your pain 🙂 . I have found the solution to this issue and posted here, check it out.

.Net Framwork 3.5 is not actually installed by default on Windows server 2012 R2, and while you have the option to install it from Server Manager. But installation of .Net 3.5 fails with following error-

Installation of one or more roles, role services, or features failed.
The source files could not be found. Try installing the roles, role services, or features again in a new Add Roles and Features Wizard session, and on the Confirmation page of the wizard, clik “Specify an alternate source path” to specify a valid location of the source files …..blah blah blah”


Read More

How to Install Root Certificate Authority in Windows Server 2012 R2

In this article I am going to install an Enterprise Root Certificate Authority on windows server 2012 R2 server.


  1. For installing Enterprise Root Certificate Authority, you must be having a Domain controller present.
  2. DNS is required.
  3. You can install Root Certificate Authority on a Windows 2012 R2 Domain controller, but recommended is to have it in a separate machine.


Read More

Performing Offline Defragmentation of Active Directory Database

Going to upgrade your Active directory from windows 2003 to windows 2008 R2? You can optimize Active directory performance or Active directory replication by performing offline defragment of Active directory database. If you think your directory database is huge than normal, you might want to perform offline defragment to reduce the size and in result of that any new domain controller that you’ll be promoting will be having reduced database size when it replicates from the domain controller having defragmented database.

Active directory automatically performs online defragmentation of the database at certain intervals (by default, every 12 hours) as part of the Garbage Collection process. Online defragmentation does not reduce the size of the database file (Ntds.dit), but instead optimizes data storage in the database and reclaims space in the directory for new objects. Performing an offline defragmentation creates a new, compacted version of the database file. Depending on how fragmented the original database file was, the new file may be considerably smaller.

Read More

Script to find all Windows Terminal Servers in a domain

Hello Folks,

If anyone of you are struggling to find out all the terminal servers running in your environment, I’ve written a Powershell script to find out terminal servers running on windows server 2003 and windows server 2008 R2 OS. This script will find out the value of TerminalServermode on each server by using WMI query on class “Win32_terminalservicesetting”. Please note that WMI Namespace for this class is different in Windows server 2003 and Windows server 2008 R2-

Read More

How To Make a Brand Page On Google+ Plus

Google Plus pages getting more popularity than Facebook pages so if you are looking for an article where you can get all the steps which will show you how to make a page on Google + then you are at right place, in this article we are going to describe you each step with simple points to explain you the procedure of making a page on Google + (G+). Here in this article we will capture and focus on the procedure of making ‘Brand Page’ on Google Plus. We are sure all the people who are looking for it, this article will help you so keep reading this article to get all the necessary information about it.

Steps to Make Brand Page on Google+ Plus –

Hey friends, the very first step to minimize the distance from you to your destination is, create a Gmail account (If you don’t have any). Reference Picture is given below.

Read More

Bare Metal Restore of Windows Server 2008 R2 Domain Controller

With Windows Server 2008 R2 you can perform a Bare Metal Restore of a server that has suffered a catastrophic failure without having to install the OS and then the backup agent. Bare Metal restore is like imaging the system and recovering the system back using the image.

It is not recommended to restore domain controller using bare metal when you have other DCs in the network, because this doesn’t reset the invocation id of active directory database.


Read More

Change Windows Azure Subscription in Azure Powershell

I faced an issue when I changed my Windows Azure subscription from Free Trial to MSDN. I was getting following error while executing any Azure command in Windows Azure Powershell-

PS C:\> Get-AzureVM
Get-AzureVM : ForbiddenError: The server failed to authenticate the request. Verify that the certificate is valid and
is associated with this subscription.
At line:1 char:1
+ Get-AzureVM
+ ~~~~~~~~~~~
+ CategoryInfo          : CloseError: (:) [Get-AzureVM], CloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzureVMCommand



Read More