Function ConvertTo-UnixTime {
   Converts a datetime value to Unix Time
   This function will return the unix time based on the unix epoch time. If no date is passed in the current date and time is used.
   The datetime value to return the unix time for
   Gets unix time for the current time
   ConvertTo-UnixTime -date "11/17/2017"
   Gets unix time for a specific date
   The int32 value of the unix time
      [Parameter(Mandatory = $false)]
      [datetime]$date = $(Get-Date)
   [int][double]::Parse((Get-Date ($date).touniversaltime() -UFormat %s))