Tag | Powershell Posts

I'm so excited about this...

Read the announcement here

Microsoft has a released a new technology showcase site called Dinner Now. From the website: DinnerNow is a fictious [sic.] marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies. The demo utilizes several technologies including: IIS7, ASP.NET Ajax Extensions, Linq, Windows Communication Foundation, Windows Workflow Foundation, ...
Jason Prickett has a post up on using PowerShell with the Team Build Object Model: This entry is based on Team Build's next version which is available in a CTP release right now, and will be in Beta very soon (don't ask, I don't know when). In the next version of Team Build, we have included an Object Model (OM) that wraps all the functionality of the Web Services. This makes writing your own apps that need build information, much easier. As I talk about how to use the methods and objects in the ...
For anyone intersted in doing PowerShell cmdlet development, Mike Stall has a good post on using Visual Studio to create and debug cmdlets: Here's how you can get a sweet Visual Studio development experience for building and debugging your own PowerShell cmdlet:- It has Wizard support for initially creating the cmdlet, - intellisense- F5 build support which also registers your cmdlet- provides the full power of the VS debugger including Edit-and-Continue when debugging your cmdlets. I've not done ...
From Arlindo's blog I found an awesome Longhorn Hypervisor Virtual Server demo given at Microsoft. This is the new Longhorn server running the server core role with 8 cores! They show a few different things in the demo like hot adding a NIC to a running VM with PowerShell. Technorati tags: Longhorn, Virtualization, Server Core, Virtual Server, Hypervisor ...
The Windows PowerShell Team Blog has a nice post, including sample code, on Start-Demo: Help doing demos using PowerShell: I decided I had had enough of that nonsense and decided to write a script which would run a demo for me. I've called this function: Start-Demo. I've attached it to this blog entry. I have to say that I'm pretty please with how it came out. I'll not pretend that I completely understood the script, being the PowerShell novice that I am. However, I did think it was an interesting ...
Today I got my brand new Zune MP3 player which I did win at a Microsoft Event. Lucky me ;-). Ok install the software and you are ready to rockn roll, I thought, and I was wrong. Very wrong. At 94% of the installation it did stop with an error which was there even after a reboot. A quick Google search did confirm that other users had this problem also. One of the possible installation problems was the the Users group has the wrong name. Aha! I have a German Windows XP where the Users group is named ...
There are 14 core tracks and 2 virtual tracks at Tech·Ed this year, which will cover more than 1,000 sessions. In case you're wondering, a virtual track is a collection of sessions or labs that share a common theme but span several tracks. The Session Scheduler launches in April and we will get our first real look at the actual sessions available in each track. Until then, we have to be content to speculate. Looking at the technical tracks page, it became clear to me that there is a lot of information ...
We are approaching the registration limit of 600 so get registered now! Info: http://codecamp.fladotnet.com Register: https://www.clicktoattend.c... Sessions: .NET Reflective and Adaptive Programming :: 20 Tips Every Developer Should Know About The CLR :: Using 3rd Party tools with CSLA :: Active Reports :: Advanced Code Generation using CodeSmith 4.0 :: Agile Development for Microsoft Technologists :: Amazon Elastic Compute Cloud :: Amazon Simple Storage Service :: The ...
The blessed creators of PowerShell have smiled upon us and now provided the release version of their rich shell interface for Vista. In honor of this momentus occasion I have decided to also bring a gift to the table. I took a couple of hours and updated the great introductory walkthrough document for PowerShell done by Ryan Paul so it's consistent with the release version. Ryan comes from a strong background in Linux, with lots of experience using great shells. His write-up is the perfect thing ...
Some have wondered why Vista took so long to get to us. What's the big deal about it anyway? Well, it's much more than a pretty face and the fancy new communication features of WCF. Okay, so that was all it was going to be originally. A marginal upgrade. A hop between Whistler and Blackcomb, and its code-name told it all: Longhorn is just a small bar nestled between those two giant mountains. But when Blaster and other embarassing attacks surfaced in the 2003 timeframe, the original plans to make ...
Today we dug into the new Group Policy features found in Vista. There's 800 new policies altogether, so wow is there lots to see! Plus there's a new XML-based format used to store the information, the ADMX files by which you create the "Central Store" on the domain controller. So lots of neat new things there. After having fun implementing policy around the classroom, we dug into PowerShell in the afternoon. That's truly a significant feature, one that will change the landscape of network administration. ...
I just added another sample to the Analysis Services Stored Procedure project. The following text is copied from the Wiki documentation which I just updated. This function is not currently available as part of a compiled release, but it is available from the source code repository, so you can download the code and compile it yourself. I also have a Powershell based variation of this proc which was actually how I prototyped the technique. I plan to polish up the rough edges of that script and post ...
There are several friendly pages to help you get going. Assuming you are starting with VBScript, Microsoft has a Converting VBScript Commands to Windows PowerShell Commands page which will be your friend as you explore. Learn from their Task-Based Guide to Windows PowerShell Cmdlets. Get working examples from the Script Center Script Repository, and do not forget the Tools and Utilities. Download the latest version here ...
Windows PowerShell is a new shell scripting interface built on the Microsoft .NET framework that enables IT Pros and .NET developers to control and automate the administration of Windows and applications. It uses a new admin-focused scripting language and features more than 130 standard command-line tools. Download Windows PowerShell 1.0 Getting Started Guide and Quick Reference sheet PowerShell blog Cheers!!! Mahesh ASP.NET Interview Questions | C# Interview Questions | .NET Interview Questions ...

This tool does the trick with helping you navigate the complex namespaces of PowerShell and getting productivie immediately.

http://www.PowerShellAnalyzer.com/

