List/Grid Tips and Tricks Subscribe RSS feed of category Tips and Tricks

#PSTip Functions and SQL filtering, Part 2

#PSTip Functions and SQL filtering, Part 2

Note: This tip requires PowerShell 3.0 or later. Adding support for easy filtering on individual table columns is great, but the fact that user would have to use SQL wildcard… Read more »

#PSTip Functions and SQL filtering, Part 1

#PSTip Functions and SQL filtering, Part 1

Note: This tip requires PowerShell 2.0 or later. This is the first tip in a series of SQL filtering tips. I find myself using SQL as a source of the… Read more »

#PSTip Show friendly GPO names with Get-ADOrganizationalUnit

#PSTip Show friendly GPO names with Get-ADOrganizationalUnit

When using the Get-ADOrganizationalUnit cmdlet there is a property available, LinkedGroupPolicyObjects. Unfortunately, that property only displays the GUID of the Group Policy Objects. To make it easier to identify which… Read more »

#PSTip Select non-administrative shared folders using Win32_Share WMI class

#PSTip Select non-administrative shared folders using Win32_Share WMI class

Note: This tip required PowerShell 3.0 or above The Win32_Share WMI class can be used to enumerate all shares on the local or remote system. In this tip, Get-CimInstance will… Read more »

#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 »

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