Category: Windows

Articles related to Microsoft Windows

Connectivity for WMI

Windows Management Instrumentation (WMI) is Microsoft’s implementation of Web-Based Enterprise Management (WBEM). It’s now part of Microsoft’s Windows Management Infrastructure (MI). WBEM is  set of standards developed to unify the management of distributed computing environments. WBEM is maintained by the DMTF (Distributed Management Task Force). Microsoft uses WMI to provide management data to the Windows
Read More »

HOW-TO: Import PST files to Office365

Personal Storage Table (.pst) files are Microsoft Outlook data files that store copies of messages, calendar events and other items. When migrating email service from On-premise to Office 365, users’ PSTs might have to be imported into Office 365. Importing PSTs Into Office 365 Two methods available: Network Upload Drive Shipping (USD 2.00 per GB
Read More »

Windows Server 2003 RDC Exception

Earlier today, an application owner wanted his Windows Server 2003 SP2 VM restarted. So, I opened a Remote Desktop Connection (RDC) session to the VM and restarted it. After the VM started, I received the following exception when I tried to open an RDC session to the VM:   Since I could no longer login
Read More »

How to create multiple groups in AD with a batch script

Assuming you have a text file (e.g. C:\ADGroups.txt) containing multiple Active Directory (AD) Groups with one AD group per line, you may use an MS-DOS script similar to the following to create all those AD Groups in your Active Directory domain. for /F "tokens=* delims= " %%G in (C:\ADGroups.txt) do ( dsadd group CN="%%G",OU="Human Resources",OU="IT",DC=MYAD,DC=CYBERGAV,DC=IN
Read More »

Working with Files and Directories in PowerShell

Given below are some tips from my scratchpad on working with files and directories in PowerShell. These are just basic tips and by no means exhaustive. Check out the book “Windows PowerShell in Action” by Bruce Payette, an excellent book on PowerShell authored by the lead developer of the language.

How to determine your PowerShell version

One method of determining your PowerShell version is to check the Windows Registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine. Given below are other(recommended) methods of obtaining version information for your PowerShell:

Automate Requests for New Certificates

Recently, all Windows XP workstation users within a corporate domain were required to request and install a certificate from the Enterprise Certificate Authority (CA). Typically, the Certificate Manager Management console Snap-in Control (certmgr.msc) is used to request new certificates, as in the screenshot shown below. So, I was required to automate this process using a
Read More »