For some reason this struck me as funny… Got it when I went to view the WordPress stats for my blog…
Ha Ha – “408 error”
PowerShell Confirm Preference
I seem to run into an issue when I run some PowerShell scripts where I get prompted at each line of the script for confirmation. That can get really annoying, so I have to look up how to prevent that behavior. Thankfully, there is already some good information out there on how to do that:
When confirmation is turned on by $ConfirmPreference, you can turn it off for any individual cmdlet invocation using "-Confirm:$false". You can also use "-Confirm:$false" to turn off default confirmation for high impact cmdlets such as Removing a Mailbox. Another way to turn off confirmation is by setting $ConfirmPreference to "None"; you can limit the effect by setting $script:ConfirmPreference etc, see "get-help about_scope" for more details.
For more details and options besides just turning it off, go see the original post:
Servers in Domain
At some point, I had a desire to list all the computer accounts for any server OS in Active Directory. I am pretty sure that I did a search and found the script below, but I don’t remember where, so whoever wrote it doesn’t get credit this time…
$strCategory = “computer”
$strOperatingSystem = “Windows*Server*”$objDomain = New-Object System.DirectoryServices.DirectoryEntry
$objSearcher = New-Object System.DirectoryServices.DirectorySearcher
$objSearcher.SearchRoot = $objDomain$objSearcher.Filter = (“OperatingSystem=$strOperatingSystem”)
$colProplist = “name”
foreach ($i in $colPropList){$objSearcher.PropertiesToLoad.Add($i)}$colResults = $objSearcher.FindAll()
Write-Host $colResults.count
foreach ($objResult in $colResults)
{
$objComputer = $objResult.Properties;
$objComputer.name
}
If you change the $strOperatingSystem = “Windows*Server*” to something like $strOperatingSystem = “Windows*” it will return all computer accounts that have “Windows” in the Name field on the Operating System tab of the properties of the AD object:
TechNet wiki…
So a TechNet wiki is coming, as stated by Keith Combs here:
three big things we focus on for all TechNet scenarios are Content, Discoverability, and Participation. We really want to invite participation from everyone and what better way to combine that with discovery and content than to use Wiki technology?
Later this year TechNet and the Server & Cloud Division will partner to launch the new TechNet Wiki.
…
We believe a public wiki for technical content on TechNet has the potential to be a big step forward in all three areas:
- For content, while Microsoft teams write some great content, we cannot possibly author all the content customers need to be successful, and a wiki that offers content from the community will increase the breadth and depth of technical content available for IT Pros.
- For participation, the wiki is a great new way for any IT pro to create and share technical knowledge, engage with other technical people and with Microsoft, and build an identity and reputation within the TechNet community.
I used the word "potential" above because Microsoft cannot succeed with the TechNet Wiki on its own – success ultimately depends on the direct engagement, support, and ongoing feedback from the IT community.
I am not sure how I feel about this. I like Wikipedia, and OFTEN reference it for information on non-work related topics. We use a SharePoint wiki for a lot of our documentation where I work, but I don’t find it to be as useful as I would like, because for some reason, I don’t like the interface. One of the big issues I have with it, is the inability to insert pictures directly in the article during the creation of the article. You have to upload the picture (such as a screenshot) separately and then link to it. That doesn’t seem very efficient to me.
With this blog, I use Windows Live Writer. It allows me to take a snip like this:
and paste it right in the text. When I publish, it is auto-magically uploaded and linked to my post. I think the other issue that I have is that I am afraid I would take it personally if someone felt the need to correct something I posted to a wiki.
I guess I am going to have to work on that. Both for the wiki at work and (maybe) for the TechNet wiki. There are those occasions when I actually have useful knowledge to share…
Influencers Blog
So the System Center guys have provided a place for people who work with System Center products to see a conglomeration of posts from various professionals who have registered to Blog about System Center products. How fun…
Blog Posts by System Center Influencers
Below are the most recent posts from several of the members of the System Center Influencers Program. Note that Microsoft does not review the content or endorse it in any way; we present this content in a feed form for your information and convenience. (In the event that the feed refuses to render due to the flakiness of the third-party feed service, simply use the feed embedded in the RSS icon above.)
Nexus SC: The System Center Team Blog : Blog Posts by System Center Influencers
An online pack already exists…
Situation: I have a 32bit file server running Windows Server 2003. I have a new 2008 R2 (x64) file server running on Hyper-V. Did I mention that the R2 server is on Clustered hosts?
This is all simple. Just drop the LUNs from the file server, give them to the cluster and assign them as pass through disk to the guest OS. Simple…
Except, I kept getting the following errors when I try to do the import:
An online pack already exists.
The operation failed, because an online pack object already exists.
The provider encountered an error while merging two packs.
I mean really… what does all that mean. I couldn’t find anything pertinent in my searches, I tried working in Diskpart, and got some of the same errors.
After lots of searches, I couldn’t find anything to help. So I opened a ticket with Microsoft. I got a very helpful person who told me that it basically sounds like a driver issue, but he couldn’t say for certain. He couldn’t find much on it either.
So on a whim, I moved my test LUN from my production file server to another 2003 server. That worked just fine, so I then moved it from there to the 2008 R2 machine that I had been working with. That worked just fine. Weird…
So I checked the driver for the production file server:
and compared that to the other 2003 server:
As you can tell, the culprit seems to be an outdated driver on the current file server. Seems I don’t keep things as up to date as I should.
Error installing Integration Services on Hyper-V VM
I was trying to change from a “Legacy Network Adapter” to a “Network Adapter” on one of my Hyper-V VMs. I added the “Network Adapter” and removed the “Legacy Network Adapter”, and started the machine up. When the machine came up, it wouldn’t connect to the network. Having seen this before I knew exactly how to fix it. Run the Integration Services install again. I did that, and got:
An error has occurred: One of the update processes returned error code 61658
So, being the smart guy that I am, I rebooted and tried again. Same result. The hits I got on google suggested that I was still running an CTP or Beta, but I am running the RTM version (2008 Hyper-V, but not R2 on this one).
I was logging into this machine with a Domain account, but it wasn’t on the network. We use some restrictions on the server desktops and redirect application setting and such, so I thought that might be related.
Here is what worked:
I added back the Legacy Network Adapter (leaving the non-Legacy adapter as well)
I installed integration services again (and it worked just fine)
I removed the Legacy Network Adapter
Now the machine is working just as expected.
Error installing DPM 2010 Beta
I was installing the DPM 2010 Beta (finally) and had an issue trying to get the SQL 2008 to install. Finally figured out that I had the install files stored too deeply in a network share. I figure this out by running the SQL install directly and when it when to check prereq’s it had an error on one section and when you click for more info this is what you get:
Rule "Long path names to files on SQL Server installation media" failed.
SQL Server installation media on a network share or in a custom folder can cause installation failure if the total length of the path exceeds 260 characters. To correct this issue, utilize Net Use functionality or shorten the path name to the SQL Server setup.exe file.
So, I moved it to a shorter path and it installed just fine.
Data Protection Manager 2010
So I am a bit late realizing this, but the Beta for DPM 2010 is available now on the Connect site. I haven’t read anything on it yet, so mainly I am just posting this to make myself look into it.
https://connect.microsoft.com/Downloads/DownloadDetails.aspx?SiteID=840&DownloadID=22070
How to remove a Persistent Reservation on a DS4700
We use a couple of IBM DS4700 storage controllers at my work, and I had one configured with a Windows 2008 Hyper-V cluster. The cluster was for testing (I am building a new one on R2 for production) and when I went to remove everything that had been used for testing, I came up against a problem:
Error 219 – The operation cannot complete because the logical drive has a persistent reservation placed on it. Please release the reservation at the host and then retry the operation.
Well, maybe I should have told the cluster to go away before I started deleting the storage, but I didn’t so, that seemed to be a bit of a problem. I did some google searching, and that was very frustrating, because although I did finally find a reference to it, the reference seemed to allude to the necessity of calling IBM support to correct the problem. If you found this post, and you are having the problem, please be comforted by the fact, that you DON’T have to call for support. I am running Storage Manager 10 and the latest firmware, and if you go to the Advanced –> Maintenance –> Persistent Reservations… you get this:
and if you click in the “View associated registrations” box it will show you which host/adaptor holds the reservation. But the really cool part is you can highlight the LUN you want to remove the reservation from and click “Clear”.
