by Nino
9. November 2008 04:43
by Nino
9. November 2008 04:42
There was a good crowd at tonight's CINNUG meeting for my Windows PowerShell presentation - thank you to all who were in attendance.
My PowerPoint deck and other materials may be found at the download page here (If you want to skip the fluff and get the .zip straightaway look here).
There were a few questions that came up during that talk that either I wanted to double-check on or needed to research an answer, so here they are:
Q: How do I permanently load a custom cmdlet?
A: Put it into your profile script.
Create a profile.ps1 file and place it in your profile dir. Add Add-PSSnapin MyCustomCmdlet to your profile script.
The profile would be \Documents and Settings\<profile>\My Documents\WindowsPowerShell\ on Windows XP and Windows Server 2003. It would be \Users\<profile>\Documents\WindowsPowerShell on Windows Vista. Look at this entry on MSDN for Customizing Windows PowerShell for more.
Q: How do I FTP from PowerShell?
A: Options:
- Take a look at this script by Joannes Vermorel.
- NetCmdlets http://www.nsoftware.com/powershell
- Take a look at this script posted to the microsoft.public.windows.powershell newsgroup
Again, thank to all who were in attendance and happy PowerShell-ing. ...and for some fun, check out PowerShell Invaders (you may need to sign the script depending on your execution policy).
by Nino
9. November 2008 04:42
The April 2007 CINNUG meeting is upon us, so, today (Tuesday, April 17), come over to Max Traning in Mason and see ME (yep, really, me) talk about Windows PowerShell and what it can do for YOU, the developer.
Wonder what a cmdlet is? (Nope, they're not chocolate-covered) Want to leverage the pipeline? (no, not that one) Learn about aliases (and keep out of trouble with the law). Find out how runspaces can rock your world.
Windows PowerShell. Better than sliced bread? You betcha!
...hmm sounds like some new cmdlets are needed: Slice-Bread, Toast-Bread, Butter-Bread (is using butter as a verb in the standard verb-noun pattern stretching it? ..anyways.. come to CINNUG hear what it's about. And if PowerShell doesn't float your boat, there's always the pizza. Heh.
by Nino
9. November 2008 04:42
Sweet! Check out this post from Otto Helweg on using PsInfo and PowerShell (I <3 you, PowerShell, and I'm not your only fanboy)