This web site uses Kentico CMS, the content management system for ASP.NET developers.
Community > Blogs > Max-PIT> PowerShell Blog
 
Check out my blog on how to script adding ODBC DSN connections to your desktops using PowerShell:

http://tinyurl.com/ob5dat

Scripts files are available for download



Posted: 6/7/2009 8:14:29 PM by Global Administrator | with 0 comments


Sapien has done it again and is providing excellent tools for both VBScript and PowerShell.  Please, take a look at both:

1. PrimalScript 2009: for information - http://www.primaltools.com/index.asp

Sapien PrimalScript 2009

2. PrimarForms 2009 (new):for information click here: http://tinyurl.com/n9bdee

Sapien PrimalForms


And there more to pick in their software section... 

These are very essentials tools for scripting.

Thanks Sapien
Posted: 5/28/2009 7:59:31 PM by Global Administrator | with 0 comments


Here's the information from Microsoft:

"... With PowerShell 1.0 on Windows update, we will now be reaching a  broader audience, a lot more than our 3.5 million downloads so far. This is our second step in making people ready for PowerShell and the rich set of features in 2.0 when they deploy Windows 7 or our WTR. Also, this release sets an expectation that the WTR of PowerShell 2.0 would be pushed through WU/MU/WSUS for enterprise deployment.

PowerShell 1.0 through MU is only offered:

·         As an optional update

·         If you don’t have any other version of PowerShell installed (including V2 CTPs) on your machine

·         .NET 2.0 is installed on the machine

·         OS is one of: XP-SP3, W2K3-SP2, Vista-RTM, Vista-SP1 ... "

PowerShell is here to stay!!

Posted: 3/27/2009 12:29:23 PM by Global Administrator | with 0 comments


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


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