Quantcast
Channel: ::::::::: PowerShell :::::::::
Browsing all 25 articles
Browse latest View live

[MSH] print-image

Your boss comes at your desk with a pile of CDs filled with high quality tiff images(roughly 20000 x 20000 pixels)He tells you to print all the image files fit into a "letter" sized paper in 2...

View Article



Image may be NSFW.
Clik here to view.

[MSH] print-image *Snapin* version

During my spare time, i spent sometime converting "print-image" cmdlet into a Snapin version.I have extended its functionality just by a tiny bit by adding "Landscape" mode printing. Well, I still...

View Article

Blogger and Technoroti problem

Well, it seems like a lot of people's updated Blogger posts are not being updated in Technorati because of some problem on Blogger.comI have seemed to fixed it by going to my Technorati account ->...

View Article

[MSH] How to a[void] returning multiple values from a function

I have succesfully made one of C# application I was working on at work to call MSH script on the fly during runtime. Everything seemed to have been working fine until I have encounted this problem that...

View Article

[MSH] MSH Analyzer

Well, Karl Prosser has create his own GUI Msh hosting environment.I think it's still in pre-alpha status(well Karl calls it a "Proof of Concept" stage)It supports both one-line and multi-line command...

View Article


[MSH] Displaying Zip File contents

Let's have some fun with zip files.I have searched through MSDN document on whether .NET library but could not findddany C#/VB.net library that deals with Zip file content.I have been googling around...

View Article

[MSH] display and extract zip contents

In the previous post, I have talked about how to display zip contents of a file.I have realized that ,while writing extraction script(out-ZipContent), it'd be better to convert the script into a snapin...

View Article

[MSH] How to change a Process's Priority

There are a lot of posts about how to get processes' name and priorities but I haven't been able to find ways to change a process's priority easily.Suppose that you are (un)zipping a large file and...

View Article


[MSH] Extending System.Security.SecureString

I was reading Monad Technology Blog about Base64 Encode/Decode a string, which deals with extending a .NET object System.String to include script properties (which you can also add in an interactive...

View Article


Option Explicit, I mean "Strict" switch...

I have been waiting for this feature for quite a while.Setting Visual Basic's "Option Explict" statement like switch in PowerShell.The Magic Word is..Set-PSDebug -StrictUpon executing the command,...

View Article

PowerShell RC1 Updates

Because of some issues discovered, PowerShell team has released an updated version of PowerShell RC1.The links to download sites can be found on the Windows PowerShell blog home pageTags :...

View Article

PowerShell Del.icio.us bookmarks

I was fed up with all the favoriates I have about PowerShell links and decided to put'em all on my Windows Live Favoriates site but I had some difficulties managing/adding contents to the site.I just...

View Article

Image may be NSFW.
Clik here to view.

Extending TabExpansion function

EDIT:* Changed "new" to "New-Object"(Thanks Martin and Mow) in the source on PasteBin.com and jEdit IDE comments, "#{{{", "#}}}" are gone.Moreover, there is a little bit of change on Mow's tab...

View Article


Extending TabExpansion function Part 2

EDIT2*:Pastebin.com site's been down for a while so pasted the colorized source on the bottom...EDIT*: Modified the source a bit but no functional changes madeSimply changed name of Script...

View Article

Image may be NSFW.
Clik here to view.

"Prompt" function

EDIT2*:Well, That weird out-of-order registration of commands in history is not so funky any more after reading Bruce Payette's post on Microsoft.Public.Windows.PowerShell NG..."Command that's creating...

View Article


Getting Services associated with a Process via PowerShell (.NET Type Extension)

On a recent Microsoft.Public.Windows.PowerShell NG (Newsgroup) posts, Andrew Watt has asked for an "Equivalent [cmdlet] for tasklist /svc".Luckily, Abhishek has posted a blog entry concerning that very...

View Article

Domain Names

EDIT*: great, both domains are working properly~Uhm, Just bought two domain names.Here is how I will forward my new domains.PsObject.com: to this current blog...

View Article


Extending TabExpansion function Part 3

EDIT*: According to /\/\o\/\/'s advice(refer to comment's section), i have modified the previous source to use Get-Help instead of Get-ChildItem to retrieve available about_ help file names. (BTW, i...

View Article

Windows Desktop Search Powershell Cmdlet by Sean McLeod

Great stuff!A cmdlet, Get-WDS (in SnapIn) that searches WDS(Windows Desktop Search) indexes is born...Mr. Sean McLeod(the author) Newsgroup post on microsoft.public.windows.PowerShell can be found...

View Article

Re-inventing the wheel for fun.

I was going through Community-Submitted Scripts Center on Microsoft TechNet and came across a script named, "BackupFiles.ps1" by Greg Lyon.The script is functional and works.But I didn't like the fact...

View Article
Browsing all 25 articles
Browse latest View live




Latest Images