So no news from me for a while... Have kind of had my head buried in my Xbox360 which i bought only recently... But will talk about that later, what i really want to talk about is all the cool news from microsoft in the last couple of weeks... We have had Office 2007 RTM, Windows Vista RTM, Powershell V1.0RTW, Windows Sharepoint Services RTW... And its not long till Exchange 2007 RTM... (I'm sure i have missed some other really cool news... For those of you with Technet Subscriptions i believe Office ...
In an email to the Developer Division & Windows SDK Contributors at Microsoft, Lori Pearce - Product Unit Manager announced that the Windows SDK for Windows Vista has shipped! Yoho!! The site went live earlier - if you havent seen it yet here are the links ISO Install:http://www.microsof... Web Install:http://www.microsof... ...
The You Had Me at EHLO Exchange blog has a great article on how with Exchange 2007 you no longer do recipient-based tasks from within ADUC (Active Directory Users and Computers) but from within the Exchange 2007 Management Console (or PowerShell). This is great news for a large enterprise where the AD and Exchange engineers may be on seperate teams and not so great for smaller shops where one or more engineers do both roles ...
Amanda has a great overview of the new Exchange 2007 management console over at the EHLO blog. It has some great screenshots and comparisons with the Exchange 2003 ESM to highlight the changes in the way you interact with Exchange 2007. Personally, I love the new console. The three pane layout allows for you to get more done in less screen real estate. However, once I finish mastering the PowerShell, I dont plan on being in the new ESM much ...
Here are some useful links I found to help me along: Download RC1http://www.microsoft.com... Windows PowerShell RC1 Documentation Packhttp://www.microsoft.co... Official Sitehttp://www.microsoft.co... MSDN Docs: http://windowssdk.msdn.micr... How Powershell workshttp://windowssdk.msdn... Windows Power Shell Quick Start (good syntax reference)http://channel9.m... ...
As you probably already know, NDoc developer Kevin Downs resigned from continuing this project, but at the same time Microsoft announced it's own tool called Sandcastle that can generate documentation from code comments in any .NET language. Like many of you I was waiting long for NDoc to support .NET 2.0, and had to bear with no documentation for a while. Therefore I was eager to try out what this Sandcastle can do for me. The good news is that Sandcastle was released this weekend, so here are my ...
Updated: June 12, 2006 - I had some debug code in there, basically a sleep for a second statement - doh! - I've removed it and Zip file updated There have been numerous times that I’ve needed the ability to rename a set of files based upon a pattern, something regular expressions could easily take care of if the old DOS rename command, or something built into the Windows OS could do. However, there’s nothing in Windows base set of command utilities that can provide this. I haven’t ...

The Exchange Scripting Center is holding a contest for the best one line PowerShell script that addresses some form of Exchange 2007 administration. See the contest announcement here. The winner will get a trip to the Exchange Server 2007 launch – whenever and wherever that is!

GOPWRSHL and unleash to capabilities of Exchange Server 2007!

Jamie Thomson has an interesting post here http://blogs.conchango.com/... about some of his recent experiences with Analysis Services. One point that particularly stuck out for me an that was his criticism of having to access objects using their ID instead of their name in XMLA. This affected me recent while I was working on the PowerShell provider for AMO (which is still a work in progress). Most of the collections in AMO can be accessed using the object's ID, ...
Windows PowerShell (formerly known as “Monad”) is a Microsoft's answer to the power and flexibility of the Unix command shells. It should finally complete the Windows management picture by providing a solid command line shell to administer Windows systems. PowerShell is part of Vista, but fortunately for all of us, it is being released separately and is available for Windows XP as well. PowerShell is a command line shell that is: as interactive and composable as bash/ksh (or any other Unix shell) ...
Well teched 2006 is over and I must say it was great to go and see all of the stuff that is not ready for production. Seriously I wish there was more content on some of the current technologies. I was lucky enough to catch up with some people who actually provide some very useful information. The guys from the Microsoft.com Operations team we awesome, talk about some honesty on what works and what to pitch... It was very refreshing. The patterns and practices team had some great experience to share ...
As you may have figured out, I am a bit of a PowerShell fan - and it just keeps getting better. As Scott Hanselman posted last week (http://www.hanselman.com/b... there are now 2 high quality IDE's for PowerShell available for free download. PowerShell Analyzer http://karlprosser.edify.us... PowerShell IDE http://powershell.com/ I don't know if PowerShell IDE's claim to be the “first PowerShell IDE“ is entirely true or not. From my perspective, I thought that ...
I have been experimenting a bit more recently to see what I can do with Powershell and Analysis Services. The following small script executes an MDX query using an XMLA connection. I have borrowed the xsl files from one of Chris Harrington's excellent ThinOlap samples. 1 [System.Reflection.Assembly... 2 [Microsoft.AnalysisServices... = new-Object Microsoft.AnalysisServices.... 3 $xmlac.Connect("localhost\s... ...
The more I play with PowerShell the more I like it. And now that I have a provider working that allows me to link in an Analysis Services server and navigate through the object hierarchy. Here is an early picture of the Shell (developed while PowerShell was still know by its code name of Monad) The screenshot above shows a PowerShell console that is connected to a drive called “amo“ which is linked to the SQL05 instance of Analysis Services 2005 on my localhost. One of the biggest differences ...
I think I'm with Mitch on this one. I'm not overly keen on “PowerShell“, the new name for Monad. The product team have already renamed their blog to PowerShell, so it could be pretty much a done deal, but there seems to be a fair bit of criticism on Scobles post about the new name. While there are some people who point out some worse possible names, there are not many people showering the new name in praises. I quite liked Monad and even MSH was acceptable (although I don't know if Microsoft ...