Welcome to Sol 3 Sign in | Join | Help

ASPInsiders

Aggregation of ASPInsiders and Microsoft ASP.NET team member blogs.

Browse by Tags

All Tags » PowerShell   (RSS)
How to change the default browser in Visual Studio programmatically with PowerShell and possibly poke yourself in the eye
I've heard and seen lots of complaints about how it's hard to set the default browser that Visual Studio launches when you launch a debug session for a website. Step 0 - Adequate Folks spend time hunting around the Tools|Options dialog in Visual Studio Read More...
Awesome Visual Studio Command Prompt and PowerShell icons with Overlays
I'm not using one of the "icon people." By that I mean, I don't collect icons, or change all the icons on my system to custom fancypants icons. But, I noticed today that I was using the Command Prompt along side a Visual Studio Command Prompt Read More...
Poshnet DNS CMDLet and DNS lookup script
I was recently tasked with writing a script to resolve a few domains. I hit the internet and found the perfect cmdlet posted by Joel Bennett. The original code was posted on www.codeproject.com which Joel converted to a cmdlet. Thanks for having smart Read More...
One of the coolest things coming out of MMS and Powershell!
I was in a session on advanced powershell automation at www.mms-2010.com Here is something if you do powershell http://www.bing.com/visualsearch search for cmdlets Select Visualize Windows Powershell cmdlets Or click this link http://www.bing.com/visualsearch?g=powershell_cmdlets&FORM=SGEWEB&qpvt=cmdlets Read More...
Execute a SOAP request from Powershell
Web services are everywhere such as SOAP requests, WCF services and traditional ASMX asp.net web services. I was working on a task recently we needed to call a SOAP service from a powershell script. A good friend of mine passed this snippet to me. If Read More...
Hanselminutes Podcast 190: The State of Powershell with Lee Holmes and Jason Shirk
My one-hundred-and-ninetieth podcast is up . Scott's in Redmond this week and he sits down with Lee Holmes and Jason Shirk from the Powershell team. What's the state of Powershell now that it's built into Windows. What does 2.0 buy me and what features Read More...
Download Podcasts with Powershell
A number of people have mentioned to me that they didn't realize that Powershell is included by default in Windows 7. If you haven't yet jumped on the Powershell bandwagon, this is a good time. Powershell 2 includes a bunch of cool features like remoting Read More...
PowerShell 2.0 RTMed
It seems like it introduces a ton of new stuff… Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it! Read More...
Batch Converting a Directory Tree of Videos Recursively with Handbrake for Streaming to an Xbox360
I've got many many gigs of 640x480 video of the kids and family taken on my Flip Ultra and then HiDef video taken with a Creative Vado HD , my current favorite pocket video camera. There's also a bunch of random videos taken with whatever video-capable Read More...
Create Policies for Sharepoint and Powershell 1.0
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint") [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Publishing") $SiteURL = " http://www.example.com " $site = new-object Microsoft.SharePoint.SPSite($siteURL) Read More...
PowerShell’ing on Windows Server: How to import certificates using PowerShell!
Importing a certificate to a computer…you’d think the PowerShell method would be plastered all over the web, but oh no! I had to figure most of this out all by my lonesome. Okay, not *all* by my lonesome, but it felt that way. There was one Read More...
Use Powershell, WMI to retrieve DNS search order, Use Active Directory for list of computers.
# ********************* Global variables ********************* $sb = new-object System.Text.StringBuilder $sbErrors = new-object System.Text.StringBuilder # ********************* Defining functions ********************* function GetListOfComputer { $strCategory Read More...
Hanselminutes Podcast 162 - PowerShell 2.0
My one-hundred-and-sixty-second podcast is up . Scott's at TechEd and bumps into Hal Rottenberg and Kirk Munro . Hal's a PowerShell IT guy and Kirk's a Powershell-focused Dev. What's new in PowerShell 2.0 and what's in it for the .NET developer or Windows Read More...
Fun with PowerShell: Sorting multidimensional arrays and ArrayLists
Sometimes the best way to learn something important is to walk the long, rocky road. And sometimes you have to use poor analogies to open a blog post because nothing better is clicking at the moment. But most of the time you wish someone else had walked Read More...
Fun PowerShell Command: Find all folders containing a file type
Me, write a short blog? Never! I wanted to mass import all the drivers from the UBCD4win software to a custom WIM file, but the network drivers are scattered everywhere in different subfolders. The solution? $drv = get-childitem D:\UBCD4Win\drivers -recurse Read More...
More Posts Next page »