Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Blog - Title
January, 2009
MSDN Blogs
>
Windows PowerShell Blog
>
January, 2009
Server & Tools Blogs
>
Server & Management Blogs
>
Windows PowerShell 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
Windows PowerShell Blog
Automating the world one-liner at a time…
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Tags
Advanced Functions
CMDLET
Community
CTP3
DOCUMENTATION
DOTNET
FAQ
Get-Help
HowTo
INTERNAL
Jeffrey Snover
LANGUAGE
PHILOSOPHY
PowerShell
PowerShell Deep Dive
PowerShell ISE
PowerShell V2
Presentation
Quest
Remoting
Sapien
TechED
Windows Server 2012
WMI
WPF
More
▼
Less
▲
Archives
Archives
June 2013
(1)
April 2013
(1)
March 2013
(1)
January 2013
(2)
December 2012
(1)
October 2012
(2)
September 2012
(2)
August 2012
(1)
July 2012
(5)
June 2012
(9)
May 2012
(1)
April 2012
(3)
March 2012
(7)
February 2012
(1)
January 2012
(1)
December 2011
(2)
October 2011
(3)
September 2011
(3)
August 2011
(2)
July 2011
(2)
June 2011
(1)
May 2011
(1)
April 2011
(5)
March 2011
(4)
February 2011
(4)
January 2011
(2)
December 2010
(2)
November 2010
(1)
October 2010
(1)
September 2010
(1)
July 2010
(1)
June 2010
(9)
May 2010
(7)
April 2010
(4)
March 2010
(3)
February 2010
(7)
January 2010
(8)
December 2009
(8)
November 2009
(9)
October 2009
(7)
September 2009
(12)
August 2009
(8)
July 2009
(11)
June 2009
(16)
May 2009
(15)
April 2009
(18)
March 2009
(15)
February 2009
(6)
January 2009
(45)
December 2008
(31)
November 2008
(5)
October 2008
(12)
September 2008
(14)
August 2008
(8)
July 2008
(15)
June 2008
(26)
May 2008
(20)
April 2008
(18)
March 2008
(18)
February 2008
(12)
January 2008
(13)
December 2007
(4)
November 2007
(26)
October 2007
(6)
September 2007
(8)
August 2007
(11)
July 2007
(5)
June 2007
(27)
May 2007
(33)
April 2007
(11)
March 2007
(28)
February 2007
(16)
January 2007
(34)
December 2006
(25)
November 2006
(26)
October 2006
(10)
September 2006
(17)
August 2006
(16)
July 2006
(20)
June 2006
(22)
May 2006
(11)
April 2006
(62)
More
▼
Less
▲
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Windows PowerShell Blog
Managing Server Features with PowerShell Cmdlets on Windows 2008 Server R2 Beta
Posted
over 4 years ago
by
PowerShell Team
25
Comments
If you have used Windows Server 2008, probably you had experience with managing server features. Server Manager is a traditional way to install/uninstall server features. On Windows 2008 Server R2 Beta , Windows PowerShell provides a new approach to managing...
Windows PowerShell Blog
Transferring (Large) Files Using BITs
Posted
over 4 years ago
by
PowerShell Team
19
Comments
Have you had a file copy fail? Does that drive you crazy or what? How about when it is a REALLY big file and it takes a couple of hours and JUUUUUST before it finishes something happens to interrupt the transfer and you have to start all over again. Does...
Windows PowerShell Blog
Managing Windows Update From PowerShell
Posted
over 4 years ago
by
PowerShell Team
0
Comments
James O’Neil just posted how to manage Windows Update with Windows PowerShell Here’s a quick sample of what he can do: Add-WindowsUpdate –Auto to download updates and reboot if needed, Set-WindowsUpdateConfig –n 4 –i to schedule updates (Including the...
Windows PowerShell Blog
Managing Remote Desktop services (aka Terminal services) using Windows PowerShell
Posted
over 4 years ago
by
PowerShell Team
10
Comments
Hello everyone, We are pleased to announce that the Beta release of Windows server 2008 R2 supports managing Remote Desktop services using PowerShell. You can now configure and manage all RDS role services and components using PowerShell. For example...
Windows PowerShell Blog
Manage winrm settings with wsman provider
Posted
over 4 years ago
by
PowerShell Team
5
Comments
PowerShell remoting is built on top of Windows Remote Management (WinRM), which is Microsoft’s implementation of WS-Management protocol. You can use winrm.cmd command line tool to query and manage winrm settings. PowerShell V2 CTP3 contains a wsman provider...
Windows PowerShell Blog
Debugging PowerShell Script Using the ISE Editor
Posted
over 4 years ago
by
PowerShell Team
9
Comments
Hi writers and consumers of buggy scripts. This post explains the basics of the Graphical Debugger in the ISE. There’s a lot of good stuff, with some tips and tricks. The debugger support got the cmdlets and user interface. The cmdlets include Enable...
Windows PowerShell Blog
How and Why to Use Splatting (passing [switch] parameters)
Posted
over 4 years ago
by
PowerShell Team
3
Comments
On our internal discussion list, someone just asked about how to pass switch parameters from one function to another. This person asked this as "Why can't [switch] parameters be passed as parameters?". My short answer was simple: "They...
Windows PowerShell Blog
Extending and/or Modifing Commands with Proxies
Posted
over 4 years ago
by
PowerShell Team
3
Comments
There are so many powerful features in V2, it is hard to know where to begin. This one is going to blow to top of your head off when you understand what it enables you to do. In this blog, I talk about Proxy Cmdlets which is the ability for one Cmdlet...
Windows PowerShell Blog
Copy console screen to system clipboard
Posted
over 4 years ago
by
PowerShell Team
3
Comments
In the previous example we learned how to create a colorized copy of console in HTML and RTF format. However, the output of these scripts cannot be readily used for pasting into web or word processing applications. To insert it into your article in MS...
Windows PowerShell Blog
Interactive remoting in CTP3
Posted
over 4 years ago
by
PowerShell Team
18
Comments
Today let's talk about one of the cool new features of Windows PowerShell V2 - Interactive Remoting. Let’s start with an example: PS> $env:COMPUTERNAME # Check local computer name. VLADIMIA64 PS> Enter-PSSession Vladimia06 # Remote to other computer...
Windows PowerShell Blog
How To Write a Console Application in PowerShell with Add-Type
Posted
over 4 years ago
by
PowerShell Team
24
Comments
Windows PowerShell CTP3 has a lot of very cool things. CTP2 introduced the Add-Type cmdlet, which allowed you to dynamically compile C# in PowerShell. It was actually possible to use the CompilerParameters to Add-Type to make a console application...
Windows PowerShell Blog
Invoking Methods Using Variables
Posted
over 4 years ago
by
PowerShell Team
0
Comments
You can have a lot of fun with PowerShell. Makes sense right - we're busting our butts off and we get to define it so why wouldn't we make it fun? Your busting your butts off at your job as well so why shouldn't your tools be fun? Right? In...
Windows PowerShell Blog
Capture console screen
Posted
over 4 years ago
by
PowerShell Team
6
Comments
Seeing nicely formatted console examples in a previous post has inspired me to write a script that captures the console screen buffer directly from the Windows PowerShell console host. With this script you can make console "screen shots" to...
Windows PowerShell Blog
Please Give Us Feedback
Posted
over 4 years ago
by
PowerShell Team
39
Comments
With the release of Win7/WS08R2 beta, we are officially in the end game of PowerShell V2. This is the phase were we can only respond to customer feedback and we rely upon customer feedback to tell us whether and when we are ready to ship. ...
Windows PowerShell Blog
Colorized capture of console screen in HTML and RTF.
Posted
over 4 years ago
by
PowerShell Team
6
Comments
In the previous post we demonstrated how we can use console host API to capture screen buffer contents as text. But what if we want some colors. Would not it be nice to publish colorized copy of console in HTML or insert it as part of Microsoft Word document...
Windows PowerShell Blog
Using PowerShell to Protect Against Conficker (Enabling and Disabling AutoRun.inf)
Posted
over 4 years ago
by
PowerShell Team
3
Comments
On the front page of MSN.com today, there’s details about a new worm, Conficker , that spreads using the good old fashioned autorun.inf tricks. It infects USB drives so that, when you plug the drive into another computer, it automatically runs and...
Windows PowerShell Blog
Get-USB – Using WMI Association Classes in PowerShell
Posted
over 4 years ago
by
PowerShell Team
3
Comments
Last Thursday, we had our first meeting of PowerShell Script Club on the Microsoft Campus. Script Clubs are really cool. They're kind of like a hands on lab with no set topic or teacher. You bring an idea for a script, and ask your fellow PowerShell users...
Windows PowerShell Blog
Rename-Drive : Renaming Drives with PowerShell & WMI
Posted
over 4 years ago
by
PowerShell Team
4
Comments
Shane Burton from Compellent just asked me to help him rename a drive with PowerShell. It's possible to rename drives using a couple of different WMI classes, Win32_Volume , and Win32_LogicalDisk . You change the drive by setting a property name on the...
Windows PowerShell Blog
A Module to Create Modules and Advanced Functions
Posted
over 4 years ago
by
PowerShell Team
7
Comments
[1/3/09 Update - the original link to the attachment containing this code was broken but is now fixed. Sorry. jps] It is hard to overstate how important Modules and Advanced Functions are. If you are a PowerShell user - you need to take the time to...
Windows PowerShell Blog
Podcast Discussing WSMAN 1/14/2008
Posted
over 4 years ago
by
PowerShell Team
2
Comments
Tomorrow evening I'll be doing the Mind Of Root podcast with Steve Murawski to discuss WSMAN. WSMAN is the new standard management protocol to talk to all sorts of heterogeneous devices and is the protocol that PowerShell Remoting is based upon...
Windows PowerShell Blog
Test-PSCmdlet
Posted
over 4 years ago
by
PowerShell Team
4
Comments
Everyone needs to get good with Advanced Functions – this is the easiest path to the best semantics for everyone. In previous posts we’ve shown how you can add a few simple attributes and get a TON of stuff for free. There is a LOT more to advanced functions...
Windows PowerShell Blog
How to copy colorized script from PowerShell ISE
Posted
over 4 years ago
by
PowerShell Team
12
Comments
UPDATED Feb-03-2009: Lee Holmes has posted an updated version of the script which does a much better job of HTML copy-pasting. It can also produce line numbers and has a number of other improvements. In the previous article we demonstrated how...
Windows PowerShell Blog
Why Should I Test With PowerShell?
Posted
over 4 years ago
by
PowerShell Team
13
Comments
Today, on our internal discussion list, someone asked if there were any advantages to testing with PowerShell versus testing with C#. I was able to come up with 10 quick reasons to test with PowerShell: Being able to run command line programs easier within...
Windows PowerShell Blog
Getting Alternate Streams (Verbose, Progress, Debug) with the PowerShell API
Posted
over 4 years ago
by
PowerShell Team
2
Comments
Dozens of people could write dozens of books on all of the cool stuff we improved in V2 of PowerShell. One of the nice little things we did was give a more understandable API than Pipeline (which is the class you can use to invoke code from C# in...
Windows PowerShell Blog
How To Make Your Own Module Repository
Posted
over 4 years ago
by
PowerShell Team
9
Comments
Andy Schneider (from Get-PowerShell.com ) recently asked me how he could make sure that everyone at Avanade could get a consistent set of modules. I run into a somewhat similar problem here at Microsoft, where I want to take scripts I've built to work...
Page 1 of 2 (45 items)
1
2