Tim's Tech Repository

Where I keep my stuff
  • Home

Author: timmy8ken

Home | Articles posted by timmy8ken
Uncategorized

Catching Errors with Get-AD* cmdlets

May 20, 2016 / timmy8ken
I’m putting this here for reference, but the idea comes from Richard Siddaway’s blog post: Error trapping when getting AD objects. When trying to discover if a list of old VMs had AD accounts I was getting errors when the account did not exist: Get-ADComputer : Cannot find an object
Continue Reading
Leave a comment
Active Directory, Group Policy, Powershell

List All Group Policies not Linked to an OU

February 2, 2016 / timmy8ken
I am currently in the process of tidying up an organisations AD structure and part of the tidy up is the Group Policy structure. The organisation is about 500 people, but they have around 70 GPOs and a lot of them are not even linked to an OU. To find
Continue Reading
Leave a comment
Uncategorized

Dell iDRAC Reset

August 26, 2015 / timmy8ken
Whilst working on a Dell iDRAC Virtual Console Internet Explorer crashed. This left my virtual console session open and I couldn’t connect because sharing was not allowed. I connected to the iDRAC via SSH, logged in using the same username and password I access the web interface with (obviously getting
Continue Reading
Leave a comment
Dell, VASA, VMware

Registering EqualLogic VASA Provider with VSM 4.5

June 25, 2015 / timmy8ken
I am in the process of configuring a new VMware cluster using vSphere 6 and a Dell EqualLogic PS4210. So that I can leverage the new virtual volumes from VMware I have installed the the Dell Virtual Storage Manager 4.5. Part of the installation process is to register the VASA
Continue Reading
Leave a comment
Uncategorized

Remove the Last Public Folder

June 16, 2015 / timmy8ken
After a migration to Exchange 2013 I was trying to remove the public folder from the Exchange 2010 server and was getting an error stating that the Public Folders had a replica. There were no replica’s on this server, there was only ever one Exchange 2010 server and the new
Continue Reading
Leave a comment
Uncategorized

Set Fortigate 100D Dedicated Managment Interface

June 16, 2015 / timmy8ken
The Fortigate 100D’s dedicated management interface is not enabled by default, the following commands will enable the interface, set the default gateway and then set the IP address. The ‘show sys dedicated-mgmt‘ will return nothing if the interface is not configured. Enable the Dedicated Management interface FG100D # show sys
Continue Reading
Leave a comment
Dell, Dell Networking OS, Networking

Setting Day Light Savings on Dell Networking Switches

June 16, 2015 / timmy8ken
Obviously the web GUI for the Dell networking devices were designed in the Northern Hemisphere, because if you try and set the day light savings times for a southern hemisphere location, like Sydney, you will get an error saying that daylight savings end time has to be after the start
Continue Reading
Leave a comment
Exchange, LogParser Studio

LogParser Dumping ground

June 2, 2015 / timmy8ken
The following is an area where I will be dumping LogParser scripts. The format works with Log Parser Studio. Return all senders (IP and reverse Lookup) through Receive Connector SELECT EXTRACT_PREFIX(remote-endpoint,0,':') AS RemoteIP, REVERSEDNS(EXTRACT_PREFIX(remote-endpoint,0,':')) as Name, count(*) AS hits FROM '[LOGFILEPATH]' where data LIKE '%EHLO%' GROUP BY RemoteIP ORDER BY
Continue Reading
Leave a comment
DNS, Windows Server

File Share Aliases and SPN

June 25, 2013 / timmy8ken
The site I am work at right now was testing their DR environment last week and the test failed because non of their DR file shares were working. They do a SAN to SAN replication of the data to the DR file sever and then that one server hosts all
Continue Reading
Leave a comment
Powershell

Convert DateTime string back into DateTime

June 19, 2013 / timmy8ken
In a script I was writing a time stamp to a file, when the script ran again I wanted to check that the time was more than 24 hours. I used the following to convert the string back to a datetime. 1 2 3 $dateTime = get-date -Format yyyyMMddhhmmss  
Continue Reading
Leave a comment

Posts navigation

1 2 Next

Proudly powered by WordPress and Designed by Solwin Infotech