Backs up exchange to a local disk, then copies local files onto a network drive for replication/archive. E-mail’s resulting log files.

Script is generic, parameters set it for local environment. Script will automatically find Storage Groups and Stores for backup and so will automatically adjust if you add/subtract one. Parameters are: <local backup path> <network backup path> <SMTP server> <e-mail from address> <e-mail to address>

Take code and paste into a file named something like AwesomeExchangeBackup.ps1 Your scheduled task would look like:

Over the years I have been working with computers I have had several people explain to me that they like their PC because it allows them to make choices about what they want. This is always in relation to Apple products where you have… less choice. I get it, I am a techie and I love the details of getting something to work just right.

But… Your average person is not interested in these choices. A typical computer user is much like the average car driver. The car and the computer are a tool, a vehicle if you will, to accomplish the goal of arriving at point B, browsing the internet, communicating with people.

Its a tool.

Those who want choice, who want an open market rarely see the balance of what that offers. Recently I was told that Android is a better product than the iPhone because you are not being told what applications are acceptable… and yet:

Facebook is making a lot of inroads into “authenticating” – that seems to be their new direction and people are easing into that a little too easily… I get the value of tracking but I trust facebook slightly less than I do Google… tools to warily use… A hypnotist will tell you “I can’t make you do anything you don’t want to do…” the rest of the sentence is “But I can make you want to do anything:” Google says “Do no harm” and I generally think the end of that sentence is “That anyone can report on”… facebook has a young and blaze attitude so far… which is scary when you are now authenticating your comments at CNN and others via your facebook account. I can even connect it up to my work e-mail account… amazing what FB can tell about an individual… more personal than Google since people give it directly rather than having to gather it…

Looking to add a Windows Active Directory (AD) security group to a series of workstations and don’t have AD policy set up yet? Here is some quick and dirty code to do it.

This assumes you are running with security credentials that will allow you to do this (i.e. Domain Admin) and you will need to edit the Domain (constant MyDomain) and the AD group you want (Constant MyADGroup). It reads the list of workstations you wish to do this to from a text file c:\testfile.txt

Not lookin for pretty here, just looking for getting it done. … and get policy set up for goodness sakes!

Techie blog for me to remember since I did this before after lots of research and was frustrated when it happened to me again and I could not find the command – which means there is a dearth of comments about it on the internet. If you find this may it be exactly what you are looking for… it will be next time I forget.

scenario:
Too many boring details in the history of why – and I have already written too much – odd considering. The zfs pool I had needed a disk replacement and here of the story of how I finally got it working.

But it is not clear what the rights are to what is posted there. Nifty idea but I would prefer to keep code local. For the simple fact I would prefer a reference by anyone who might use any of what I post.

viewed with WordPress tags, my code would look as such:
When I put it in it has all indentations proper.

Function MachineUp (strComputer)

Dim objPing
Dim objStatus

Set objPing = GetObject("winmgmts:{impersonationLevel=impersonate}")._
ExecQuery("select * from Win32_PingStatus where address = '"_
& strComputer & "'")
For Each objStatus in objPing
If IsNull(objStatus.StatusCode) or objStatus.StatusCode <> 0 Then
MachineUp = False
Else
MachineUp = True
Exit For
End If
Next
End Function

This works but the intention is to be helpful, not sloppy.

And so I will search on hopeful of a simple plug-in that will help.

Edit – After playing with it some more I have the indentation but it is still not clean…