windowsPowershellFileLogging checks if a file exists, creates it if not checks if the directory exists, creates if not writes todays date and time into the file writes user input into the file