Sign in
Browse by Tags
TechNet Blogs
»
Hey, Scripting Guy! Blog
»
All Tags
»
windows powershell
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Partner & Customer Solutions
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud OS Blogs
Brad Anderson - In the Cloud
Building Clouds
Server & Cloud
Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory Team Blog
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Recent Posts
‘Twas the Night of Before Scripting: Part 1
Posted
6 hours ago
by
The Scripting Guys
The Scripting Guys
PowerTip: Debug a Workflow with PowerShell 4.0
Posted
18 hours ago
by
The Scripting Guys
The Scripting Guys
1
Comment
Security Series: Using PowerShell to Enable BYOD–Part 2
Posted
1 day ago
by
The Scripting Guys
The Scripting Guys
PowerTip: Use PowerShell to Discover Console Colors
Posted
1 day ago
by
The Scripting Guys
The Scripting Guys
Tags
2010 Scripting Games
2011 Scripting Games
2012 Scripting Games
Active Directory
Advanced
Beginner
Desktop Management
files
getting started
Guest Blogger
Office
operating system
PowerShell 3
PowerTip
Quick-Hits Friday
running
Scripting Guy!
scripting techniques
Scripting Wife
Sean Kearney
Security
Storage
VBScript
Weekend Scripter
WMI
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
December 2013
(46)
November 2013
(60)
October 2013
(65)
September 2013
(61)
August 2013
(63)
July 2013
(63)
June 2013
(69)
May 2013
(68)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
More
▼
Less
▲
Tagged Content List
Blog Post:
PowerTip: Use PowerShell to Display Inbound Firewall Rules
The Scripting Guys
Summary : Use Windows PowerShell to display inbound firewall rules. How can I use Windows PowerShell to display the enabled inbound firewall rules for my Windows 8.1 laptop? Use the Show-NetFirewallRule function, filter on the Enabled and the Direction properties, and select the display name for...
on
4 Jan 2014
Blog Post:
Using PowerShell to Back Up Group Policy Objects
The Scripting Guys
Summary : Guest blogger, Ian Farr, talks about using Windows PowerShell to back up Group Policy Objects. Microsoft Scripting Guy, Ed Wilson, is here. Today I am happy to welcome back a recent new guest blogger, Ian Farr. Here is what Ian had to say about himself: I started out writing UNIX shell...
on
4 Jan 2014
Blog Post:
Create a Proxy Function to Display Registry Key Time Stamps
The Scripting Guys
Summary : Guest blogger, Rohn Edwards, discusses creating a Windows PowerShell proxy function to display registry key time stamps. Microsoft Scripting Guy, Ed Wilson, is here. Happy New Year to you all. Guest blogger, Rohn Edwards, is back with us today to continue his series about retrieving registry...
on
1 Jan 2014
Blog Post:
Reusing PowerShell Registry Time Stamp Code
The Scripting Guys
Summary : Guest blogger, Rohn Edwards, discusses reusing code that obtains the last-modified time stamp from the registry. Microsoft Scripting Guy, Ed Wilson, is here. Today is the last day of the year, but don’t despair. We are here to share some Windows PowerShell goodies with you. Welcome...
on
31 Dec 2013
Blog Post:
PowerTip: Use PowerShell to Find Registry Access
The Scripting Guys
Summary : Use Windows PowerShell to find registry access. How can I use Windows PowerShell to get the ACL for a registry key? Use the Get-ACL cmdlet on a key in a Windows PowerShell registry drive. The following example shows access to the HKLM\Software\Microsoft key : Get-acl HKLM:\SOFTWARE...
on
30 Dec 2013
Blog Post:
Use PowerShell to Access Registry Last-Modified Time Stamp
The Scripting Guys
Summary : Guest blogger, Rohn Edwards, talks about using Windows PowerShell to access the last-modified time stamp in the registry. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Rohn Edwards. Rohn is one of the cofounders of the Mississippi PowerShell User Group. I’m...
on
30 Dec 2013
Blog Post:
PowerTip: Use PowerShell to Create Hash Table
The Scripting Guys
Summary : Use a Windows PowerShell cmdlet to create a hash table. How can I use Windows PowerShell to create a hash table if do not remember the special syntax? Use the ConvertFrom-StringData cmdlet, and put each key-value pair on its own line. (You can perform this on a single line by using backtick...
on
27 Dec 2013
Blog Post:
Phantom Elements in a Hash Table
The Scripting Guys
Summary : Microsoft PFE and guest blogger, Chris Wu, talks about working with hash tables. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Chris Wu … Admittedly, hash tables didn’t catch my attention when I started using Windows PowerShell, but over time it...
on
27 Dec 2013
Blog Post:
PowerTip: Create a Secure Password with PowerShell
The Scripting Guys
Summary : Use Windows PowerShell to make a plain text entry into a secure password. Is there a way I can use Windows PowerShell and my working script to make a secure string password without using Read-Host ? Use the ConvertTo-SecureString cmdlet: $MyBoringPassword=”OhThisCouldBeSecure...
on
21 Dec 2013
Blog Post:
‘Twas the Night of Before Scripting: Part 1
The Scripting Guys
Summary : Dr. Scripto teaches a non-scripting Administrator to easily create users in Active Directory. Microsoft Scripting Guy, Ed Wilson, here. Returning once again to delight us all with a little holiday merriment is Honorary Scripting Guy, Sean Kearney. Other than his habit of occasionally singing...
on
21 Dec 2013
Blog Post:
PowerTip: Debug a Workflow with PowerShell 4.0
The Scripting Guys
Summary : Use Windows PowerShell 4.0 to debug a workflow. How do I set a breakpoint in a Windows PowerShell script workflow? Add the workflow to a script and use Set-PSBreakpoint to set a line breakpoint in the workflow: Set-PSBreakpoint -Script C:\Test-MyWorkflow1.ps1 -Line 12 ID Script...
on
20 Dec 2013
Blog Post:
PowerTip: Use PowerShell to Display a Routing Table
The Scripting Guys
Summary : Use Windows PowerShell to display your routing table. How can I use Windows PowerShell to display the routing table on my Windows 8.1 laptop? Use the Get-NetRoute function.
on
16 Dec 2013
Blog Post:
PowerTip: Use PowerShell to Display Date, Time, and Hour
The Scripting Guys
Summary : Use Windows PowerShell to display date, time, and hour in 24-hour format. How can I use Windows PowerShell to get the hour of the day in 24-hour format? Use the Get-Date cmdlet and specify the “%H” pattern to the UFormat parameter ( H is case sensitive): get-date -UFormat...
on
21 Aug 2013
Blog Post:
PowerTip: Find All PowerShell Registry Drives
The Scripting Guys
Summary: Find all Windows PowerShell drives that are rooted in the Windows registry. How can I find all of my Windows PowerShell registry drives? Use the Get-PSDrive cmdlet and specify a provider of registry, as shown here. Get-PSDrive -PSProvider registry
on
9 Jan 2013
Blog Post:
PowerTip: Identify Virtual Switches by Using PowerShell 3.0
The Scripting Guys
Summary: Learn how to use a single cmdlet to identify the existence of Hyper-V virtual switches. How can I use Windows PowerShell 3.0 on Windows 8 to identify Hyper-V virtual switches? Use the Get-VMSwitch cmdlet from the Hyper-V module.
on
9 Nov 2012
Blog Post:
PowerTip: Rename a Computer by Using Windows PowerShell 3.0
The Scripting Guys
Summary : Rename a computer by using Windows PowerShell 3.0. How can you easily rename a computer by using Windows PowerShell 3.0? Use the Rename-Computer cmdlet.
on
2 Oct 2012
Blog Post:
PowerTip: Use PowerShell 3.0 to Locate Modern Apps Installed on Windows 8
The Scripting Guys
Summary : Learn how to use Windows PowerShell 3.0 to locate modern apps installed on a computer running Windows 8. How can you use Windows PowerShell 3.0 to find out which modern apps are installed on a computer running Windows 8? Use the Get-AppxPackage cmdlet: Get-AppxPackage
on
28 Sep 2012
Blog Post:
PowerTip: Create a Strongly Typed Array in PowerShell
The Scripting Guys
Summary : Learn how to create a strongly typed array. I want to create a strongly typed array of system.diagnostics.processes and store it in a variable called $a . How can I do this? Use a command such as: [diagnostics.process[]]$a=get-process
on
5 Sep 2012
Blog Post:
Use PowerShell to Reset the Secure Channel on a Desktop
The Scripting Guys
Summary : Learn three ways to use Windows PowerShell to reset the computer secure channel. Hey, Scripting Guy! We have a problem with the computers in our computer classroom. We set up this classroom to teach new hires how to use our mission critical application. We are, however, not hiring as many...
on
2 Mar 2012
Blog Post:
Convert a Semicolon-Delimited File to a CSV File
The Scripting Guys
Summary: Learn how to convert easily a semicolon delimited file into a CSV file using Windows PowerShell. Hey, Scripting Guy! I have a problem at work, and I hope you can help. We have an application that writes one log file every four hours. These log files are formatted with semicolons, which...
on
18 Oct 2011
Blog Post:
Use PowerShell to Search a Group of Files for Phone Numbers
ScriptingGuy1
Summary : Scripting Wife learns how to use Windows PowerShell to easily search a collection of files for phone numbers. Spring has nearly sprung in Charlotte, North Carolina. The weather seems to alternate between absolutely perfect to a little cool with rain. Today, at least so far this morning,...
on
24 Mar 2011
Blog Post:
Use PowerShell to Look for Phone Numbers in Text
ScriptingGuy1
Summary : The Scripting Wife learns how to use a regular expression pattern to look for phone numbers in text files. Microsoft Scripting Guy, Ed Wilson, here. I am looking over some of the slide decks from the Columbia, South Carolina SQL Saturday #70 event. There were a couple of really good Windows...
on
23 Mar 2011
Blog Post:
Hey, Scripting Guy! How Can I Connect Two Group Policy Objects in Active Directory and Compare Them Offline? (Part 1)
ScriptingGuy1
Hey, Scripting Guy! I need to be able to connect to two Group Policy objects (GPOs) in Active Directory and make an offline copy of the GPOs using Windows PowerShell 2.0 so that I can compare the two objects. I know I can do this using the Group Policy Management Console, but I have several hundred GPOs...
on
15 Jul 2010
Blog Post:
Hey, Scripting Guy! Can You Get Me Going on Windows PowerShell Cmdlets for Group Policy?
ScriptingGuy1
Hey, Scripting Guy! I need to work with Group Policy Objects (GPOs) by using a Windows PowerShell script. I understand there are new Group Policy cmdlets in Windows 7, but when I use the Get-Command cmdlet, I do not see any cmdlets. Is this a Release-to-Web (RTW) feature, or did it not make the cut for...
on
12 Jul 2010
Blog Post:
2010 Scripting Games: Advanced Event 6--Automatically Copying Files to a Portable USB Drive
ScriptingGuy1
Note : We are no longer accepting entries for this event. See the due dates page for a list of all event due dates. About This Event Division Advanced Date of Event May 3, 2010 Due Date May 10, 2010 Event Scenario You have a group of files...
on
3 May 2010