Tag | Powershell Posts

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 ...
PowerShell 1.0 was released yesterday in Spain, and /n software was there! When you go to download it (for free), don't forget to pickup NetCmdlets too. Also check out Jeffrey Snover's 12 Cool Features of Windows PowerShell. You'll need to uninstall previous versions of PowerShell before you can install the new one, but PowerShell won't appear in Add/Remove Programs unless you check the "show updates" box. Technorati : cmdlets, netcmdlets, powershell ...
Here is a list of PowerShell cmdlet verbs on MSDN. Technorati : PowerShell, powerShell verbs ...
The SNMP PowerShell cmdlets that come with /n software NetCmdlets support SNMP v1, v2c, and v3, SNMPv3 auth/priv, MIB loading, etc. Here are some examples of using the Get-SNMP, Set-SNMP, Send-Trap, and Get-Trap cmdlets. Find SNMP enabled machines (agents) on your network:PS C:\> get-snmp -agent 255.255.255.255 -oid sysName.0 Find processes running on a remote snmp-enabled machine:PS C:\> get-snmp -agent myagent -oid hrSWRunName -walk $true Send an SNMP trap to a remote manager:PS C:\> send-trap ...
Some examples of using NetCmdlets in PowerShell. The FTP NetCmdlet supports plain and secure (both SSL and SSH) FTP connections right from the PowerShell console. List files on a remote server: PS C:\> get-ftp -server myserver -user lancer -password mypass The same, but using SSL (auth-tls): PS C:\> get-ftp -server myserver -user lancer -password mypass -ssl explicit And again, but using SSH 2.0: PS C:\> get-ftp -server myserver -user lancer -password mypass -ssh Find the files on a remote ...
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... ...
Windows PowerShell Scripting Sweepstakes. I think its kinda funny, though, that the first prize teaser in the description of the contest is two "all-expenses paid trips to Redmond, WA to meet the Windows PowerShell team". You know I'm sure I would enjoy meeting you all and everything...but I'd rather just have the Xbox. Unless I can get the xbox AND the trip to Redmond. :) Submit your entry scripts in one (or all) of 12 categories: Active Directory SQL Databases IIS 6.0/7.0 Networking Partner Category: ...

Here's the Windows Power Shell Quick Start at Channel 9. This is a nice little quick resource for anyone interested in playing with the PowerShell scripting language.

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 ...