Write-What?

Okay… I hope I’m not the last person in the world to have figured this out or I’ll feel dumber than I already do.

I’ve been messing with PowerShell a lot and couldn’t figure out what the difference was between write-output and write-host, two cmdlets that both APPEAR to do the same thing. But now I get it.

My first …

Read More

PowerShell Remoting

While in Barcelona, I got a sneak peek at how PowerShell will – in a future version – handle remoting. It’s pretty cool. Say you start with this:

Get-Service

Simple enough, right? This uses gets a list of all services on the local computer. In fact, this runs in-process, meaning it executes within the current instance of PowerShell. Now try …

Read More

PowerShell & Active Directory

I’ve had a bunch of folks ask, recently, why PowerShell has an [ADSI] type accelerator, but doesn’t have an Active Directory PSDrive. I’ve also wondered a bit, myself about why PowerShell’s [ADSI] type doesn’t work as well with WinNT queries as it does with LDAP queries.

To elaborate: You can, in PowerShell, do something like this:

[ADSI]$user = “LDAP://cn=DonJ,ou=Tech,dc=domain,dc=com”

And …

Read More

News from the Front

I’m at Microsoft IT Forum in Barcelona, and have picked up some great tips and news about Windows PowerShell that I thought I’d share.

First, PoSH is now part of the Windows Common Engineering Criteria (CEC). Although the new CEC needn’t be met until 2009, this is the bit of Microsoft policy which specifies how Windows components need to be …

Read More

System Center 2007 PowerShell

The System Center 2007 Team has started a blog about how it will use PowerShell as its management shell. In case you were wondering, System Center 2007 will eventually replace Microsoft Operations Manager (MOM).

This is going to get interesting as more and more products move to PowerShell.

Read More

Windows PowerShell Snippets now Available

As we gear up to the release of Windows PowerShell v1.0, we’re pleased to announce the release of a new Snippets pack for SAPIEN PrimalScript. This pack is designed to make Windows PowerShell scripting easier and faster by providing 30+ Snippets that handle tough or common tasks from Windows PowerShell scripting. For example, one group of Snippets makes database scripting …

Read More

New Essentials on ScriptingAnswers.com – Now Including Windows PowerShell!

We’ve updated the “Essentials” page on ScriptingAnswers.com (http://www.scriptinganswers.com/essentials.asp) to include Essentials for both VBScript and Windows PowerShell.

“Essentials” are short scripts that demonstrate how to do particular things in a script, such as enumerating through objects, bringing up a debug window, using alternate credentials, and so forth. These tasks are commonly asked about in the ScriptingAnswers.com forums, so …

Read More

PowerShell Sweepstakes

Microsoftis kicking off a major PowerShell promotion. From now until Dec. 15th
2006 you have an opportunity to win some major prizes. All you have todo is
submit your best kick-butt PowerShell script in any of 12 categories:

? Active Directory

? SQL Databases

? IIS 6.0/7.0

? Networking

? Partner Category: PowerGadgets <http://www.powergadgets.com/default.aspx>and
NSoftware <http://www.nsoftware.com/powershell/>Network …

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard