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
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
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
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
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
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
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
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
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
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