def get_file_type(command: str) -> str:
    """
    Used to understand if a command run uses a .msi or a .exe installer / uninstaller
    #### Arguments
        command (str): The command to infer the installer type from
    Returns:
        str: The filetype of the installer infered from the command
    """

    # msiexe.exe is used to run a MSI installer, so we know it's an msi file
    if 'msiexec.exe' in command.lower():
        return '.msi'

    # Otherwise it's an executable (.exe)
    return '.exe'