The Shonk Project
Home arrow Scripts
Thursday, 09 September 2010
Main Menu
Home
News
Blogs
Scripts
Contact Us


Syndicate
Scripts
A Better Way to Take a XenApp Server Offline PDF Print
Written by Joe Shonk   
Monday, 08 September 2008

Recently, Andy Zhu published a PowerShell script that utilizes the undocumented CPSCOM to take a server “offline”.  I took a look at it and thought, “Wow, this is great.  I can use something like this for my maintenance scripts.”  So, I took Andy’s idea and created a vbscript version of the script.  Having this as a vbscript reduces the complexity and overhead of automating a PowerShell script.

Read more...
 
Delete Profiles Script v1.9 PDF Print
Written by Joe Shonk   
Friday, 29 August 2008

Hello,  I am happy to announce that v1.9 of the Delete Profiles script is ready for release.   Two new features have been added since v1.8.

New Features:

Inclusion\Exclusion List with wildcard support
Delete Profiles based off of Profile age

Read more...
 
Running PowerShell Scripts Out of the Box PDF Print
Written by Joe Shonk   
Monday, 21 April 2008

By default,  Microsoft disables the ability to execute PowerShell scripts out of the box.  Normally, one would need to manually change this policy to 'Unrestricted' before he or she is able to run scripts.

Read more...
 
The Under Estimated Value of the InStrRev Command! PDF Print
Written by Joe Shonk   
Wednesday, 19 March 2008

I was poking around the Microsoft site today and came across this cool little page that discusses converting VBScript commands to PowerShell commands .  All was going well until I clicked on the InStrRev command and found this ignorant comment, “To the best of our knowledge, no Scripting Guy has ever used the InStrRev command. (Or, if they have, they won’t admit it.)” and then following up with a “We don’t blame you. But here’s an example.”

Read more...
 
Delete Profiles Script Updated to v1.8 PDF Print
Written by Joe Shonk   
Monday, 07 January 2008

Wow!  I received and a lot of positive feedback on the initial release of the DeleteProfiles.vbs scripts and based on that feedback, I have a new version to share.

New Features:

CLI switch parser
Ability to run the script in Read Only mode
Console switch to output Log to the console screen
No longer forces a Log File to be created if one is not chosen
Three levels of logging (none, basic and verbose)

Here are some features that I am working for a future release:

Run script against remote machine
Alternate credentials for running script against a remote machine
Inclusion\Exclusion List with wildcard support
Delete Profiles based off of Profile age
Better error handling

Read more...
 
<< Start < Prev 1 2 Next > End >>

Results 1 - 9 of 15