Author: giraffeit

Supply , installation and support

Powershell find details about server / workstations

We have been scoring the net in the quest for a powershell script so we can audit easily server specs , or workstation , both , or just a series of machines on a xls spreadsheet.   Here is the code. We arent claiming the glory for it ( Jesse Hamrick handy work quoted )…
Read more

find all shares in a domain

We have been looking for a tool to find all the shares in a domain. It can be used to remove potential virus threats , or discover what is out there. http://technet.microsoft.com/en-us/sysinternals/bb897442.aspx

VMware ESX network cloning

Ever wanted to clome your network settings across multiple ESX hosts ?   Execute this first : Add-pssnapin VMware.VimAutomation.Core -ErrorAction SilentlyContinue   That adds in the relevant Powershell tools save you having to use PowerCLi   Then copy and paste this into a .ps1 file   $srvconnection = Connect-VIServer (Read-Host “Please enter the name of…
Read more

Servers pending reboots via WSUS and email

We have been working on a WSUS project , and its coming to a close. The client required information on which servers required rebooting to complete a patch. We came up with this script   $csvfile=’drive WSUS Scriptsrebootpending.csv’ Try{ [void][reflection.assembly]::LoadWithPartialName(‘Microsoft.UpdateServices.Administration’) $wsus=[Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer() $computerScope = new-object Microsoft.UpdateServices.Administration.ComputerTargetScope $computerScope.IncludedInstallationStates = [Microsoft.UpdateServices.Administration.UpdateInstallationStates]::InstalledPendingReboot $wsus.GetComputerTargets($computerScope) | Select FullDomainName,IPAddress,RequestedTargetGroupName | Export-Csv $csvfile…
Read more

network speed limiting applications

We have stumbled upon a requirement for a clients site requesting a rate limited application. Outlook365 creates a new TCP/IP link for EVERY calendar that you have connected to , open or not. GiraffeIT have followed http://technet.microsoft.com/en-us/library/cc771283.aspx to set it up

Usernames from Email exchange 365

If you have email addresses and need to get usernames ( this is for the cloud based exchange 365 ) :- Open powershell and : Import-Module ActiveDirectory Also logon to Exchange environment Exchange 2010 in the cloud:- #Logon $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session…
Read more

WSUS – machines go then come back ?

One of our engineers wrote this little rough and ready script that recreates the  AccountDomainSid and SUSClientID in the registry. This is caused often by VMs that have been cloned from a template.   Requirements are that PSEXEC is installed in the same directory as where the script is ran. We tend to create folder…
Read more

Apple Airplay and Meru

GiraffeIT.com have found out that Meru and Apples airplay systems dont always play well together. Specifically, the configuration out of the box doesnt work at all. We have found the following settings of use :   Log into the GUI Click on the “Configuration” Tab Click on “System Settings” under “Devices” Click on “UDP Broadcast…
Read more

MDT Deployment

On our trawls to check that the internet is still working ( hey it wont surf itself! ) we found a well written accurate article on setting up MDT : https://docs.google.com/file/d/0B4kCRX1W10ZFNzNjMDM4ODEtZmQ5Zi00ODQ4LTgzOWUtM2Y5YzAxNjQxOWIz/edit?pli=1  

Reset home folders

GiraffeIT have often been asked how to reset home folders. It can be quite time consuming if done manually on a range of users. We have found, tested and sucessfully used the following scriptlet. Its a powershell script so dont forget to allow execution.    

Mandatory Profiles

GiraffeIT.com have been asked many a time to create mandatory ( or roaming as they used to be known ) profiles for various people. The benefits are small, rapidly loading profiles that end users cannot write back to. 1.) Make a local user on the server 2.) Make the user member of the local administrators…
Read more

Preparing your desktop delays

GiraffeIT have been investigating a curious issue where no matter what server load is the profile that is loading ( a mandatory windows seven on since you ask ) is taking an age to get “past” preparing your desktop. We moved the profiles to different servers, we disabled DFS namespaces ( crucially note that DFS…
Read more

Deploystudio

GiraffeIT have found a fantastic bit of free Apple image software that really helps us deploy multiple Apple mac images to multiple machines. Its called Deploystudio ( available here ) Its straightforward to get it installed, and works really really well. Had a few minor snags ( mostly to do with clients errant DNS servers )…
Read more

NetVol not replicating, yet GPOs are ?

We were called out today for a job where a Domain controller ( DC ) was responding to requests , but only really, really slowly. Hit an alternative DC and it logged you on at the speed of light. Some digging was involved and GiraffeIT diagnosed that the netvol wasnt replicating. The fix wasnt too…
Read more

ActiveDirectory and Apple Schema Extensions

GiraffeIT.com have had a small increase in requests to get Apple products integrated closely with Active Directory to allow Single Sign Ons. Its not that difficult to do, but can “focus the mind” when doing schema extensions. Apple have quite unhelpfully removed the guide for doing this. Fortunatly we at GiraffeIT had a copy. Feel…
Read more

SOPA / Protect IP

We dont normally venture into the politics side of things here at GiraffeIT.com ,however this one has us a little bit worried. If you are unsure of what the fuss about SOPA / ProtectIP is about , have a look at this : SOPA / ProtectIP [FMP]http://giraffeit.com/protectip/SOPA.mp4[/FMP]    

DNS Scavenging

Happy new year ! A site I visited over the Christmas period was experiencing issues with DNS. There were no obvious faults other than an exceedingly large number of records in a somewhat small environment. I discovered that the DHCP lease time was set to 8 hours and that scavenging was not set at all.…
Read more

Printer Scripts for Windows Seven

I have been onto a site recently, and had issues with the Group Policy Preferences not applying to the printers. I found out that this was due to the time it takes the printer to respond to the request to be “mapped” and made default. I spent a few hours and hacked around some code…
Read more

iOS5

Updated a few of my iDevices tonight. No real revolution , just a miriad of evolutions.

DelProf2

GiraffeIT.com was called into a site to help diagnose some GPO not working quite how they were expecting. Long of the short is a locally cached copy of the profile was being stored on the local machines. There are a few settings you can use in Windows 2008R2 to prevent the cached copy staying on…
Read more

New Blog !

We hope to add more of GiraffeIT real world experiences in here. I hope to share some of the issues and solutions that the herd have met and overcome. GiraffeIT – sticking our neck out so you dont have to