PowerShell

List of useful WMI classes to use with PowerShell.

  Hi, Here is the list of some useful WMI Classes :). ClassName Contains win32_ComputerSystemProduct Serial Number, Vendor, information win32_bios Bios Information , including Version Number of BIOS win32_battery Battery Information win32_Physicalmemory Serial Number, Capacity, Part Number of Installed Memory Stick. win32_DiskDrive Capacity, Serial Number of Drive and other info of the Hard-disk win32_DesktopMonitor Monitor… Continue reading List of useful WMI classes to use with PowerShell.

PowerShell

Delete Offline OST files from login users account using PowerShell.

  Hi,   Yesterday I was surfing the TECHNET Script repository and see that one user is requested for a script which can delete offline email file {ost} from login users.   This seems simple to me and I wrote a 3line script which can accomplish this task.   Download the script from : http://gallery.technet.microsoft.com/scriptcenter/Delete-OST-from-User-App-22df1c88 1. … Continue reading Delete Offline OST files from login users account using PowerShell.

PowerShell

Automate “Remote Server Administration Tools (RSAT)” Deployment using PowerShell.

  HI,   These days I am working on a script which does few “Active directory” task for us. This was seems simple so for but then I have found a major hurdle comes.   Problem:   The script on which I am working will be run on newly formatted system which is having Windows7… Continue reading Automate “Remote Server Administration Tools (RSAT)” Deployment using PowerShell.

PowerShell

Part-6: Text Manipulation in PowerShell using .ToCharArray(),.PadLeft(), and .PadRight() methods

  Part-1: Text Manipulation in PowerShell using Trim, TrimStart , TrimEnd methodsPart-2: Text Manipulation in PowerShell using .ToLower and .ToUpper methodPart-3: Text Manipulation in PowerShell using .StartsWith() and EndsWith() methodsPart-4: Text Manipulation in PowerShell using .Replace(), and .Remove() methods.Part-5: Text Manipulation in PowerShell using .Contains() and .Equals() methods Hi, Today we are going to see… Continue reading Part-6: Text Manipulation in PowerShell using .ToCharArray(),.PadLeft(), and .PadRight() methods