New Delhi PowerShell User Group Users
Cool User Group Isn’t …. Thanks Aman
Cool User Group Isn’t …. Thanks Aman
Hi, I wrote a simple PowerShell script which helps us to clean some of the disk space for us. This script wrote primarily for LENOVO laptops but can tweak it as per your requirements. This Script does the following tasks: · Clean users TEMP folder · Empty Recycle Bin · Empty SWTOOL… Continue reading Clean Disk Space using PowerShell.
Hi, Yesterday I was using –F format Operator in PowerShell. In the first view it seems like puzzle me to but after spending few hours working on it start seems simple. -F format operator is basically a .NET based. Why we need to use the –F format operator? Yes we have few cmdlets… Continue reading Using the -F format Operator in 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.
Hi, After watching the valentine post of “Jeffery Hicks” I started playing with $([char]) characters. And while working with these characters I found a great character that is character 7. So what is interesting in character number 7?, it is a Beep Sound. For example if in your script you are rebooting the server or… Continue reading Using BEEP sound in PowerShell Scripts.
Hi, Yesterday I faced a problem in which I need to change the computer name using PowerShell. First I was looking for some cmdlet which can do this job for me but there is not any inbuilt cmdlet for it. Then I searched and finally find a way by which I can do this within… Continue reading Set Computer Name 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.
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.
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
Hi, Few weeks back i got an email from “Robert” who is from “SAPIEN Technologies” and first I thought that this may be a some “SALES” promotion email, but it was not , they give there best wishes to “New Delhi PowerShell User Group” and asking if they can support this group by any… Continue reading Thanks to “SAPIEN Technologies, Inc.”…