Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Ask the Experts
Forums
Webcasts
Blogs
eBookV2
Script Library
Twitter Grid
Featured Posts
Dreaming in PowerShell
Don Jones
Code MarkUp Tool
Directory
The Lonely Administrator
Share
|
Recent Posts
Friday Fun: A PowerShell Tickler
Test 64-Bit Operating System
PowerShell Version Profiles
Scrub Up PowerShell Content
PowerShell Scripting Games 2013 Impressions
Archives
May 2013 (9)
April 2013 (10)
March 2013 (6)
February 2013 (8)
January 2013 (15)
December 2012 (5)
November 2012 (7)
October 2012 (5)
September 2012 (2)
August 2012 (3)
July 2012 (4)
June 2012 (8)
May 2012 (11)
April 2012 (18)
March 2012 (2)
February 2012 (10)
January 2012 (12)
December 2011 (10)
November 2011 (15)
October 2011 (12)
September 2011 (4)
August 2011 (9)
July 2011 (8)
June 2011 (6)
May 2011 (10)
April 2011 (8)
Tags
CommandLine
Conferences
Friday Fun
FridayFun
Function
functions
Get-WMIObject
Google Plus
Group Policy
hashtable
Hyper-V
objects
Out-Gridview
Pipeline
PowerShell
Powershell 3.0
PowerShell ISE
PowerShell v2.0
ScriptBlock
Scripting
Training
Validation
Windows Server
WMI
Write-Host
View more
Sort by:
Most Recent
|
Most Viewed
|
Most Commented
Friday Fun: Start-TypedDemo v2
Not too long ago I posted a function I wrote for doing PowerShell demonstrations. My goal was to simulate a live interactive demo but without the typing so I could focus on explaining and not typing. The first version was … Continue reading →...
Published
Fri, May 27 2011 8:28 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
Function
,
Training
,
PowerShell v2.0
,
Write-Host
,
Friday Fun
,
ScriptBlock
,
Professional
Updating Multi-Valued Active Directory Properties Part 2
A few weeks ago I posted about updating multi-valued attributes in Active Directory. Part 1 covered how to accomplish this in PowerShell using ADSI. In Part 2 I’ll show you how to accomplish this using the free Active Directory cmdlets … Continue...
Published
Mon, Dec 19 2011 12:46 PM
by
The Lonely Administrator
Filed under:
PowerShell
,
Windows Server
,
Active Directory
,
Set-QADUser
,
Get-QADUser
,
Quest Software
,
Quest
Friday Fun Add A Print Menu to the PowerShell ISE
I spend a fair amount of time in the PowerShell ISE. One task that I find myself needing, especially lately, is the ability to print a script file. I’m sure you noticed there is no Print menu choice. So I … Continue reading → Read More...
Published
Fri, Sep 09 2011 9:07 AM
by
The Lonely Administrator
Filed under:
Friday Fun
,
FridayFun
,
PowerShell ISE
TechEd Atlanta – Managing the Registry with PowerShell
My second TechEd talk was about managing the registry with Windows PowerShell. If you were in the session you know that I stressed heavily using the PowerShell provider and cmdlets. For remote computers, leverage PowerShell’s remoting infrastructure...
Published
Mon, May 23 2011 9:01 AM
by
The Lonely Administrator
Filed under:
Registry
,
Scripting
,
WMI
,
PowerShell
,
PowerShell v2.0
,
Conferences
,
TechEd
,
Regsitry
Turning CLI Tools into PowerShell Tools Deep Dive Demos
Last week I did a presentation at the PowerShell Deep Dive in Frankfurt about turning command line tools into PowerShell tools. A video recording should be posted later. But in the meantime, here is a copy of my slide deck, … Continue reading →...
Published
Mon, Oct 24 2011 10:07 AM
by
The Lonely Administrator
Filed under:
functions
,
PowerShell
,
PowerShell v2.0
,
DeepDive
,
Conferences
,
CommandLine
Finding Files in the Path – A Pipeline Perk
I’ve been chipping in on a forum post about finding if a given file exists in any folder within the system environmental %PATH% variable using Windows PowerShell. There are several ways you might approach this. But the best way in …... [[...
Published
Thu, Nov 17 2011 9:11 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
Pipeline
,
filtering
,
Test-Path
,
Join-Path
Updating Multi-Valued Active Directory Properties Part 1
Yesterday on Twitter, I got a tweet from @Docsmooth regarding how to update a multivalued property in Active Directory. There are a number of ways to handle this, especially from PowerShell naturally, so I tweeted one way in a series … Continue...
Published
Thu, Dec 08 2011 8:38 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
Active Directory
,
ADSI
Create HTML Bar Charts from PowerShell
I saw a very nice mention on Twitter today where someone had taken an idea of mine and created something practical and in production. It is always nice to hear. The inspiring article was something I worked up that showed … Continue reading →...
Published
Thu, Feb 16 2012 11:54 AM
by
The Lonely Administrator
Filed under:
Scripting
,
WMI
,
PowerShell
,
PowerShell v2.0
,
ConvertTo-HTML
,
HTML
Get Shared Resource
I was poking around WMI the other day in PowerShell and was intrigued by the Win32_Share class. This is a great way to find out what items are shared on a server such as printers and folders, although it’s not … Continue reading → Read...
Published
Tue, Jul 12 2011 8:10 AM
by
The Lonely Administrator
Filed under:
Scripting
,
WMI
,
PowerShell
,
Function
,
PowerShell v2.0
,
Get-WMIObject
Using Types with Imported CSV Data in PowerShell
The Import-CSV cmdlet in PowerShell is incredibly useful. You can take any CSV file and pump objects to the pipeline. The cmdlet uses the CSV header as properties for the custom object. PS S:\> import-csv .\testdata.csv Date : 1/18/2012...
Published
Thu, Jan 19 2012 8:21 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
PowerShell v2.0
,
Where-Object
,
objects
,
Import-CSV
,
Sort
Embrace and Extend the PowerShell ISE
I did a presentation today for the PowerShell Virtual Chapter of SQLPass. The recording will be posted later and I’ll update this when I have the link. But in the meantime, as promised, I wanted to make available my slide … Continue reading...
Published
Wed, Feb 15 2012 1:07 PM
by
The Lonely Administrator
Filed under:
PowerShell ISE
,
ISE
,
AddOns
Export and Import Hash Tables
I use hash tables quite a bit and with the impending arrival of PowerShell 3.0 I expect even more so. PowerShell v3 allows you to define a hash table of default parameter values. I’m not going to to cover that … Continue reading → Read...
Published
Thu, Feb 02 2012 9:25 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
Function
,
PowerShell v2.0
,
hashtable
,
CSV
,
export
,
import
Friday Fun: A PowerShell Alarm Clock
Today’s Friday Fun is a continuation of my exploration of ways to use Start-Job. A few weeks ago I wrote about using Start-Job to create “scheduled” tasks. I realized I could take this further and turn this into a sort … Continue...
Published
Fri, Jan 20 2012 8:28 AM
by
The Lonely Administrator
Filed under:
PowerShell
,
PowerShell v2.0
,
Friday Fun
,
FridayFun
,
Jobs
,
Start-Job
Friday Fun – A Christmas Prompt
#leftcontainerBox { float:left; position: fixed; top: 60%; left: 70px; } #leftcontainerBox .buttons { float:left; clear:both; margin:4px 4px 4px 4px; padding-bottom:2px; } #bottomcontainerBox { width: 50%; padding-top:... [[ This is a content summary...
Published
Fri, Nov 25 2011 8:00 AM
by
The Lonely Administrator
Filed under:
PowerShell
,
Function
,
PowerShell v2.0
,
Friday Fun
,
FridayFun
,
prompt
Friday Fun – A PowerShell Console Menu
When working in PowerShell, and especially when scripting, you might want to give the user a choice of actions. For example, you might develop a configuration script that another admin or technician will run. Perhaps one of the steps is … Continue...
Published
Fri, Dec 30 2011 9:01 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
PowerShell v2.0
,
Friday Fun
,
console
,
switch
,
Read-Host
« First
...
< Previous
2
3
4
5
6
Next >
...
Last »
Copyright 2012 PowerShell.com. All rights reserved.