Started a new series on SearchWindowsServer
I started a monthly column on http://searchwindowsserver.techtarget.com
Here is the first article: What makes Windows PowerShell unique?
tshell :: Jan.06.2010 :: All :: No Comments »
I started a monthly column on http://searchwindowsserver.techtarget.com
Here is the first article: What makes Windows PowerShell unique?
tshell :: Jan.06.2010 :: All :: No Comments »
tshell :: Dec.30.2009 :: All :: No Comments »
I had a few minutes tonight so I decided to have a little fun. I am stopping now before this becomes a new project ![]()
Below is the code:
Clear-Host
Write-Host
while($true)
{
$oldpos = $host.ui.RawUI.CursorPosition
Write-Host " *" -ForegroundColor ($colors | get-random)
# Row One
Write-Host " *" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random)
# Row Two
Write-Host " *" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random)
# Row Three
Write-Host " *" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random)
# Row Four
Write-Host " *" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random)
# Row Five
Write-Host " *" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random)
# Row Six
Write-Host " *" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random) -nonewline
Write-Host "*" -ForegroundColor DarkGreen -nonewline
Write-Host "*" -ForegroundColor ($colors | get-random)
# Stump
Write-Host " *** " -fore DarkGreen
Write-Host " *** " -fore DarkGreen
$host.ui.RawUI.CursorPosition = $oldpos
sleep .40
}
Write-Host
tshell :: Dec.10.2009 :: All :: 2 Comments »
Almost done with my new and improved AD replication script. If you are interested in giving it a shot drop me a line via the contact form or just leave a comment.
NOTE: It does make a canary change in AD. It sets the value of wWWHomePage on the Users container to a datetime stamp.
tshell :: Dec.03.2009 :: All :: 8 Comments »
Details here:
Powerscripting Podcast
tshell :: Nov.12.2009 :: All :: No Comments »
I released a private beta a little bit back but this is an open beta (and there is a whole bunch more in it.)
How to Install
————–
Report bugs (please)
—————————
A little taste of the 88 cmdlets
——————————
Even added a whole suite of Registry functions
———————————————
Hope you find use for these and please provide feedback. Thanks!
tshell :: Nov.11.2009 :: All :: No Comments »
Windows Management Framework, which includes Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0, was officially released to the world this morning. IT Professionals can now easily manage their Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 machines through PowerShell remoting.
Click this link for the list of packages for each OS: Description of the Windows Management Framework on Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008
tshell :: Oct.27.2009 :: All :: No Comments »
Well… yesterday was the day! With the GA (general availability) of Windows 7 Powershell v2 became official. To celebrate the Powerscripting Podcast guys had a launch party and it was awesome. The Distinguished Engineer formally known as Snover was there and let us in on some juicy info. I strongly recommend downloading the podcast when it become available… good stuff!
p.s. Look for XP/2003 release of Powershell v2 in the coming weeks (yes.. I said WEEKS!!!)
tshell :: Oct.23.2009 :: All :: No Comments »
I am releasing a beta of my BSonPosh module. This is a early release and may have some bugs that need to be tweaked. It may also be missing some functionality and help files. If you would like participate in the beta send me an email via my contact form and I will shoot you a copy.
I am looking for any feedback. Specifically if you think any thing is missing
Here is a list of the functions/cmdlets provided by the module:
—————————————-
ConvertTO-DistinguishedName
ConvertTo-DNSName
ConvertTo-Name
ConvertTo-NetbiosName
ConvertTo-Sid
ConvertTo-UACFLag
Format-XML
Get-ADACL
Get-ADSchema
Get-ADSchemaClass
Get-ADSchemaProperty
Get-Assemblies
Get-BSonPosh
Get-DC
Get-DCConnectionObject
Get-Forest
Get-RebootTime
Get-Routetable
Get-SiteLink
Get-SysInternals
Get-TraceFile
Get-Uptime
Get-WindowsUpdate
Import-BSonPosh
Invoke-uac
Invoke-WhoAmI
New-ADACE
Resolve-Host
Select-LargeFiles
Set-ADACL
Set-DCConnectionOption
Set-SiteLink
Start-TS
Test-ADReplication
Test-Host
Test-LdapFilter
Trace-LDAP
update-Gac
tshell :: Oct.13.2009 :: All :: 4 Comments »
The Scripting guys have a post over here: Hey, Scripting Guy! Can I Obtain a List of All Domain Controllers in My Domain?
That is one way but IMO this is easier and more DC specific data
On a side note: The AD Replication Module will have a cmdlet so you will be able to just do this:
tshell :: Oct.05.2009 :: All :: 1 Comment »