List/Grid Columns Subscribe RSS feed of category Columns

#PSTip Enumerating mapped network drives using WScript.Network

#PSTip Enumerating mapped network drives using WScript.Network

In the ‘Create mapped network drive using WScript.Network‘ tip, it was shown how a mapped drive can be mounted. The WScript.Network object also contains the EnumNetworkDrives method which enumerates all… Read more »

#PSTip Rename a local or a mapped drive using Shell.Application

#PSTip Rename a local or a mapped drive using Shell.Application

In the ‘Create mapped network drive using WScript.Network‘ post, it was shown how a mapped drive can be mounted. The mapped drive doesn’t initially have a friendly name–only the name… Read more »

#PSTip Create mapped network drive using WScript.Network

#PSTip Create mapped network drive using WScript.Network

There are multiple methods of mapping network drives in PowerShell. In the past the net.exe tool was used and since PowerShell 3.0 drives can be persistently mapped using the New-PSDrive… Read more »

#PSTip Automatically persist history

#PSTip Automatically persist history

Note: This tip requires PowerShell 2.0 or later. By leveraging engine events and PowerShell profile scripts we can automatically persist command history to disk, and import it in the next… Read more »

#PSTip Quick objects using ConvertFrom-Csv

#PSTip Quick objects using ConvertFrom-Csv

Note: This tip requires PowerShell 2.0 or later. PowerShell is designed to operate on objects. But, what can we do if all we have is text e.g. from a ticket… Read more »

#PSTip Decoding an HTML-encoded string

#PSTip Decoding an HTML-encoded string

In my previous tip, I showed some of my favorite methods to convert date time string to the local time. In the same context of RSS feeds, I sometimes find… Read more »

© 2014 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.