Add to Technorati Favorites
Welcome to ThePowerShellGuy.com Sign in | Join | Help

MOW PowerShelled Blogitems Index : Augustus - September 2006

This is the Third entry, of a series of posts indexing the PowerShell Blogitems on my Old Blog /\/\o\/\/ PowerShelled

 it covers Augustus and September, but I left out the 11 part Active Directory Series I will cover them in a separated post.

 

BlogIndex /\/\o\/\/ PowerShelled October - November 2006

 

PowerShell RC2 and Active Directory

PowerShell RC2 and Active Directory Part 2

Changes to Active Directory Support in RC2 (ADSI wrapper)

As you have PowerShell 1.0 (or beta RC2 ) Installed all my AD post will not work anymore, as there is an Wrapper added to ADSI (DirectoryEntry ) object,This wrapper is very confusing, and I still really do not like it (See for motivation Part2 of the series), but all is fixable if you read the explanation in this posts you can get everything working again.

The examples in my AD series, will most of the time not work anymore, most of the things discussed will not seem to be there (they are still there  but hidden in the PSBase property)  , so if you did not do AD in PowerShell before, The series will be hard to follow, as a lot of the methods and properties used seem to be not there anymore. I will explain what has happened in this posts and give the ways to solve this.

 

PowerShell : Hosting IronPython

PowerShell : Using IronPython to Connect to AD and list children

Hosting IronPython in PowerShell

How to host an IronPython runspace in PowerShell

I continued this with a new IronPython series (6 parts planned ) on this blog, Giving some more Usage examples

 

PowerShell Session video of Bruce Payette

Bruce Payette Discussing PowerShell on Lang.NET Symposium

Bruce Payette is a Developer in the PowerShell Team, and writer of the book PowerShell in Action If you do not have seen it yet this video os a must watch, For more andio and video links see also PowerShell VideoList

 

PowerShell : Learn about the HashTable Object and other Collections

Discussion of using HashTable and other collections in PowerShell 

In this ScripCenter Article : Sesame Script: The Dictionary Object , a Dictionary Object is discussed

In PowerShell we have a similar object called a HashTable that works almost the same and we also have other .NET Collection Classes we can use , so this concepts are also good to know mastering PowerShell,  but as an HashTable is used also in for example a Select statement for more info see PowerShell and Active Directory Part 5  the HashTable unlike many other things do not enumerate on the pipeline. this can be a catch Wmi-Help Part 1

In this post I will follow the Sesame Script Article with similar command in PowerShell and point out the PowerShell Specifics, be sure to read the part in the "Sesame Script" article completely first.

 

PowerShell : Setting SendAs permission in Exchange 2003 (AD)

Setting SendAs permission on a mailbox in Exchange 2003 (AD)

I will show here also how you can do this directly in AD using PowerShell, for as you have an Exchange 2003 environment and you need to do this, and so you can see the difference with and without the Exchange 2007 Cmdlet, 

Warning Changes needed for PowerShell 1.0 RTM :

$Mailbox.PSBase.get_ObjectSecurity().AddAccessRule($acl)
$mailbox.SetInfo()
 

 

PowerShell 

PowerShell

 

PowerShell : How Do I randomize a list, and remove some elements ?

Hey Scripting Guy ! Question oneliner I could not refuse ;-)

 

PowerShell : How can I tell whitch numbers are missing from a sequence of numbers found in a text file ?

PowerShell : Can you do that less cryptic ?

Another Hey Scripting Guy ! Question I could not refuse ;-)

In the first post I give the answer as a oneliner, and in the second post in a more verbose and readable way

to show the Difference.

 

PowerShell, Has my Dell a dangerous battery ?

Powershell, Has my Dell a dangerous battery Part 2 ?

 a PowerShell script to get the Battery Model and check it against the list of batteries

A PowerShell script using WMI to get the Battery Model of a Dell Laptop and check it against a list of affected batteries 

In the first post I use a fixed list, in the second post the script is updated to get the serials direct from the Dell site.

 

PowerShell Adding -verbose switch to functions

an example how to add a Verbose switch to a funtion

, so you can override the Global verbose setting for a function like you can with a CMDlet :

 

PowerShell Orphan share remover Tool (Update)

PowerShell Script to clean Orphan Shares

This script can be used remote (using remote Registry and WMI )

I needed to clean some Orphan Shares on our servers, but when I did lookup the MSH script, I make last year I found that the stats did not work anymore in PowerShell, also it had a boolean parameter, since we have a Switch argument now in PowerShell that would be better,

 

Windows PowerShell Video: Next Generation Command Line Scripting

Jeffrey Snovers TechEd 2006 session

For more andio and video links see also PowerShell VideoList

 

Enjoy,

Greetings /\/\o\/\/

Published Thursday, February 22, 2007 6:33 PM by admin

Comments

No Comments
Anonymous comments are disabled