SQL Server Help, Scripts, Answers, Webcasts and More
This web site uses Kentico CMS, the content management system for ASP.NET developers.
Community > Blogs > Max-PIT> PowerShell Blog
 
Here’s some PowerShell Projects that caught my eye:
1.       PowerShell Management Library for Hyper-V ( http://www.codeplex.com/PSHyperv )
 
2.       Sharepoint PowerShell Deploy ( http://www.codeplex.com/sharepointpdeploy  )
 
3.       Windows Automation Snapin for PowerShell ( http://www.codeplex.com/WASP )
 
4.       SQL Server PowerShell Extensions ( http://www.codeplex.com/SQLPSX )
 
5.       VS Command Shell ( http://www.codeplex.com/VSCmdShell )
 
6.       PowerShell SharePoint Provider ( http://www.codeplex.com/PSSharePoint  )
 
7.       PowerSSAS – a PowerShell Provider for SQL Server Analysis Services (http://www.codeplex.com/powerSSAS )
 
8.       Windows Installer PowerShell ( http://www.codeplex.com/psmsi )
 
9.       PowerShell Cmdlets for Visual Studio Team System ( http://www.codeplex.com/pscmdlets4teamsystem )
There are about 100 PowerShell projects. 
Go ahead and get involved.
Posted: 12/6/2008 11:30:47 PM by Global Administrator | with 0 comments



You can use the combination of "Get-member" with "Out-File" to help you get the list of Methods and Properties of your collection of .NET (or COM) objects from your $x variable.  In the following sample, you create a variable $x.  The purpose is to have another way to access the list of methods and properties so you won't open another PowerShell session in order to get to it.  I think this is a practical way to do it.  This way you can get the list from a notepad editor so you can see what's available. 


Sample Code

PS> $x = 'TEST'

PS> $x | gm | out-file -FilePath c:\temp\gm.txt ; ii c:\temp\gm.txt

 


Have fun!!
Max
Posted: 11/13/2008 11:09:08 AM by Global Administrator | with 0 comments


Thanks to Microsoft Buck Woody, during one of his virtual seesion, he provided a resource link were you can download a free PowerShell workbook:
<Free Windows PowerShell workbook: server administration>

Please, make sure to download the language version you want, there's English and German.


Enjoy,
Max
Posted: 11/8/2008 10:08:14 AM by Global Administrator | with 0 comments


Basically, you can use the tab to auto-complete what you are writing in your PowerShell (PS) cmdlet line.

Here’s some examples:

clip_image002

Then press the “tab” key a few times

clip_image004

clip_image006

Pick the “properties” or “method” you want to use to complete the cmdlet and run.

clip_image008

Now, using the one of the third-party PowerShell tools available on the Internet such as”PowerShellPlus”, you can take advantage of the Tab-expansion features in a graphical way.

clip_image010

A pull-down list will be available similar to the auto-completion features available in Visual Studio.

clip_image012 clip_image014

If you want to check out the “PowerShellPlus” tool, here the link: http://www.powershell.com/

Enjoy!

Posted: 8/29/2008 2:11:44 PM by Global Administrator | with 0 comments


This is one tools that need the recognition and finally joins IDERA tools.  I seen this PowerShell editor grow and I considered it a good one to have in your desk.  Go ahead the download this product and give it a try.  You will love it:



<Click Here: PowerShellPlus Professional Edition>

Enjoy!
Posted: 8/29/2008 9:30:52 AM by Global Administrator | with 0 comments


Title

PowerShell basics and try-out samples.  Understanding PowerShell in its basic form can help you to overcome the hurdle.  I will post tools, tips and tricks.

Syndication

RSS
This web site uses Kentico CMS, the content management system for ASP.NET developers.