Google

Welcome to Carpe Diem: Flaphead@Home Sign in | Join | Help

Carpe Diem: Flaphead.com

Seize the Day

News


  • Add to Technorati Favorites <script type="text/javascript" src="http://technorati.com/embed/3ni3q36ikc.js"> </script>
    This information is provided "AS IS" with no warranties, and confers no rights. Also some of the information contains my views and thoughts.
    <script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"></script>

    Add Me! - Search Engine Optimization

    I heart FeedBurner

Browse by Tags

All Tags » PowerShell   (RSS)
Accessing remote registry with #Powershell
That was a challenge. So I have a script that "pings" vcentre host to make sure they are working okay. Part of the script connects to the registry and checks ODBC to get the SQL server that is used. So normally this works: $VCServer = "VCServer" Read More...
Posted: 03 June 2010 13:25 by Paul Flaherty | 1 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Windows #Powershell Bits
Been stuck in a meeting and wanted to look a bit interested in that I was taking notes, so I have look around Powershell on my Windows 7 laptop. Found some kewl stuff.  Lets start with: Get-Hotfix The Get-Hotfix cmdlet gets the hotfixes that have Read More...
Posted: 28 April 2010 05:29 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#Powershell script to move #Exchange 2010 Databases back to Perference 1
#Exchange2010 So if you paying attention and saw in my previous post, you can check the database ActivationPreference. [ #Powershell script to check #Exchange 2010 Database Perference ] Well this script goes one step further and actually moves a database Read More...
Posted: 14 April 2010 13:20 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#Powershell script to check #Exchange 2010 Database Perference
#Exchange2010 So we all should know about Exchange Server 2010 Database Availability Groups (DAG).  Now when you add server to a DAG you assign an ActivationPreference number to each server. The ActivationPreference parameter value is used to break Read More...
Posted: 14 April 2010 13:15 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#vmware vSphere PowerCLI Commandlet Poster
#Powershell Funky  … http://d3planet.com/rtfb/2009/10/06/vsphere-powercli-commandlet-poster/ Pablo Roesch , VMware, has put out a poster that their marketing department did, that has a listing of the PowerCLI commandlets.  This is a very useful Read More...
Posted: 13 April 2010 14:27 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#Exchange Server 2010: Administrator Audit Logging
#Exchange2010 #powershell You seen this, it’s well funky, and give you the opportunity to “monitor” what people are doing to YOUR exchange system! .. Administrator audit logging in Microsoft Exchange Server 2010 enables you to create a log entry each Read More...
Posted: 11 April 2010 11:06 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#Powershell and Send-MailMessage cmdlet
#Exchange2010 - Found this and it’s damm handy and what's cool is that its a Windows Powershell v2 thing and you don't need Exchange :-| Source: http://www.howexchangeworks.com/2009/11/send-emails-easily-using-powershell-v2.html   -and- Source: http://technet.microsoft.com/en-us/library/dd347693.aspx Read More...
Posted: 09 December 2009 14:29 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#Exchange 2010 Training Day 5
#Exchange2010 … Last day … Check it link for more details around RBAC and role assignments .. http://technet.microsoft.com/en-us/library/dd298183(EXCHG.140).aspx I love this cmdlet: Get-ManagementRoleAssignment –role “Mailbox Search” –GetEffectiveusers Read More...
Posted: 04 December 2009 14:57 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#Exchange 2010 Training Day 1
#Exchange2010 … For the guys on the training here. The storage stuff is from a webcast by Matt Gossage on the 3th July 2009. its not bad and you can get a pdf of the slides too http://tinyurl.com/yhf538b Also check this out for a e2010 installation .. Read More...
Posted: 30 November 2009 16:58 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#Powershell Script to install #Exchange 2010 pre-requisites for Windows Server 2008 R2
Funky Source: http://www.bhargavs.com/index.php/powershell/2009/11/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2/ Even though installing pre-requisites on Windows Server 2008 R2 is simple and straight forward as described here Read More...
Posted: 27 November 2009 17:30 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
#PowerShell v2 is out for Windows Vista, 2003 and 2008
I was sleeping again .. but well done Christopher ;-) Source: http://chrisbeams.wordpress.com/2009/11/09/powershell-v2-out/ –and- http://support.microsoft.com/default.aspx/kb/968929 The Windows Management Framework includes: Windows Remote Management Read More...
Posted: 09 November 2009 14:49 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-MsxServerPLUS.ps1 v1.24
It’s been a while, but I have updated Get-MsxServerPLUS.ps1 aka Get-ExchangeServerPLUS.ps1. I changed the name as it was annoying me as it was conflicting with get-exchangeserver. Other updates are: v1.20 10 November 2008 : Changed the script name so Read More...
Posted: 13 July 2009 10:59 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007: List Activesync users
Okay do you know you can run Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true} to get a list of users that have an Activesync partnership. Now if you combine this with Get-ActivesyncDeviceStatistics you can get more details too.  Read More...
Posted: 21 May 2009 17:23 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Powershell Cmdlets for SCOM 2007 R2 (beta)
PsSnapin is called: Microsoft.EnterpriseManagement.OperationsManager.Client get-help * | where {$_.pssnapin -like "*Enter*"} | sort name | select name,synopsis | ft –auto Name Synopis Add-ConnectorToTier Configures an Operations Manager Connector Read More...
Posted: 12 May 2009 08:25 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Inherited OU Rights
Needed to check an OU structure to see if they have the good old “Include inheritable permissions from this object’s parent” checked. So knocked this up: $RootOU = [ADSI]”LDAP://<DC>:389/Full DN of OU” $ChildOUs = $RootOU.psbase.Children ForEach Read More...
Posted: 07 May 2009 15:27 by Paul Flaherty | 6 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Set an Existing Users password using Powershell
Was asked how to set an existing users password and here is how You need the FULL dn of the user (usually some like cn=user,ou=ou,dc=domain etc, etc) $xuser = [ADSI]"LDAP://<DC Name>:389/<Full DN of user>" $xuser.psbase.Invoke("SetPassword","Password2" Read More...
Posted: 06 May 2009 18:48 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Clone NTFS Permissions
I have done this before when moving log file locations in Exchange and it’s well cool and make life very easy! Source: http://powershell.com/cs/blogs/tips/archive/2009/03/24/clone-ntfs-permissions.aspx NTFS access permissions can be complex and tricky. Read More...
Posted: 21 April 2009 19:30 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Use PowerShell To Auto-Update Your Sysinternals
how cool is this! http://devcentral.f5.com/weblogs/Joe/archive/2009/04/17/use-powershell-to-auto-update-your-sysinternals.aspx Read More...
Posted: 21 April 2009 19:20 by Paul Flaherty | 0 Comments
Filed under: , ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2010 Beta1: Powershell CmdLets
Just a dump for my reference .. Snapin is called “Microsoft.Exchange.Management.PowerShell.E2010” get-help * | select name,pssnapin | where {$_.pssnapin -like "*exchange*"}  | sort name Add-ADPermission Add-AvailabilityAddressSpace Add-ContentFilterPhrase Read More...
Posted: 17 April 2009 10:04 by Paul Flaherty | 6 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Export non expiry password accounts
I’m doing requests now ;-) This script will dump a list of user accounts that have “Password never expires” checked $CurrentDomain = [System.DirectoryServices.ActiveDirectory.Domain]::getcurrentdomain() $Forest = $CurrentDomain.Forest.ToString() $Forest Read More...
Posted: 17 April 2009 09:45 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007 Cmdlets
Just a couple from today Test the service health for ALL of your E2k7 servers: Get-ExchangeServer | foreach{$_.name;Test-ServiceHealth} Start non running E2k7 services: Test-ServiceHealth | foreach{$x=$_;$x.ServicesNotRunning | start-service} I posted Read More...
Posted: 26 March 2009 16:26 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
targetAddress (updated)
This is is quite a cool property of an object ... The TargetAddress property specifies the delivery address to which e-mail for this recipient should be sent. So if you have played with the Quest Migration Tools you will know that this magic property Read More...
Posted: 11 March 2009 08:35 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007 Mailbox Growth
So I was asked is there a way to see how your mailboxes grow (You know who you are!) .. an interesting challenge for this time of the morning, but hey. Here we go, this script uses Get-Mailbox and the does a fudge to get the date only part from the whencreated Read More...
Posted: 15 January 2009 08:31 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Update-ConfigFiles.ps1
So inlight of RU5 I thought I would share this with you. So we know the issue with the .net framework and the Certicate Revokation List. This script updates the Exchange 2007 .config files inline with 944752 : Exchange Server 2007 managed code services Read More...
Posted: 24 November 2008 09:31 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Update Rollup 5 for Exchange Server 2007 Service Pack 1 (KB953467)
The whole universe knows by now that RU5 for Exchange 2007 SP1 has hit the streets. You can download it here: http://www.microsoft.com/downloads/details.aspx?FamilyID=652ed33a-11a1-459c-8ffe-90b9cbfe7903&DisplayLang=en Ninob over at the Exchange team Read More...
Posted: 24 November 2008 09:27 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
More Posts Next page »