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
January 2012 - 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
Using Start-Job as a Scheduled Task
Here’s a technique you might want to use for ad hoc troubleshooting or reporting. Even though it is possible to set up scheduled tasks to run PowerShell commands or scripts, it is cumbersome and time consuming. PowerShell v3 offers a … Continue...
Published
Thu, Jan 05 2012 9:54 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
PowerShell v2.0
,
Invoke-Command
,
Start-Job
,
Tasks
,
remoting
Format Leading Zeros in PowerShell
I’ve been working on a question in the forums at ScriptingAnswers.com and the need arose to create a folder name with a 4 digit number. But the number needed to have enough leading zeros so that the number was always … Continue reading →...
Published
Tue, Jan 03 2012 10:38 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
Join-Path
,
Format
Convert Text to Object Updated
I’ve had a few comments and emails lately about my post and script on converting text to objects. I decided the function needed a little more lovin’ so today I have an updated version, complete with comment based help. Function … Continue...
Published
Thu, Jan 12 2012 8:43 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
PowerShell v2.0
,
CommandLine
,
Split
,
Convert
PowerShell in a Nutshell
This past weekend I did an online presentation for a friend of mine who teaches for ITT in Omaha, Nebraska. He wanted me to do a brief talk about what PowerShell is and show how to use it, especially for … Continue reading → Read More...
Published
Thu, Jan 26 2012 6:56 AM
by
The Lonely Administrator
Filed under:
Scripting
,
WMI
,
PowerShell
,
Training
,
PowerShell v2.0
,
Windows Server
,
video
The PowerShell Morning Report
I love how easy it is to manage computers with Windows PowerShell. It is a great reporting tool, but often I find people getting locked into one approach. I’m a big believer in flexibility and re-use and using objects in … Continue reading...
Published
Tue, Jan 10 2012 12:18 PM
by
The Lonely Administrator
Filed under:
Scripting
,
WMI
,
PowerShell
,
ConvertTo-HTML
,
Windows 7
,
Windows Server
,
Get-WMIObject
,
HTML
Maximizing the PowerShell Console Title Bar
A few days ago Boe Prox posted some very nifty PowerShell modules for using the title bar as a ticker for RSS feeds like the weather. I thought this was an awesome idea and an easy way to take advantage … Continue reading → Read More...
Published
Tue, Jan 31 2012 9:54 AM
by
The Lonely Administrator
Filed under:
Scripting
,
WMI
,
PowerShell
,
PowerShell v2.0
,
console
,
module
,
Register-ObjectEvent
,
eventsubscriber
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
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: Output to 2 Places in 1
Today’s Friday Fun comes out of a short exchange I had yesterday with Hal Rottenberg on Google Plus. We were playing around with piping a PowerShell command to Clip.exe which dumps the output to the Windows Clipboard. I got to … Continue reading...
Published
Fri, Jan 13 2012 7:50 AM
by
The Lonely Administrator
Filed under:
PowerShell
,
Function
,
PowerShell v2.0
,
Write-Host
,
Friday Fun
,
FridayFun
,
Tee-Object
Where’s Jeff?
I hope that 2011 was a good a year for you as it was for me. In 2012 I hope to keep up the pace. Here’s a brief look at where you can find me this year and a few … Continue reading → Read More...
Published
Mon, Jan 02 2012 9:50 AM
by
The Lonely Administrator
Filed under:
PowerShell
Friday Fun What’s My Variable
I use scriptblocks quite a bit in my PowerShell work, often saved as variables. These are handy for commands you want to run again, but don’t necessarily need to turn into permanent functions. $freec={(get-wmiobject win32_logicaldisk -filter...
Published
Fri, Jan 06 2012 10:32 AM
by
The Lonely Administrator
Filed under:
PowerShell
,
Friday Fun
,
FridayFun
,
Variable
,
objects
,
Type
,
Get-variable
Friday Fun Get Content Words
Recently I was tracking down a bug in script for a client. The problem turned out to be a simple typo. I could have easily avoided that by using Set-StrictMode, which I do now, but that’s not what this is … Continue reading → Read More...
Published
Fri, Jan 27 2012 9:30 AM
by
The Lonely Administrator
Filed under:
Scripting
,
PowerShell
,
PowerShell v2.0
,
Friday Fun
,
Regular Expressions
,
Select-Object
,
Get-Content
,
regex
Copyright 2012 PowerShell.com. All rights reserved.