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)
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...
Velocity PowerShell Quick Reference Guide (CTP2)
If you are looking for the PowerShell Quick Reference Guide for the CTP2 Build of Velocity look no further. Download the PDF here: http://weblogs.asp.net/blogs/rchartier/Velocity-PowerShell-QuickReference-CTP2.zip Errors or omissions can be reported via Read More...
Fun with PowerShell: Testing whether an IPv4 address has a valid structure.
' com { color: #009900; } str { color: #990000; } sym { color: #069; } key { color: blue; } var { color: #006699; } built { color: #000088; } More fun with PowerShell today! Today's script is a function, testIP, that accepts a string input and verifies Read More...
Powershell, Sharepoint and granting SPBasePermissions
Over the last few months, I've been learning how to automate Sharepoint installs and perform base configurations. Between psconfig , stsadm and stsadm extension by Gary LaPoint, I've been able to achieve pretty much a scripted install. Most of the configuration...( Read More...
Random bytes...
I wanted to write a script to change some drive volumes around for a new partitioning scheme. Being me I wanted to do it in PowerShell, so I searched Google, Live, etc. to find a quick answer and ... found nothing. Not a single person with a post on how Read More...
More Posts Next page »